Requirement
When an item is added using a scanner, an alert message needs to display when the quantity added in the item fulfillment record is greater than the maximum.
Our Solution
- Comparison of item quantity in the Item Fulfillment record.
Create a client script to catch the field trigger of the ‘Select Item’ field when the item is added using a scanner. The total quantity both before and after the scan will be compared while adding a new item. If there are no changes in the total quantity, then we can assume that the currently added item has reached its maximum fulfillable quantity. At this point, an alert message will be displayed.
Assumptions
We will be able to fetch the field trigger of the ‘Select Item’ and ‘quantity’ line fields in the item fulfillment record while adding the items through the scanner.
Risk
When the item scanning occurs continuously without time delay, it may take time to display the alert message.