simon maskell created OFBIZ-5344:
------------------------------------

             Summary: Value of financial transaction is wrong after unit cost 
of item updated
                 Key: OFBIZ-5344
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5344
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: SVN trunk
            Reporter: simon maskell
            Priority: Minor
             Fix For: SVN trunk


The problem is not with the inventory items its with the financial transaction 
that gets created.

The adjustment that is created on the ledger should be quantity on hand for 
that item  * the difference of the adjustment.

What is actual happening in the ledger is only showing an adjustment of the 
difference between the old unit cost and the new one..

Here is the logic to follow

Choose Facility 

Select - Web Store Warehouse
Click from the menu - Receive Inventory

Enter Product Id GZ-8544
Click  - Receive Inventory
Quantity Accepted = 200
Per unit price = 1
ClickReceive 

This creates the item

Now update the cost per unit from 1 to 10

Go to Accounting
Organization GL Settings
Accounting
Accounting Transactions 
The top transaction should be the latest one
Click on it the value is 9 and it should be 1800

We have tested this with our accounts department and they are happy with the 
change.

If you try and update the demo data using the same logic it doesn't work as the 
InventoryItemDetail demo data doesn't contain the unit cost - Which may be a 
problem with the demo data. 

I have a patch which I will upload



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to