How the System Applies Order Adjustments to Purchase Orders

You can apply order automatically, interactively, or by running the R45750 program as a batch process. See Running the R45750 Program as a Batch Process for information about the batch process.

You can use the following programs to automatically or interactively apply order adjustments:

  • Purchase Order Entry (P4310), Requisitions/Blanket Order Release (P43060), and PO Generator (P43011) programs.

    The system runs the R45750 program automatically when you save a purchase order (P4310) or generate a purchase order (P43060 and P43011); and the processing option for order adjustments is set to automatically run the R45750 program. You can also interactively apply a order adjustment in the P4310 program by selecting the Apply Reprice option from the Basket/Order Level Adj Form Exit.

    See Applying Order-Level Adjustments to Purchase Orders.

  • Purchase Order Generator program (P43032).

    If the P43032 program is set up to automatically apply a order adjustment, the program does so when you click the Generate Order(s) option. If the program is not set up to automatically apply a order adjustment, you can apply an adjustment interactively using the Apply Reprice option on the Items Selected for Order form to preview the adjustment, and then click the Generate Order(s) option to apply the adjustment.

    If the program is set up to automatically apply an adjustment and you preview the adjustment and then click Generate Order(s), the program clears the preview records from the cache and generates the purchase order based on the adjustment schedule.

When the system runs the R45750 program, the program:

  1. Removes existing order-level adjustments from the grid if order adjustments already exist for the purchase order.

    The R45750 program reprices the order using the base unit cost.

  2. Accumulates the amounts, quantities, and weights for each Purchase Order Detail (F4311) record and converts them to a common unit of measure.

    The R45750 program does not apply order adjustments to lines with a price override (PROV=1), but it does include those lines in the accumulations that determine whether the order meets the requirements of the adjustment definition.

  3. Adds a new adjustment line to the purchase order whose unit cost is based on the adjustment schedule that has been set up for the order.

    Note: When you order reprice an already repriced order, then the line number of the added order adjustment line will increment.
  4. Updates the Order Total field in the Purchase Order Header table (F4301) with the adjusted extended cost.

  5. Prints a report for each purchase order processed.

    See Report Output for Order Adjustments for Purchase Orders.