PayrollCalculatePayStatementEarnings::getEarningTotalQueryByDateRange Method [AX 2012]
Calculates the base earnings amount for all payroll categories.
server public static Query getEarningTotalQueryByDateRange(
TransDate _startDate,
TransDate _endDate,
[HcmWorkerRecId _workerRecId,
PayrollPayStatementRecId _payStatementRecId,
PayrollEarningCodeRecId _earningCodeRecId])
Run On
ServerParameters
- _startDate
- Type: TransDate Extended Data Type
The start date of the date range.
- _endDate
- Type: TransDate Extended Data Type
The end date of the date range.
- _workerRecId
- Type: HcmWorkerRecId Extended Data Type
The HcmWorker record ID value to filter on.
- _payStatementRecId
- Type: PayrollPayStatementRecId Extended Data Type
The PayrolLPayStatement record ID to filter on.
- _earningCodeRecId
- Type: PayrollEarningCodeRecId Extended Data Type
The PayrollEarningCode record ID to filter on.
Return Value
Type: Query ClassA query that represents the sum of earning lines, based on the input parameter.
Show: