You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ismail (JIRA)" <ji...@apache.org> on 2017/02/20 10:13:44 UTC

[jira] [Commented] (OFBIZ-9222) invoice.decimals should changed in 3 digits

    [ https://issues.apache.org/jira/browse/OFBIZ-9222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874310#comment-15874310 ] 

ismail commented on OFBIZ-9222:
-------------------------------

Hi Mr. Moatasim 
to solve this problem you can following this steps : 
1- go to accounting-entitymodel.xml in datamodel folder , and in 

<entity entity-name="AcctgTransEntry"
            package-name="org.apache.ofbiz.accounting.ledger"
            title="Transaction Entry Entity">
change from 
<field name="amount" type="currency-amount"></field>
<field name="origAmount" type="currency-amount"></field>
 
Change To
<field name="amount" type="currency-precise"></field>
<field name="origAmount" type="currency-precise"></field>
 
Note : you can see FieldType between Ofbiz data tybes and oracle data types in the path framework\entity\fieldtype


> invoice.decimals should changed in 3 digits
> -------------------------------------------
>
>                 Key: OFBIZ-9222
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9222
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>         Environment: oracle database 12c
>            Reporter: Moatasim Al Masri
>
> I changed arithmetic.properties as below , when I create purchase invoice AP its display in invoice search correct with 3 decimal , but in sales invoice AR still display in 2 decimal, also in sales & purchase invoice when posted, display in 2 decimal not 3 decimal in Accounting Transactions!!!
> invoice.decimals = 3
> invoice.SALES_INVOICE.decimals = 4
> invoice.PURCHASE_INVOICE.decimals = 4
> invoice.rounding = ROUND_HALF_UP



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)