Hire Status Change Hook (R-HMSTAT.MAC) ![]()
The script file must be located in your CAPITAL program or data directory and must have the file name R-HMSTAT.MAC
If the script can be found, it is called to report the change of the job status of a Hire Manager job card.
Entry Values
|
Variable |
Purpose |
|
OldStatus |
The old/original status code, before the status was changed. Status codes are: O = Open C = Closed Q = Quotation |
|
NewStatus |
The new status code, after the status was changed. |
|
Smjobs->X |
The hire manager job field. |
|
Smaux000->X |
Hire manager user fields if applicable. |
Return Values
None.
Comments
This script hook is called even if the status is not changed. To determine a status change compare OldStatus to NewStatus to see if the value has changed.
____________________________
Related Topics:
![]() |