PayrollCalculatePayStatementEarnings::createPayStatementEarningLines Method [AX 2012]
Generates the PayrollEarningStatementLine records for the PayrollPayStatement record and the positions that are passed.
server public static PayrollStatementAccountingCurrencyAmount createPayStatementEarningLines(
PayrollPayStatement _payStatement,
List _positions,
[boolean _doAccounting])
Run On
ServerParameters
- _payStatement
- Type: PayrollPayStatement Table
The PayrollPayStatement record that is the source document header record for the generated PayrollEarningStatementLine records.
- _positions
- Type: List Class
A List object that contains the record IDs of the positions.
- _doAccounting
- Type: boolean
Return Value
Type: PayrollStatementAccountingCurrencyAmount Extended Data TypeThe total amount of all the generated lines.
Show: