PayrollAccrualTransactionsView::getWorkerEnrolledAccrualAccruedBalance Method [AX 2012]

Returns the sum of total hours accrued from the PayrollAccrualTransactionsView view.

client server public static PayrollAccrualTotalAccruedHours getWorkerEnrolledAccrualAccruedBalance(
    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: PayrollAccrualTotalAccruedHours Extended Data Type
The sum of accrued hours.
Show: