Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccounts_INLedgerAccoun Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupTaxLedgerAccounts_INLedgerAccoun

Description

Updates the GroupCodeNumTypeComponentIdx index in the TaxLedgerAccounts_IN table 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 TaxLedgerAccountSetup surrogate key field in the unique GroupCodeNumTypeComponentIdx index. The Component and LedgerAccount fields are replaced with the record ID of the TaxComponentTable_IN and DimensionAttributeValueComibation tables. Initially these fields contain no values. So the index is set to allow duplicates before the field is updated with the value of the record ID of the corresponding tables.