Share via


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

updateHcmEmploymentLeave

Description

Inserts records into the HcmEmploymentLeave table from the DEL_HRMEmplLeave table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HcmEmploymentLeave

Remarks

The Employment field in the HcmEmploymentLeave table is the foreign key to the HcmEmployment table. The LeaveType field in the HcmEmploymentLeave table is the foreign key to the HcmLeaveType table.

Data Migration Section

From Table: DEL_HRMEmplLeave

To Table: HcmEmploymentLeave

StartDate

StartDate

EndDate

EndDate

Note

Note

From Table: DEL_HRMLeaveType

To Table: HcmEmploymentLeave

del_MappingRecId

LeaveType

From Table: HcmEmployment

To Table: HcmEmploymentLeave

RecId

Employment

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmEmploymentLeave

*

Deleted Tables or Fields

Table

Field

DEL_HRMEmplLeave

*