HcmSkillMappingRun.getSeniority Method [AX 2012]

Calculates the seniority of an employee.

Syntax

private HRMSenority getSeniority(HcmWorker _hcmWorker)

Run On

Server

Parameters

  • _hcmWorker
    Type: HcmWorker Table
    The HcmWorker table buffer that is used to identify a person.

Return Value

Type: HRMSenority Extended Data Type
The seniority of the employee.

Remarks

A non-computed seniority is returned in order to distinguish a seniority of 0 from a seniority that should be displayed as 0

See Also

Reference

HcmSkillMappingRun Class