ReleaseUpdateDB60_HRM.updateOMHierarchyRelationship 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

updateOMHierarchyRelationship

Description

Migrates the existing records in the DirPartyRelationship table that relate departments to each other into the new OMHierarchyRelationship table, and then removes the old records after completion.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

DirPartyRelationship

DirRelationshipTypeTable

OMHierarchyPurpose

OMHierarchyRelationship

OMHierarchyType

Data Migration Section

From Table: DirPartyRelationship

To Table: OMHierarchyRelationship

ChildParty

ChildOrganization

ParentParty

ParentOrganization

ValidFromDateTime

ValidFrom

ValidToDateTime

ValidTo