You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2008/05/14 00:37:55 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 ]
Adrian Crum updated OFBIZ-1696:
-------------------------------
Attachment: locale_timezone_refactor.patch
locale_timezone_refactor.patch is a locale and time zone refactoring effort I'm working on. Give it a try and see if it solves this problem. It has solved a few others that I'm aware of.
> 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
> Assignee: Jacques Le Roux
> Attachments: locale_timezone_refactor.patch, ofbiz_1696.patch, ofbiz_trialbalance_german.png, patch_ofbiz_convert_locale.diff
>
>
> 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.