Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupCustomsComponentTaxCodes_INTaxCo Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupCustomsComponentTaxCodes_INTaxCo

Description

Updates the TaxComponentTaxCodeIdx index in the CustomsComponentTaxCodes_IN table to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

CUSTOMSCOMPONENTTAXCODES_IN

Remarks

The TaxComponent field is replaced with the new TaxComponentTable surrogate key field in the unique TaxComponentTaxCodeIdx index. Initially the TaxComponentTable field contains no value. So the index is set to allow duplicates before the field is updated with the value of the RecId fields of the CustomsComponentTaxCodes_IN table.