Motorprise buyers can create scheduled orders to be placed on a pre-defined schedule that does not require any actions from the user. They can create scheduled orders during the checkout process or through the My Account pages.

If a scheduled order requires approval, it is automatically sent to the approver at the specified interval with a “pending approval” status. Once it has been approved, the order is fulfilled automatically.

We used /atg/commerce/order/scheduled/ScheduledOrderFormHandler (an instance of atg.b2bcommerce.order.scheduled.ScheduledOrderHandler) to manage scheduled orders. This session-scoped component is responsible for verifying, creating, updating, and deleting the scheduled order.

 
loading table of contents...