Compartilhar via


ReleaseUpdateDB60_Ledger.allowNoDupLedgerAccountRestriction_CN 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

allowNoDupLedgerAccountRestriction_CN

Description

Updates the index AccountRestrictionIdx index in the LedgerAccountRestriction_CN table not to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Ledger

Affected Tables

LedgerAccountRestriction_CN

Remarks

After updating the LedgerAccountRestriction_CN surrogate key field with the value of the record ID field in the LedgerAccountRestriction_CN table, the AccountRestrictionIdx index is reset not to allow for duplicate records.