Compartir a través de


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

updateHcmPositionWorkerAssignment

Description

Insert data into the HcmPositionWorkerAssignment table from the HRPPartyPositionTableRelationship table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HcmPositionWorkerAssignment

HRPPartyPositionTableRelationship

HRPPartyJobTableRelationship

HcmPosition

HcmWorker

HRMReasonCode

Remarks

  1. The Position field, which holds the record ID from the HcmPosition table, replaces the PositionId field.

  2. The Worker field, which holds the record ID from the HcmWorker table, replaces the Reference field.

  3. The AssignmentReasonCode field, which holds the record ID from the HcmReasonCode table, replaces the HrmResignReasonCodeId field.

Data Migration Section

From Table: HRPPartyPositionTableRelationship

To Table: HcmPositionWorkerAssignment

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmPositionWorkerAssignment

Deleted Tables or Fields

Table

Field

HRPPartyPositionTableRelationship

*