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