Compartilhar via


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

updateHcmLoanItem

Description

Inserts records into the HcmLoanItem table from the HRMLoanTable table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

EmplTable

HcmLoanItem

HcmWorker

HRMLoanTable

HRMLoanType

Remarks

This upgrade will retain the data of each company by appending the DataAreaId field to the HrmLoanId field of the HRMLoanTable table to create new, unique identifiers for the HcmLoanItem table when multiple companies exist. If only one company exists, the DataAreaId field will not be appended. The Worker field in the HcmLoanItem table is the foreign key to the HcmWorker table. The LoanType field in the HcmLoanItem table is the foreign key to the HcmLoanType table.

Data Migration Section

From Table: HRMLoanTable

To Table: HcmLoanItem

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmLoanItem

Deleted Tables or Fields

Table

Field

HRMLoanTable

*