PayrollCalculatePayStatementEarnings::initPayrollPayStatementEarningLine Method [AX 2012]

Sets the PayrollPayStatementEarningLine buffer fields to the corresponding values that are passed in as parameters.

server public static void initPayrollPayStatementEarningLine(
    PayrollPayStatementEarningLine _payrollPayStatementEarningLine, 
    PayrollPayStatementRecId _payStatementRecId, 
    AccountingDate _accountingDate, 
    PayrollPayStatementEarningDate _earningDate, 
    HcmPositionRecId _positionRecId, 
    PayrollWorkerTaxRegionRecId _workerTaxRegion, 
    PayrollEarningCodeRecId _earningCode, 
    PayrollEarningRate _earningRate, 
    HcmBenefitRecId _workerCompBenefit, 
    HcmBenefitRecId _workerGliBenefit)

Run On

Server

Parameters

_payrollPayStatementEarningLine
Type: PayrollPayStatementEarningLine Table
The PayrollPayStatementEarningLine buffer to initialize.
_payStatementRecId
Type: PayrollPayStatementRecId Extended Data Type
The record ID of the PayrollPayStatement table.
_accountingDate
Type: AccountingDate Extended Data Type
The AccountingDate value.
_earningDate
Type: PayrollPayStatementEarningDate Extended Data Type
_positionRecId
Type: HcmPositionRecId Extended Data Type
The record ID of the HcmPosition table.
_workerTaxRegion
Type: PayrollWorkerTaxRegionRecId Extended Data Type
The record ID of the PayrollWorkerTaxRegion table.
_earningCode
Type: PayrollEarningCodeRecId Extended Data Type
The record ID of the PayrollEarningCode table.
_earningRate
Type: PayrollEarningRate Extended Data Type
The PayrollEarningRate value.
_workerCompBenefit
Type: HcmBenefitRecId Extended Data Type
The worker compensation benefit value of the earning line.
_workerGliBenefit
Type: HcmBenefitRecId Extended Data Type
The worker general liability insurance benefit value of the earning line.
Show: