ChangeOrderOnSuccess request mappings
When an order is changed from Sterling Order Management or Sterling Call Center, order
price and promotion information is retrieved from HCL Commerce. The changeOrderOnSuccess event is used to
update promotion usage statistics in the HCL Commerce
Promotion Engine by calling CancelPromotionCalUsage or UpdatePromotionCalUsage.For
example, HCL Commerce promotion usage statistics are
updated when a promotion is now being applied or removed from an order.
Sterling Order Management Path | HCL Commerce Path |
---|---|
Process/ActionCriteria/ActionExpression@actionCode='UpdatePromotionCalUsage' | |
Order/@OrderNo (if it is started with WC_) | Order/OrderIdentifier/UniqueID |
Order/@OrderHeaderKey | Order/OrderIdentifier/ExternalOrderID |
Order/@EnterpriseCode | Order/StoreIdentifier/UniqueID (using ValueMaps.xml) |