Compartilhar via


ReleaseUpdateDB60_HRM.updateHcmReasonCode

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Class

ReleaseUpdateDB60_HRM

Method

updateHcmReasonCode

Description

Inserts records into the <c>HcmReasonCode</c> table from the <c>HRMReasonCode</c> table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HcmReasonCode

HRMReasonCode

Remarks

This upgrade will discard duplicate records if the <c>HrmReasonCodeId</c> field and the <c>Description</c> field of the <c>HRMReasonCode</c> table are identical. The new unique identifier <c>ReasonCodeId</c> field of the <c>HcmReasonCode</c> table combines the <c>HrmReasonCodeId</c> field and the <c>DataAreaId</c> field of the <c>HRMReasonCode</c> table from the first record found. All records found that are identified as duplicates in other companies will be discarded. If only one company exists, the <c>DataAreaId</c> field will not be appended.

Data Migration Section

From Table: HRMReasonCode

To Table: HcmReasonCode

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmReasonCode

Deleted Tables or Fields

Table

Field

HRMReasonCode

*