Share via


ReleaseUpdateDB60_HRM.generateUniqueApplicantIds Method [AX 2012]

Generates a unique value for the HcmApplicantId field.

Syntax

private HcmApplicantId generateUniqueApplicantIds(
    DEL_HRMApplicantId _hrmApplicantId, 
    DataAreaId _dataAreaId, 
    str _table)

Run On

Server

Parameters

  • _table
    Type: str
    A string value that indicates which table has supplied the _hrmApplicantId parameter. See the remarks for the specific values.

Return Value

Type: HcmApplicantId Extended Data Type
A unique value of the HcmApplicantId field that does not exist in theHcmApplicant table.

Remarks

The specific values of the _table parameter are as follows:

  1. An empty string indicates that the HRMApplicantTable table has supplied the first parameter.

  2. 1 indicates that the EmplTable table has supplied the first parameter.

  3. 2 indicates that the Contactperson table has supplied the first parameter.

A data area ID is only appended if multiple companies exist.1 is appended to the _hrmApplicantId parameter if it is supplied by a EmplTable table.2 is appended to the _hrmApplicantId parameter if it is supplied by a Contactperson table.

See Also

Reference

ReleaseUpdateDB60_HRM Class