PayrollEarningGenerationTask.createScheduleLine Method [AX 2012]
Creates the individual leave earning statement line record.
private PayrollEarningStatementLineRecId createScheduleLine(
PayrollEarningCodeRecId _earningCodeRecId,
ProjQty _quantity,
TransDate _earningDate,
AmountMST _earningRate,
PayrollGenerationSource _generationSource)
Run On
CalledParameters
- _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 TypeThe PayrollEarningStatementLine table record ID.
Community Additions
ADD
Show: