CSC sends standard fulfillment notification messages for all changes made to the order. They are sent out in the form of the following ATG Core Commerce objects:
atg.commerce.fulfillment.PaymentGroupUpdate
atg.commerce.fulfillment.ShippingGroupUpdate
atg.commerce.fulfillment.GenericAdd
atg.commerce.fulfillment.GenericRemove
CSC uses the ATG Commerce OrderFulfillmentTools
API to create these objects. For example, when a new payment group is added, CSC calls the following OrderFulfillmentTools
API to generate the modification object.
createGenericAddValueToValueModification(Modification.TARGET_PAYMENT_
GROUP, pPaymentGroup, Modification.TARGET_ORDER, pOrder);
For new commerce items, shipping groups and payment groups CSC sends GenericAdd
messages. For updated commerce items, shipping groups and payment groups, CSC sends GenericUpdate
, ShippingGroupUpdate
and PaymentGroupUpdate
objects respectively. Commerce items are the only objects for which CSC sends GenericRemove
events. For updates made to other Order properties, CSC generates GenericUpdate
events.
All the events are generated by the clone edit handlers during the reconciliation process that occurs when an agent commits his updates from the order review page.