IBM Support

LineType attribute of child Item is replaced with parent item's LineType on order cancellation or shipment confirmation

Troubleshooting


Problem

This issue is seen in the following scenario - 1) Create an Order with a bundle such that the bundle header has LineType = bundle_line and components have line type comp_line 2) Cancel the order The Line type of the components gets updated as bundle_line The same is seen when Shipment associated with the order is shipped (confirmShipment API) Update statement seen from the logs : update YFS_ORDER_LINE set LINE_TYPE = 'bundle_line',ORDERED_QTY =,LINE_TOTAL = ,CANNOT_COMPLETE_BEFORE_DATE =,PRICING_QUANTITY = ,MODIFYTS = ,LOCKID=,ACTUAL_PRICING_QUANTITY = WHERE LOCKID = ? AND ORDER_LINE_KEY= ?

Cause

During Order Cancellation, the bundle parent attributes are copied over to the components by design. We make use of "Bundle Component Line" Template to copy the attributes from bundle parent to component lines.

Diagnosing The Problem


Resolving The Problem


To resolve this issue, the attribute - LineType should be excluded from "Bundle Component Line" template.

Launch Applications Manager and navigate to Applications -> Application platform and load Process Modelling.

Right click on Order Fulfillment and hit Details to bring up the Fulfillment Process Type Details



The attributes will be excluded only from "Bundle Component Line" template which is internally used for copying attributes from bundle parent to component lines.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Maintenance","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22000416