Share via


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

allowDupLedgerClosingTableShMnAcctIdx

Description

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

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerClosingTable

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.