Troubleshooting
Problem
Create a custom listener in the pipeline for bundle item and regular items to move the status of the order line from Shipped to Invoiced when the shipment invoice is created. When the shipment is invoiced, the corresponding orderlines are updated by the Listener. However the status of the orderline containing the bundle parent is not updated
Cause
The listener in bundle parent pipeline looks for changes in bundle parent line of shipment, but there is no bundle parent line in shipment, so this listener does not update bundle parent line of order. Bundle parent is just a summary line and no additional calculations are made on it.
This is expected behavior.
Instead of using listener in Sales Order bundle parent pipeline, use On_Status_Change event of listener in Sales Order pipeline, invoke a custom service that will change bundle parent line status to invoiced.
Resolving The Problem
Instead of using listener in Sales Order bundle parent pipeline, use On_Status_Change event of listener in Sales Order pipeline to invoke a custom service that will change bundle parent line status to invoiced when all the component lines are shipped
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22008697