PayrollPayStatementGenerationTask.initializeFromPayment Method [AX 2012]

Initializes the pay statement generation process to recalculate the existing PayrollPayStatement record with which it is supplied.

public void initializeFromPayment(
    PayrollPayStatement _payStatement, 
   [boolean _preTaxArrear, 
    AccountingDistributionTemplateRecId _distributionTemplatePositiveRecId, 
    AccountingDistributionTemplateRecId _distributionTemplateNegativeRecId, 
    Map _templatePositiveRecIdMap, 
    Map _templateNegativeRecIdMap])

Run On

Called

Parameters

_payStatement
Type: PayrollPayStatement Table
The PayrollPayStatement record to reprocess.
_preTaxArrear
Type: boolean
A value that indicates whether the pay statement is being recalculated so as part of the arrear creation or recovery process.
_distributionTemplatePositiveRecId
Type: AccountingDistributionTemplateRecId Extended Data Type
The distribution for positive lines on which to base the accounting distribution.
_distributionTemplateNegativeRecId
Type: AccountingDistributionTemplateRecId Extended Data Type
The distribution for negative lines on which to base the accounting distribution.
_templatePositiveRecIdMap
Type: Map Class
The project distribution information for positive lines that is used to create the project accounting distribution.
_templateNegativeRecIdMap
Type: Map Class
The project distribution information for negative lines that is used to create the project accounting distribution.

Community Additions

ADD
Show: