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

Jacques Le Roux closed OFBIZ-2198.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Kathy,

It seems that you copied from R4. But you forgot to copy (at least in patch 
since you seem to get the right result)
        <set from-field="parameters.inventoryItemId" 
field="lookupFieldMap.inventoryItemId"/>
        <set from-field="parameters.productId" 
field="lookupFieldMap.productId"/>
        <set from-field="parameters.facilityId" 
field="lookupFieldMap.facilityId"/>
        <set from-field="parameters.locationSeqId" 
field="lookupFieldMap.locationSeqId"/>
        <set from-field="parameters.containerId" 
field="lookupFieldMap.containerId"/>

so the result was wrong when applynig your patch (1631 instead of 1000)

I came with a mix of the 2 code snippets. Please see revision 748589.

Thanks

> Inventory showing as 0/0 
> -------------------------
>
>                 Key: OFBIZ-2198
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2198
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: Demo System
>            Reporter: Josh Murphy
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: getproductinventorybyavailable.patch
>
>
> Inventory showing 0/0 in edit product and in facility -> inventory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to