You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Geisert (JIRA)" <ji...@apache.org> on 2008/03/07 18:07:46 UTC

[jira] Updated: (OFBIZ-1696) Decimal formatting messed up in Trial Balance with German locale

     [ https://issues.apache.org/jira/browse/OFBIZ-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Geisert updated OFBIZ-1696:
-------------------------------------

    Attachment: ofbiz_trialbalance_german.png

> 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 &gt;= 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.