Scheduling the ProcessBackorders job

For the given store, get the list of locked orders that have a status of ('C', 'M', 'I', 'B', 'L', 'A') in the ORDERS table and an INVENTORYSTATUS of BO in the ORDERITEMS table. The command allocates inventory for these order items, re-prepare orders and then process the orders.

For each of these orders:

  • See if there are any order items that are not validly allocated. (An order item is validly allocated if it is allocated, the quantity, fulfillment center, and shipping address are the same as when it was allocated, and the allocation has not yet expired.)
  • If there is at least one order item that is not validly allocated, call AllocateInventoryCmd for the order.
  • If an item is allocated from a different fulfillment center than the one originally requested and AllocateInventoryCmd has unlocked the order, then call ReprepareOrderCmd to recalculate shipping charges and taxes.
  • Call ProcessOrderCmd.

Procedure

  1. Open Management Center Tools and from the hamburger menu, click System Administration > Scheduler.
  2. Click Scheduler. A list of jobs that are scheduled to run is displayed.
  3. Click New. The Schedule Job window opens.
  4. From the Job command list, select ProcessBackorders
  5. Complete the following fields:
    OptionDescription
    Start time Enter 00:00. Schedule this command when there is light user traffic and before the RAReallocate command.
    Interval Enter 43200
    Priority Enter 8
  6. Click Save. Your job is listed on the Scheduler Status Display page and will run at the specified start time.