PayrollAccrualTransactionsView::getWorkerEnrolledAccrualAvailableBalance Method
Returns the sum of total hours available from the PayrollAccrualTransactionsView view.
Syntax
client server public static PayrollAccrualTotalAvailableHours getWorkerEnrolledAccrualAvailableBalance(
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: PayrollAccrualTotalAvailableHours Extended Data Type
The sum of available hours.