PayrollEarningGenerationTask.createScheduleLine Method [AX 2012]
Creates the individual leave earning statement line record.
Syntax
private PayrollEarningStatementLineRecId createScheduleLine(
PayrollEarningCodeRecId _earningCodeRecId,
ProjQty _quantity,
TransDate _earningDate,
AmountMST _earningRate,
PayrollGenerationSource _generationSource)
Run On
Called
Parameters
- _earningCodeRecId
Type: PayrollEarningCodeRecId Extended Data Type
The PayrollEarningCode table record ID.
- _quantity
Type: ProjQty Extended Data Type
The number of hours.
- _earningDate
Type: TransDate Extended Data Type
The date of the earnings.
- _earningRate
Type: AmountMST Extended Data Type
The earning rate.
- _generationSource
Type: PayrollGenerationSource Enumeration
The enum value that identifies the type of earning statement line to generate.
Return Value
Type: PayrollEarningStatementLineRecId Extended Data Type
The PayrollEarningStatementLine table record ID.