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

Pierre Smits commented on OFBIZ-5335:
-------------------------------------

Having reverted the field definitions in form 
name="ListFacilityInventoryByProduct" in FacilityForms.xml to not include 
'<display type="accounting-number"/>' but plain '<display/>' in following field 
shows different format of the various numbers:

        <field name="totalAvailableToPromise" title="${uiLabelMap.CommonTotal} 
${uiLabelMap.ProductAtp}" widget-area-style="align-text"><display/></field>
        <field name="totalQuantityOnHand" title="${uiLabelMap.CommonTotal} 
${uiLabelMap.ProductQoh}" widget-area-style="align-text"><display/></field>
        <field name="quantityOnOrder" 
title="${uiLabelMap.ProductOrderedQuantity}" 
widget-area-style="align-right"><display/></field>
        <field name="minimumStock" title="${uiLabelMap.ProductMinimumStock}" 
widget-area-style="align-text"><display/></field>
        <field name="reorderQuantity" 
title="${uiLabelMap.ProductReorderQuantity}" 
widget-area-style="align-text"><display/></field>
        <field name="daysToShip" title="${uiLabelMap.ProductDaysToShip}" 
widget-area-style="align-text"><display/></field>
        <field name="offsetQOHQtyAvailable" 
title="${uiLabelMap.ProductQtyOffsetQOH}" 
widget-area-style="align-text"><display/></field>
        <field name="offsetATPQtyAvailable" 
title="${uiLabelMap.ProductQtyOffsetATP}" 
widget-area-style="align-text"><display/></field>
        <field name="usageQuantity" title="${uiLabelMap.ProductUsage}" 
widget-area-style="align-text"><display/></field>

An example is:
Fles 33cl       ea      21660.000000    21660.000000    0               2.888   
        21.660  21.660  


> Using type=accounting-number in form in facility generates wrong output for 
> inventory overview
> ----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5335
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5335
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Pierre Smits
>            Priority: Critical
>
> When using locale DE or NL several quantities (ATP, QOH and others) get 
> transformed wrong.
> E.g. a ATP of 250 for a product is 250.00 in locale EN or FR, but for DE and 
> NL the output is 250.000.000,00



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to