ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccountSetup_INLedgerAc Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupTaxLedgerAccountSetup_INLedgerAc

Description

Updates the GroupCodeNumIdx index in the TaxLedgerAccountSetup_IN table to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TAXLEDGERACCOUNTSETUP_IN

Remarks

The TaxAccountGroup and RegistrationNumber fields are replaced with the new TaxLedgerAccountGroup and TaxRegistrationNumberTable surrogate key fields in the unique GroupCodeNumIdx index. Initially these fields contain no value. So the index is set to allow duplicates before the field is updated with the value of the RecId fields of the TaxLedgerAccountGroup_IN and TaxRegistrationNumberTable_IN tables.