generate/cbs2.gif Back Order Release Allocation Hook (R-BORELC.MAC) generate/enh73.jpg


 

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

If the script can be found, it is executed to determine if a back order should be released from the Back Order Control Centre.

Entry Values

Variable

Purpose

Mode

1 = the user selected to release all accounts

2 = the user selected to release one account only

3 = the user selected a marked release only

FromZone

The first zone the user has requested be released.

generate/notepad2.gifEnterprise & Corporate Edition Only

ToZone

The last zone the user has requuested to be released.

generate/notepad2.gifEnterprise & Corporate Edition Only.

Borders->X

The fields of the back order table available for inspection.

Stock->X

The fields of the stock table available for inspection.

Return Values

TRUE = the currently selected back order item should be released.

FALSE = the currently selected back order item should not be released

Any other return value will result in CAPITAL deciding if the item should be released.

Comments

If the script exists, it is used to decide whether a stock item should be released. If you wish to replicate the normal release behaviour of CAPITAL, then it is important to understand how CAPITAL decides whether to release a stock item or not. Its rules are:



Help Topic Map