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

allowDupLedgerOpeningTable_ESShMnAcct

Description

Updates the ShMnAcctIdx index in the LedgerOpeningTable_ES table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerOpeningTable_ES

Remarks

The AccountNum field is replaced with the new MainAccount field in the ShMnAcctIdx unique index. Initially this field contains no value. So the index is set to allow for duplicates before the field is updated with the value of the record ID field in the MainAccount table.