Compartilhar via


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

updateHcmBenefitPlan

Description

Inserts records into the HcmBenefitPlan table from the HRMBenefitType table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HcmBenefitPlan

HrmBenefitType

Remarks

This upgrade will discard duplicate records if the HrmBenefitTypeId field and the Description field of the HRMBenefitType table are identical. The new unique identifier BenefitPlanId field of the HcmBenefitPlan table combines the HrmBenefitTypeId field and the DataAreaId field of the HRMBenefitType table from the first record found. All records found that are identified as duplicates in other companies will be discarded. If only one company exists, the DataAreaId field will not be appended.

Data Migration Section

From Table: HrmBenefitType

To Table: HcmBenefitPlan

hrmBenefitTypeId

BenefitPlanID

description

Description

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmBenefitPlan

Deleted Tables or Fields

Table

Field

HrmBenefitType