The ReleaseToFulfillment controller command is invoked by the WebSphere Commerce scheduler. For a given store, it gets the list of orders to release. For each of these orders, it checks to see if the payment is still valid. For orders with valid payments, it releases the orders to fulfillment and updates the database with this information.
Environment variable name | Description |
---|---|
storeID | The store upon which the command runs. |
Behavior
For the given store, get the list of orders to release. For each of these orders:
- Call CheckPaymentAcceptCmd to see if the payment is still valid.
- If the payment is still valid, release the order to fulfillment.
- Update the status in the ORDERS table to 'R' to indicate that some OrderItems have been released.
The recommended interval for this command is 600 seconds, and the recommended priority is 10.