Condividi tramite


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

allowNoDupLedgerRelatedAccts_ESTypeACIdx

Description

Updates the TypeACIdx index in the LedgerRelatedAccounts_ES table not to allow for duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerRelatedAccounts_ES

Remarks

After updating the FromAccountRecId and ToAccountRecId surrogate key fields with the value of the record ID field in the MainAccount table, the TypeACIdx index is reset not to allow for duplicate records.