You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Michael Ende (JIRA)" <ji...@apache.org> on 2013/10/18 13:51:45 UTC
[jira] [Created] (OFBIZ-5359) Wrong Calculation of
AccountingQuantityDiff
Michael Ende created OFBIZ-5359:
-----------------------------------
Summary: Wrong Calculation of AccountingQuantityDiff
Key: OFBIZ-5359
URL: https://issues.apache.org/jira/browse/OFBIZ-5359
Project: OFBiz
Issue Type: Bug
Components: accounting
Affects Versions: SVN trunk
Reporter: Michael Ende
The calculation of the field 'createDetailMap.accountingQuantityDiff' is wrong in simple-method 'createAcctgTransForSalesShipmentIssuance'.
The current caltulation is:
${-1* costInventoryItemQuantity}
The correct calculation would be:
${(-1)* costInventoryItemQuantity}
The problem is that the function needs round breakets by -1 (calculation rule: multiplication and division first, then addition and subtraction).
--
This message was sent by Atlassian JIRA
(v6.1#6144)