ReleaseUpdateDB60_Jmg.allowDupJmgTimecardTableEmplIdProfileDat 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_Jmg

Method

allowDupJmgTimecardTableEmplIdProfileDat

Description

Updates the EmplIdProfileDateIdx index in the JmgTimecardTable table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Shop Floor Control

Affected Tables

JmgTimecardTable

Remarks

The EmplId field is replaced with the new Worker surrogate key field, and the Worker field replaces the EmplId field in the unique EmplIdProfileDateIdx index. Initially, this field contains no value. Therefore, the index is set to allow for duplicate values before the field is updated with the value of the RecId field of the HcmWorker 2table.