PayrollCalculatePayStatementEarnings::initializeQuery Method [AX 2012]

Returns the query object that will be used to fetch the PayrollEarningStatementLine records for processing.

server protected static Query initializeQuery(PayrollPayStatement _payStatement, List _positions)

Run On

Server

Parameters

_payStatement
Type: PayrollPayStatement Table
The PayrollPayStatement record that is being processed.
_positions
Type: List Class
A List object that contains the record IDs of HcmPosition records.

Return Value

Type: Query Class
The query that is used to fetch the PayrollEarningStatementLine records.
Show: