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

Rishi Solanki updated OFBIZ-5373:
---------------------------------
    Attachment: OFbiz-5373.patch

Here is the patch which fixes the flow problem reported in the issue. Patch 
contains the fix in a way when order item update in the service 
'updateIssuanceShipmentAndPoOnReceiveInventory' will also change the 
OrderItemShipGroupAssoc.
Also handle the scenario if there are multiple OrderItemShipGroupAssoc records 
wrt an order item.

> If received quantity is greater then ordered quantity then order item 
> quantity update but order item shipgroup assoc quantity does not updated.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5373
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5373
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>            Reporter: Deepak Dixit
>            Priority: Minor
>         Attachments: OFbiz-5373.patch
>
>
> If received quantity is greater then ordered quantity then 
> updateIssuanceShipmentAndPoOnReceiveInventory(ShipmentReceiptServices.xml) 
> service update only ordered quantity and it does not update the 
> orderItemShipGroupAssoc quantity.
> Due to this createAsNewOrder and update order item functionality will be 
> affected.
> Steps to regenerate:
> - Create a PO with at least two item.
> - Receive first item and received quantity should be greater then ordered 
> quantity.
> - Now excess quantity will update on order item quantity and item will be 
> completed but shipgroupassoc quantity still old one.
> - Now update the order.
> - Completed order item quantity will be messed 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to