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.
Returns the sum of total hours used from the PayrollAccrualTransactionsView view.
Syntax
client server public static PayrollAccrualTotalUsedHours getWorkerEnrolledAccrualUsedBalance(
PayrollWorkerEnrolledAccrualRecId _workerEnrolledAccrualRecId,
date _accrualYearStartDate,
date _accrualYearEndDate)
Run On
Called
Parameters
- _workerEnrolledAccrualRecId
Type: PayrollWorkerEnrolledAccrualRecId Extended Data Type
The RecId field of the PayrollWorkerEnrolledAccrual table.
- _accrualYearStartDate
Type: date
The AccrualYearStartDate field of the PayrollWorkerEnrolledAccrual table.
- _accrualYearEndDate
Type: date
The AccrualYearEndDate field of the PayrollWorkerEnrolledAccrual table.
Return Value
Type: PayrollAccrualTotalUsedHours Extended Data Type
Sum of used hours.