Compartilhar via


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

updateHcmWorkerTask

Description

Inserts records into the HcmWorkerTask table from the EmplWorkTask table.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

EmplWorkTask

HcmWorkerTask

Remarks

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

Data Migration Section

From Table: EmplWorkTask

To Table: HcmWorkerTask

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

HcmWorkerTask

Deleted Tables or Fields

Table

Field

EmplWorkTask

*