Compartilhar via


ReleaseUpdateTransformDB50_Basic.updateEmplTablePreProcessing 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

ReleaseUpdateTransformDB50_Basic

Method

updateEmplTablePreProcessing

Description

Updates the Party field in the EmplTable table and creates data in the HCMWorker and HCMEmployment tables from data in the EmplTable table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

EmplTable

Remarks

This upgrade is required to convert the partyId field to the new party field for Microsoft Dynamics AX 2012. The party in the EmplTable will be kept as a reference to the DirPartyTable record.

Data Migration Section

From Table: EmplTable

To Table: EmplTable

PartyId

Party

From Table: EmplTable

To Table: HCMWorker

emplId

PersonnelNumber

Party

Person

From Table: EmplTable

To Table: HCMEmployment

dataAreaId

LegalEnitiy

dimension

DefaultDimension

From Table: HRMPartyEmployeeRelationship

To Table: HCMEmployment

EmployeeType

EmploymentType

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

EmplTable

Party

HCMWorker

HCMEmployment

Deleted Tables or Fields

Table

Field

EmplTable

PartyId