APPROVAL_ADMIN (System Preference)#
Description | This preference identifies a user exit to be invoked upon entry of the Required FTE field. |
Set at | IMFN for functions based on Posting code (RPO) |
Takes effect | Upon re-entry to the screen |
Values | Value is the name of the PL/SQL function that has been defined for the user exit |
Default | N/A |
Notes#
This function is called when the Required FTE value is changed. This occurs when a new position code is entered, or when the user enters a value in the REQUIRED_FTE field.This function must be constructed to take three parameters:
- DPS_ID
- The ID of the position code that has been entered for this posting. Note
- REQUISITION_DATE
- The requisition date that has been entered. Note that this value may be NULL, if it has not yet been entered.
- REQUIRED_FTE
- The Required FTE value that has been entered.
This function would then execute the desired logic, and will return a numeric value that has the following properties:
- >= 0
- No error, Required FTE field is set to this returned value
- < 0
- Error. The system will pop up a message, to be created as a user defined message on IMMS as FTE_nnn where nnn is the absolute value of the error. For example, a return value of -1 will pop up message FTE_1 from IMMS. If the message is not found, a generic message will be popped up, and an entry will be made in IMMS with this generic message.