Figure 3-3 shows an order status request from WebSphere Commerce.Figure 3-3 Order status flow3.2.4 Order cancelA shopper can cancel an order if the order is in a state that allows cancellation. Once an order has been sent to an external system for fulfillment, the order goes through Note:The choice of using the push or pull approach of updating the order status is one of the enterprise architecture decisions.Portal StoreStruts StoreSales Center1. Get order statusUpdate order fulfillment statusSyncOrder - getShipmentDetailsSSFSWebSphere Commerce
52Selling and Fulfillment Solutions Using WebSphere Commerce and IBM Sterling Order Managementa number of transactions, such as picking, packing, and charging the payment method. At some point in this process, the order reaches a status after which it cannot be cancelled.Figure 3-4 shows the detailed steps for canceling an order from WebSphere Commerce. Figure 3-4 Order cancel flowThe order cancel steps are: 1.Check the order state.2.Cancel the order from WebSphere Commerce.3.The cancel order request is sent to SSFS with a status of returned to WebSphere Commerce.3.2.5 Order modificationA shopper can modify an order in a number of ways, either related to the order information or to the order item information. WebSphere Commerce allows, through the use of the Accelerator (a tool provided out-of-the-box with WebSphere Commerce to be used by internal resources, typically in a customer Portal StoreStruts StoreSales Center1. Check order state2. Cancel order3. Cancel orderchangeOrder - cancelMasterOrderUpdate order fulfillment statusSyncOrder - getOrderDetailsSSFSWebSphere CommerceNotes:•Send cancel order request to SSFS.•SSFS maintains the business rules to cancellation.
Chapter 3. Business scenarios 53service type of role), the following modifications to an order (additional order changes can be supported but might require customization):Changing the quantity of products in an orderChanging the purchase order number for an order in a B2B direct storeAdding a product to an orderRemoving a product from an orderSelecting another shipping address for an orderSelecting another shipping method for an orderChanging the total price of an orderEditing an order level adjustmentChanging the payment options for an orderSelecting another billing address for an orderAdding a comment to an orderFigure 3-5 shows the detailed steps for modifying an order from WebSphere Commerce.Figure 3-5 Order modification flowNote: As with order cancellation, it is a business decision as to when an order can or cannot be modified.Portal StoreStruts StoreSales Center1. Lock order2. Update order-Order details (address, etc.)-Order item details (quantity)4. Prepare cart for submission5. Submit cart3. Get Delta inventory availabilityGetInventoryAvailability - findInventory6. Reserve Delta inventoryProcessInventoryRequirement - reserveAvailableInventory7. Transfer OrderProcessOrder(Transfer) - changeOrderUpdate inventory availability