ReleaseUpdateDB60_HRM.generateUniqueApplicantIds Method [AX 2012]
Generates a unique value for the HcmApplicantId field.
private HcmApplicantId generateUniqueApplicantIds(
DEL_HRMApplicantId _hrmApplicantId,
DataAreaId _dataAreaId,
str _table)
Run On
ServerParameters
- _hrmApplicantId
- Type: DEL_HRMApplicantId Extended Data Type
An ID for which a unique HcmApplicantId field will be generated.
- _dataAreaId
- Type: DataAreaId Extended Data Type
The value of the data area ID to append to the DEL_HrmApplicantId extended data type.
- _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 TypeA unique value of the HcmApplicantId field that does not exist in theHcmApplicant table.
The specific values of the _table parameter are as follows:
-
An empty string indicates that the HRMApplicantTable table has supplied the first parameter.
-
1 indicates that the EmplTable table has supplied the first parameter.
-
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.
Community Additions
ADD
Show: