[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locking Last Cost

I've jumped from SQL-Ledger 2.2.7 to 2.6.27 in hope that I would be able to use most stable version 1.2.9 but uploading the sql-ledger database to ledgersmb is not the way to go I think as I got a lot of error messages and could no longer long in into ledgersmb.

So, I deleted the database and reloaded a new one.
I've notice that Ledgersmb does not change the last cost in the database upon ordering or changing the exchange rate, that is good.

How to do upgrade?


On 09/29/09 18:54, Chris Travers wrote:
On Tue, Sep 29, 2009 at 5:10 PM, Joseph <..hidden..> wrote:

Is there a way to prevent Last Cost from changing when receiving an order;
or lock it down?

When I recorder a PO the cost is changing to average cost, I think.

And the average cost function in the app is mostly useless at the moment
too.  I expect to have this corrected for 1.3 as well.

However, if you want to, you can replace the lastcost() and avgcost()
functions in the db with ones that return this field from the parts

Best Wishes,
Chris Travers