ReleaseUpdateDB60_HRM.updateHcmCompLocation Upgrade Script

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

Class

ReleaseUpdateDB60_HRM

Method

updateHcmCompLocation

Description

Inserts records into the HcmCompLocation table from the HRMCompLocation table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

DEL_HRMCompLocation

HcmCompLocation

Remarks

This upgrade will discard duplicate records if the LocationId and Description field in the HRMCompLocation table are identical. The new unique identifier CompLocationId field in the HcmCompLocation table combines the LocationId and DataAreaId field in the HRMCompLocation 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 DataAreaId field will not be appended.

Data Migration Section

From Table: DEL_HRMCompLocation

To Table: HcmCompLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

*

Deleted Tables or Fields

Table

Field

*