Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the current pay period is open, and whether the date that is passed in the _transDate parameter falls between the current period's starting and end dates.
Syntax
client server public static boolean isDateInOpenPeriod(TransDate _transDate, PayrollPayCycleRecId _cycleId)
Run On
Called
Parameters
- _transDate
Type: TransDate Extended Data Type
The date to check against the pay period's starting and end dates.
- _cycleId
Type: PayrollPayCycleRecId Extended Data Type
The PayrollPayCycle record of the PayrollPayPeriod table to check.
Return Value
Type: boolean
true if the period is open and the specified date is between the period's starting and end dates; otherwise, false.