Share via


RPayCalcYearsForAverage::construct Method [AX 2012]

Creates a new instance of RPayCalcYearsForAverage class.

Syntax

server public static RPayCalcYearsForAverage construct(
    RHRMEmplId _emplId, 
    Counter _yearsToCalc, 
    ReportPeriod_RU _currentPeriod, 
   [boolean _recalcByPrevYears, 
    boolean _exclDaysApplicable, 
    boolean _onlyCurrentEmployer])

Run On

Server

Parameters

  • _recalcByPrevYears
    Type: boolean
    if true then some years could be replaced by another.
  • _exclDaysApplicable
    Type: boolean
    If true then the excluded days decrease days.
  • _onlyCurrentEmployer
    Type: boolean
    If true then calculation is performing for current employer.

Return Value

Type: RPayCalcYearsForAverage Class
The instance of RPayCalcYearsForAverage class.

See Also

Reference

RPayCalcYearsForAverage Class