JmgProfileSpec::promptForAbsence Method
Returns true if there is a prompt for absence when the specified worker clocks in or out at the specified time.
Syntax
client server public static boolean promptForAbsence(
JmgWorkerRecId _worker,
JmgDateTime _registrationDateTime,
[boolean _clockIn])
Run On
Called
Parameters
- _worker
Type: JmgWorkerRecId Extended Data Type
The ID of the worker that may be coming in late or leaving early.
- _registrationDateTime
Type: JmgDateTime Extended Data Type
The date and time when the worker is coming in to work or leaving work.
- _clockIn
Type: boolean
false if the worker is leaving work; otherwise the default of true indicates that the worker is coming in to work.
Return Value
Type: boolean
true if the worker should be prompted for absence; otherwise, false.