Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupTaxLedAccGrpCodeNumCompIdx_IN

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

allowDupTaxLedAccGrpCodeNumCompIdx_IN

Description

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

Affected Modules and Tables

Affected Modules

Ledger

Affected Tables

TaxLedgerAccounts_IN

Remarks

The TaxAccountGroup, AccountCode and RegistrationNumber fields are replaced with the new TaxLedgerAccountSetup surrogate key field in the GroupCodeNumTypeComponentIdx unique index. Also, the Component and LedgerAccount fields are replaced with the RecId field values in the 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 field of the corresponding tables.