ReleaseUpdateDB60_Invent.allowDupInventProdComLineWithoutCodeKeyI 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_Invent

Method

allowDupInventProdComLineWithoutCodeKeyI

Description

Updates the KeyIdx index in the table InventProdComLineWithoutCode to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Inventory management

Affected Tables

DEL_InventProdComLineWithoutCode

Remarks

The name of this method is truncated from allowDupInventProdComLineWithoutCodeKeyIdx. The InventProdComPeriodId field is replaced with the new surrogate key InventProdComTable field in the unique KeyIdx 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 InventProdComTable table.