ReleaseUpdateDB60_Ledger.allowNoDupTaxIntraCommCorrection_NLKeyId 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_Ledger

Method

allowNoDupTaxIntraCommCorrection_NLKeyId

Description

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

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TaxIntraCommCorrection_NL

Remarks

The name of this method is truncated from allowNoDupTaxIntraCommCorrection_NLKeyIdx to allowNoDupTaxIntraCommCorrection_NLKeyId. After updating the TaxIntraCommTable_NL surrogate key field with the value of the RecId field of the TaxIntraCommTable_NL table, the KeyIdx index is reset not to allow for duplicate records.