Available WF Custom Functions#
This information is as of 2005/01/03
For all Work Flow Products#
DELETING | Generic | If triggering record is being deleted will return TRUE. |
INSERTING | Generic | If triggering record is being inserted will return TRUE. |
UPDATING | Generic | If triggering record is being updated will return TRUE. |
For Work Flow Product - WF_AAL#
P2K_CF_WFGES_ENDDISPATCH Customer Specific Special logic to End the Dispatched status for employees that have had specific work restrictions created.For Work Flow Product - WF_EASD#
CREATEPA | Generic | Creates a PA for a PA Type that matches the name of the WF User Calc or failing that for the PA Type of "WF_EASD". |
NEWHIRE | Generic | Returns TRUE if the conditions for adding a new hire are met. Those conditions are: 1.) the EASD record is being split behind the scenes so the old effective date is the BOT, 2.) the new effective date is the same as the hire date, and 3.) the original hire date and hire date are the same. |
REHIRE | Generic | Returns TRUE if the conditions for adding a new hire are met. Those conditions are: 1.) the EASD record is being split behind the scenes so the old effective date is the BOT, 2.) the new effective date is the same as the hire date, and 3.) the original hire date and hire date are NOT the same. |
For Work Flow Product - WF_EEM#
P2K_CF_SS_END | Generic | End the Self Service Access based on Termination date PLUS number of days in Global variable SS_END_DAYS. If the SS_END_DAYS global is -1 the End will be the 31-Dec of the Termination Year. If the Global variable is not found 0 days will be assumed. Otherwise the number found in the Global will be added to the Termination Date to calculate out when the SS Access should be ended. |
P2K_CF_WF_TERMPAY | Generic | If this is included in a WF_EEM workflow, when the EEM record has a DTR_ID populated on it then with proper payroll setup, it will insert a Pay Header for with Final Pay turned on. The return value on this is of Varchar2 and will return a '0' if no work was done or will return a long message if work was done. |
For Work Flow Product - WF_RAP#
P2K_CF_RECSTAGE | Generic | Returns TRUE if the application is at the Stage Sequence for the Job Profile specified in the Global Variable RE_STAGE_SEQ. It will also set the Global Variable RE_STAGE_ID to hold the ID of the RST record for use in comparisons in the User Calc. |