ReleaseUpdateDB60_Ledger.allowNoDupTaxLedgerAccounts_INLedgerAcco Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowNoDupTaxLedgerAccounts_INLedgerAcco

Description

Updates the GroupCodeNumTypeComponentIdx index in the TaxLedgerAccounts_IN table not to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TAXLEDGERACCOUNTS_IN

Remarks

After updating the TaxLedgerAccountSetup, TaxComponentTable, and LedgerDimension surrogate key fields with the value of the RecId field of the TaxLedgerAccountSetup_IN, TaxComponentTable_IN, and DimensionAttributeValueCombination tables. The GroupCodeNumTypeComponentIdx index is reset not to allow duplicate records.