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
- _emplId
Type: RHRMEmplId Extended Data Type
The code of employee.
- _yearsToCalc
Type: Counter Extended Data Type
The number of years to calculate.
- _currentPeriod
Type: ReportPeriod_RU Extended Data Type
The current period.
- _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.