ReleaseUpdateDB60_Ledger.allowDupTaxLedAccSetupGrpCodeNum_IN Upgrade Script

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

allowDupTaxLedAccSetupGrpCodeNum_IN

Description

Updates the GroupCodeNumIdx index in the TaxLedgerAccountSetup_IN table to allow for 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 field in the GroupCodeNumIdx unique index. Initially these fields contains no value. So the index is set to allow for duplicates before the field is updated with the value of the record ID fields in the TaxLedgerAccountGroup_IN and TaxRegistrationNumberTable_IN tables.