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

discardPersonelNumberDuplicates

Description

Discards the duplicate values of the PersonnelNumber field in the HcmWorker table. Keeps the unique value of the PersonnelNumber field and attaches the value of the dataAreaId field in the DEL_EmplTable table to each duplicate.

Affected Modules and Tables

Affected Modules

Human Resources

Affected Tables

HcmWorker

Remarks

This upgrade attaches the value of the dataAreaId field of the DEL_EmplTable to duplicate value of the PersonnelNumber field in the HcmWorker table.