Condividi tramite


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

updateHcmi9DocumentType

Description

Inserts records into the Hcmi9DocumentType table from the HRMi9DocumentType table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

Hcmi9DocumentType

HRMi9DocumentType

HRMi9IssuingAuthority

Remarks

This upgrade will retain the data of each company by appending the DataAreaId field to the DocumentTypeId field of the HRMi9DocumentType table to create new, unique identifiers for the Hcmi9DocumentType table when multiple companies exist. If only one company exists, the DataAreaId field will not be appended. The IssuingAgency field in the Hcmi9DocumentType table is the foreign key to the HcmIssuingAgency table.

Data Migration Section

From Table: HRMi9DocumentType

To Table: Hcmi9DocumentType

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

Hcmi9DocumentType

Deleted Tables or Fields

Table

Field

HRMi9DocumentType

*