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
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.