Share via


ReleaseUpdateDB60_HRM.updateHcmi9DocumentType

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

Class

ReleaseUpdateDB60_HRM

Method

updateHcmi9DocumentType

Description

Inserts records into the <c>Hcmi9DocumentType</c> table from the <c>HRMi9DocumentType</c> 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 <c>DataAreaId</c> field to the <c>DocumentTypeId</c> field of the <c>HRMi9DocumentType</c> table to create new, unique identifiers for the <c>Hcmi9DocumentType</c> table when multiple companies exist. If only one company exists, the <c>DataAreaId</c> field will not be appended. The <c>IssuingAgency</c> field in the <c>Hcmi9DocumentType</c> table is the foreign key to the <c>HcmIssuingAgency</c> 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

*