Get Overtime Repeating Period ID by Resource Function

To get the overtime repeating period ID associated with the person profile by resource ID (person ID), use the GET_REPEATING_PERIOD_ID function.

Parameters

Parameter Data Type Comments
resource_id NUMBER The resource ID (person ID) is available as a context value for the current time card: GET_CONTEXT(HWM_RESOURCE_ID, 0)
start_date DATE The start date of the time card.

Outputs

Output Data Type Comments
status_log TEXT The log file containing detailed information related to the 'FAILED' status and corresponding process data.
period_id NUMBER The period ID for the overtime repeating period. A 0 value means that the function didn't find a period ID. Check the log file for more details.