AddOrderItemComponentsCmd task command

The AddOrderItemComponents task command creates the components that are associated with a composite order item.

Task command

com.ibm.commerce.orderitems.commands.AddOrderItemComponentsCmd

Implementation class

com.ibm.commerce.orderitems.commands.AddOrderItemComponentsCmdImpl

Commands called

None

Possible callers

DynamicKitConfigurationAddCmdImpl

OrderItemUpdateCmdImpl

Behavior:

If order item id is passed in:
  • If the catalog entry id of the components is passed in:
    • Create the components in table OICOMPLIST and assign them to the specified order item
  • Else:
    • Move the configuration components to be components of this particular order item
Else,
  • If the catalog entry id of the components is passed in:
    • Create the components in table OICOMPLIST and leave it unassigned to any order item
  • Else,
    • Throw an exception