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. HCL Commerce Version 9.1.16.0 or later Open Management Center tools and from the left navigation menu, click Administration > System Administration > Scheduler.
  3. Click Scheduler. A list of jobs that are scheduled to run is displayed.
  4. Click New. The Schedule Job window opens.
  5. From the Job command list, select ProcessBackorders
  6. 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
  7. Click Save. Your job is listed on the Scheduler Status Display page and will run at the specified start time.