Reorder Notification Alert

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Reorder Point Notification Alert

Features Enabled
1. ADVANCED ITEM LOCATION CONFIGURATION

Fields Created
1. Date Surpassed Reorder Point
2. Location Next Available PO
3. Location ETA
4. Location PO Remaining Quantity

Date Surpassed evaluation condition: AVAILABLE INVENTORY QTY < REORDER POINT
QTY AND (LOCATION ETA > (TODAY + PURCHASE LEAD TIME) || LOCATION ETA
EMPTY)

Script/s Created
1. AJF | MR | Update Date Surpassed
- Runs on all item records
- Iterates through item location configuration (per item) and updates necessary
details EXCEPT FOR Date Surpassed
2. AJF | MU | Item ETA update (Able to specify which items to run on)
- - If condition evaluates to true(below reorder point), and Date Surpassed field is
EMPTY, Update
- - If condition evaluates to true(below reorder point), and Date Surpassed field is NOT
EMPTY, Retain
- - If condition evaluates to false(below reorder point), Clear the Date Surpassed field.
3. AJF | UE | Location Eta (Executes on all items)
- If condition evaluates to true(below reorder point), and Date Surpassed field is
EMPTY, Update
- If condition evaluates to true(below reorder point), and Date Surpassed field is NOT
EMPTY, Retain
- If condition evaluates to false(below reorder point), Clear the Date Surpassed field.
4. Create Custom module ajf_cm_inventory_lib.js

Test Performed
A. Condition: Evaluates to false
Current Item Reorder Point: 1,000
Current Available Quantity: 125

1. Create Purchase Order: PO8282


Quantity: 1500
2. Create Inbound Shipment and Mark the created PO as In Transit > Receive
**After Received, Available Quantity = 1625
3. Execute Map/Reduce Script or Mass Update Script.

Formula Breakdown:
1625 < {1000 && ( 3/10/2023 > (12/9/2023 + 1))}
1625 < {1000 && ( 3/10/2023 > 13/9/2023)}
1625 < {1000 && TRUE}
FALSE
Result
1. Date Surpassed set to Null
B. Condition Evaluates to true
Current Item Reorder Point: 1,000
Current Available Quantity: 125

1. Create Purchase Order: PO8274


Quantity: 125

2. Create Inbound Shipment and mark in transit and Receive


**After Received, Available Quantity = 225
3. Execute Map/Reduce Script or Mass Update Script.

225< {1000 && ( 30/9/2023 > (12/9/2023 + 1))}


225< {1000 && ( 30/9/2023 > 13/9/2023)}
225< {1000 && TRUE}
TRUE

Result
- Date Surpassed Updated

You might also like