Condividi tramite


ReleaseUpdateDB60_Invent.allowNoDupInventProdComLineWithoutCodeKe 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

allowNoDupInventProdComLineWithoutCodeKe

Description

Updates the KeyIdx index in the InventProdComLineWithoutCode table not 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 allowNoDupInventProdComLineWithoutCodeKeyIdx. After updating the surrogate key InventProdComTable field with the value of the RecId field of the InventProdComTable table, the KeyIdx index is reset not to allow for duplicate records.