Compartir a través de


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

allowDupLedgerRelatedAccts_ESTypeACIdx

Description

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

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerRelatedAccounts_ES

Remarks

The FromAccount and ToAccount fields are replaced with the new FromAccountRecId and ToAccountRecId fields in the TypeACIdx unique index. Initially these fields contain no value. So the index is set to allow for duplicates before the fields are updated with the value of the record ID fields of the MainAccount table.