Snapshot Pick Hook (R-WHMSP.MAC) ![]()
Requires Warehouse Manager Component
The script file must be located in your CAPITAL program directory and must have the file name R-WHMSP.MAC
If the script exists, it is executed before each pick request is displayed on the terminal, from the restock mode of the transfer utility of the Warehouse Manager Wireless Transfer Utility.
Entry Values
|
Variable |
Purpose |
|
ItemQuantity |
The suggested/required quantity to be transferred. This value may be re-assigned. For example, if your script assigns '10' to this variable, then the user is requested to pick 10 units on the terminal's display. |
|
ErrorDesc |
This is an optional text string that may be assigned a value. If a value is assigned to this variable, it is displayed on the terminal's display. |
|
ItemName |
The stock item product code or part number. |
|
ItemStockID |
The source stock item's stock ID. |
|
SourceBin |
The bin the stock item came from. This value may be re-assigned. For example if the variable is assigned the value of '5' then the terminal will direct the operator to pick from Bin 5. |
|
SourceLocation |
The source location the stock item came from. |
|
Stock->X |
The fields of the stock table available for inspection. |
|
Staux000->X |
The fields of the stock user (auxiliary) table available for inspection. |
|
Supplier->X |
The fields of the related supplier record. |
|
TargetBin |
The bin the stock item will go to. |
|
TargetLocation |
The target or destination location the stock item is going to. |
|
Type->X |
The fields of the related stock group. |
Return Values
If you return TRUE, then processing will proceed as normal, and the next item to pick will be displayed on the terminal. If a return value of FALSE is displayed, then the operator will be re-presented with the same stock item for picking.
____________________________
Related Topics:
Warehouse Manager Wireless Hooks
Warehouse Manager Wireless Restock
![]() |