You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pierre Smits (Jira)" <ji...@apache.org> on 2020/04/02 13:29:00 UTC

[jira] [Updated] (OFBIZ-11431) InvoiceItem: uomID is wrongly defined

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

Pierre Smits updated OFBIZ-11431:
---------------------------------
        Parent: OFBIZ-11579
    Issue Type: Sub-task  (was: Bug)

> InvoiceItem: uomID is wrongly defined
> -------------------------------------
>
>                 Key: OFBIZ-11431
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11431
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: datamodel
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Priority: Critical
>              Labels: refactoring
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the InvoiceItem entity has the field uomId, per:
> {code:java}
>       <field name="uomId" type="id"></field>
> {code}
> per the demo data this field is used to capture the currency of the invoice item. This is, however, wrong. The currency for invoice items is set in the invoice entity record (with field currencyUomId. 
> The uomId in the invoice item is related to the quantity set, and must be correctly named: 'quantityUomId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)