CreateOrderOnSuccess request mappings

The CreateOrderOnSuccess communication maps the successful creation of an order in Sterling Order Management with HCL Commerce. When a shopper submits an order, the order is created in Sterling Order Management through a call to the CreateOrder API. Upon successful creation, the SCWC_SDF_createOrderOnSuccess service creates a message that is then transferred back to HCL Commerce. HCL Commerce receives the acknowledgment and updates the order status to "Successfully Transferred". This also updates the HCL Commerce promotion usage statistics through the FinalizePromotionCalUsage service.

createOrderOnSuccess Request mappings
Sterling Order Management Path HCL Commerce Path
EntryType = 'WCS'(WCS ChangeOrder Service)
Order/@OrderNo (if it is started with WC_) Change/ActionCriteria/ActionExpression@actionCode='Change'
Order/@OrderNo (if not started with WC_) Order/@CartId
Order/@OrderHeaderKey Order/OrderIdentifier/ExternalOrderID
EntryType = 'WCS'(WCS ProcessOrder Service)
Process/ActionCriteria/ActionExpression@actionCode='FinalizePromotionCalUsage'
Order/@OrderNo (if it is started with WC_) Order/OrderIdentifier/UniqueID
Order/@OrderHeaderKey Order/OrderIdentifier/ExternalOrderID
Order/@SellerOrganizationCode Order/StoreIdentifier/UniqueID(using ValueMaps.xml)