Lot Assignments Script

For locations marked as commit and assign, the SuiteApp enables administrators to deploy a script that automatically assigns lots to sales order line items at a scheduled time. The script name is FEFO_MR_Lot_Allocation. The administrator can set a schedule for the script to automatically assign lots to sales order line items. By default, the script is scheduled to run every 24 hours.

At each run, the script performs the following operations:

  1. For locations set commit and assign mode, the script reads all sales order lines with lot items having backordered quantity greater than zero on approved sales orders.

  2. Processes the sales order line items and makes lot allocations using the following formula:

    • Expected Ship Date – Commit Group Days <= Current Date

    • Backordered Quantity > 0

    • Ship Date + Customer Required Shelf Life Days <= Lot Expiry Date

Note:

If customer required shelf life days is not available, then the SuiteApp considers the required shelf life days set for the item.

At the scheduled run, the script considers the following additional criteria:

Updates to Sales Orders on Lot Assignment

After the lot assignment script makes assignments, you see the following updates in the sales orders:

  • Commitments display in the Committed column in the Items sublist of the sales order.

  • Lot assignment quantity displays in the Allocated column of the sales order lines items. If you click the icon in the Inventory Detail column, you see the assigned lot numbers in the Inventory Detail window.

Related Topics

Commit and Assign Lots
Creating FEFO Shelf Life Groups
Creating Commit Groups
Assigning Commit Groups and FEFO Shelf Life Groups to Items
Creating FEFO Customer Shelf Life Groups
Setting Minimum Fulfillment Percentage for a Customer
Adding Lot Assignments Manually
Removing Lot Assignments
Impact of Modifying Sales Orders on FEFO Lot Assignments
Guidelines for Importing Sales Orders Using CSV Files

General Notices