ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccounts_INLedgerAccoun

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupTaxLedgerAccounts_INLedgerAccoun

Description

Updates the index <c>GroupCodeNumTypeComponentIdx</c> in the table <c>TaxLedgerAccounts_IN</c> to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TAXLEDGERACCOUNTS_IN

Remarks

The TaxAccountGroup, AccountCode and RegistrationNumber fields are replaced with the new surrogate key field TaxLedgerAccountSetup in the unique index GroupCodeNumTypeComponentIdx. Also, the Component and LedgerAccount fields are replaced with the Rec Ids of TaxComponentTable_IN and DimensionAttributeValueComibation tables. Initially these fields contains no values. So the index is set to allow duplicates before the field is updated with the value of the RecId's of the corresponding tables.