[ https://issues.apache.org/jira/browse/OFBIZ-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808921#comment-13808921 ]
Jacopo Cappellato commented on OFBIZ-5359: ------------------------------------------ Thank you Michael: your fix has been committed with the following revision numbers: trunk 1537023 13.07 1537025 12.04 1537026 11.04 1537023 > 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 > Assignee: Jacopo Cappellato > Attachments: patch OFBIZ-5359.txt > > > 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)