wfm_time_off_requests

Download time off requests. Requires management_unit table to be up to date, which can be done by runing the 'wfm_management_units' action.
You can specify a savepoint (default is 'timeoffrequests') to save the last time off request download time, or a start_date.
If no end_date is provided, it defaults to 30 days after the start_date.

Parameters

Parameter Description
start_date Optional The start date to extract time off requests from. This relates to the date time-off was requested for, not when the request was made or approved.
end_date Optional The end date to extract time off requests to, default is the current time. This relates to the date time-off was requested for, not when the request was made or approved.
savepoint Optional The savepoint name to use for the time off reuqests download (default is 'timeoffrequests')

Tables Affected

Variables Set

No variables set.

Permissions needed

  • wfm:timeOffRequest:view

Examples

  • wfm_time_off_requests()