[ https://issues.apache.org/jira/browse/OFBIZ-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576280#action_12576280 ]
Jacopo Cappellato commented on OFBIZ-1696: ------------------------------------------ Christian, thanks for your tests and feedback. I am the first to admit that the data preparation code can be greatly improved. However, my vote would be to re-add the -Duser.language=en parameter to the starting scripts... now I remember that the parameter was not there just for the uilabels selections, but also to fix some numeric formatting issues... > Decimal formatting messed up in Trial Balance with German locale > ---------------------------------------------------------------- > > Key: OFBIZ-1696 > URL: https://issues.apache.org/jira/browse/OFBIZ-1696 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: svn trunk with clean-all run-install > Reporter: Christian Geisert > Attachments: ofbiz_trialbalance_german.png > > > This is the Trial Balance after one sales order (4 x GZ-1000) > Trial Balance > Gl Account Id Debit Credit > [120000] [120000] ACCOUNTS RECEIVABLE 4.317,00 $ > [140000] [140000] INVENTORY 300,00 $ > [400000] [400000] SALES 4.797,00 $ > [410000] [410000] DISCOUNTS ON SALES 48,00 $ > [500000] [500000] COST OF GOODS SOLD 300,00 $ > Gesamtsumme 43.170.780.000.000.000.000,00 $ 7.797.000,00 $ > (I'll attach this also as an image) > ACCOUNTS RECEIVABLE should be 43,17 $ instead of 4.317,00 $ > Strange, postedBalance is ok in GlAccountOrganization, it looks like the > following line messes it up: > <set field="absolutePostedBalance" value="${bsh:(postedBalance >= 0? > postedBalance: (-1)*postedBalance)}" type="Double"/> > If I start OFBiz with the English locale (-Duser.language=en) the Trial > Balance looks correct. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.