Item Issuance does not work with MARKETING_PKG_PICK order items
---------------------------------------------------------------
Key: OFBIZ-4540
URL: https://issues.apache.org/jira/browse/OFBIZ-4540
Project: OFBiz
Issue Type: Bug
Components: order, party
Affects Versions: SVN trunk
Reporter: Craig Ambrose
There is a problem when I "quick ship" an order that contains one or more
MARKETING_PKG_PICK. I used the product in the eCommerce demo data,
GZ-BASKET-PICK. When I submit the order and then do a "quick ship" I end up
without an OrderShipment entity even though the OrderItemShpGrpInvRes rows are
removed, the ItemIssuance rows are created, the OrderItem rows are marked
completed and other data is affected.
I believe the problem is with the "issueOrderItemShipGrpInvResToShipment"
service. It doesn't seem to know that an OrderItem can represent multiple
ShipmentItems and it tries to determine, wrongly, that the OrderShipment needs
to be removed and will be replaced.
What I expect to happen is that an OrderItem that is a MARKETING_PKG_PICK would
end up as N ShipmentItem rows, one for each of the products that make up the
bundle. And that would end up with multiple OrderShipment rows for the
particular orderId/orderItemSeqId two-ple
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira