IBM Support

Why does a custom Listener not change the Status of Bundle Parent when the corresponding shipment is invoiced?

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

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.3;9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22008697