Compartilhar via


ReleaseUpdateDB60_Ledger.allowNoDupLedgerAccountRestriction_CNAcc Upgrade Script

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Class

ReleaseUpdateDB60_Ledger

Method

allowNoDupLedgerAccountRestriction_CNAcc

Description

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

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LEDGERACCOUNTRESTRICTION_CN

Remarks

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