LockCartToProcessOrder request mappings

The LockCartToProcessOrder communication checks the cart ID in the order details in WebSphere Commerce to verify that a draft order is created. Draft orders are created and the CREATE_DRAFT_ORDER.ON_SUCCESS event is triggered when the CSR pulls the cart. The event invokes the SCWC_SDF_LockWCShoppingCart service. The service locks the cart in WebSphere Commerce and calls the SCWC_SDF_LockWCShoppingCart_Internal service, which transforms the WebSphere Commerce message into Sterling Order Management format. When a CSR locks a cart, the CSR can work on the cart for the shopper and create an order for the shopper. The shopper cannot work on the cart.

LockCartToProcessOrder Request mappings
Sterling Order Management Path WebSphere Commerce Path
_ord:ProcessOrder/_ord:DataArea/oa:Process/oa:ActionCriteria/oa:ActionExpression@actionCode=Lock
Order/@StoreId _ord:ProcessOrder/oa:ApplicationArea/_wcf:BusinessContext/_wcf:ContextData
Order/@CartId _ord:ProcessOrder/_ord:DataArea/_ord:Order/_ord:OrderIdentifier/_wcf:UniqueID