Compartilhar via


ReleaseUpdateTransformDB40_Basic.updateHRMEmployeeContact 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

ReleaseUpdateTransformDB40_Basic

Method

updateHRMEmployeeContact

Description

Updates the postal address in the HRMEmployeeContact table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HRMEmployeeContact

Remarks

This upgrade is required in order to convert postal address data to the new logistics postal address model for 6.0. The location for the HRMEmployeeContact table will be kept as a reference to the LogisticsLocation record.

Data Migration Section

From Table: HRMEmployeeContact

To Table: LogisticsPostalAddress

Address

Address

CountryRegionId

CountryRegionId

StateId

State

CountyId

County

ZipCodeId

ZipCode

City

City

Street

Street

From Table: LogisticsPostalAddress

To Table: Shadow_HRMEmployeeContact

Location

Location

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HRMEmployeeContact

Location

Deleted Tables or Fields

Table

Field

HRMEmployeeContact

Address

HRMEmployeeContact

CountryRegionId

HRMEmployeeContact

StateId

HRMEmployeeContact

CountyId

HRMEmployeeContact

ZipCodeId

HRMEmployeeContact

City

HRMEmployeeContact

Street