generate/cbs2.gif Stock Receipt Hook (R-STDEL.MAC) generate/enh73.jpg


 

The script file must be located in your CAPITAL program directory and must have the file name R-STDEL.MAC.

This hook script can be used to monitor the arrival of stock.

Entry Values

Variable

Purpose

Quantity

The quantity received into stock.

Stock->X

The fields of the stock record of the stock item received into stock.

Staux000->X

The user defined fields of the stock record of the stock item received into stock, provided that user defined fields have been defined in the database.

Audit_5->X

The fields of the stock delivery audit trail record relating to this delivery.

Return Values

None.

Description

This hook is triggered when a stock receipt receives stock, or a purchase order receives stock, or an import costing process receives stock, or the Warehouse Manager directly receives stock of an item. It is launched for each stock item that is received into stock.

Comments

generate/mistake1.gifThis script may be potentially launched during the operation of a Wireless Data Collection Unit. If you are operating wireless Data Collectors, do not invoke any functions that would cause the system to pause and display a message on your GUI. This will not be visible to the Data Collector and will cause the Data Collector to stop operating.

____________________________

Related Topics:

Scripting Hooks

Script Programming



Help Topic Map