ReleaseUpdateDB60_Ledger.allowDupTaxSetOffRule_INCompanyTypeSetOf Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupTaxSetOffRule_INCompanyTypeSetOf

Description

Updates the ComponentColumnIdx and ComponentTypeSetOffComponentTypeIdx indexes in the TaxSetOffRule_IN table to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TAXSETOFFRULE_IN

Remarks

The Component field is replaced with the new TaxComponentTable surrogate key field in the unique ComponentColumnIdx index. Initially this field contains no value. So the index is set to allow duplicates before the field is updated with the value of the RecId field of the TaxComponentTable_IN table. The Component field is replaced with the new TaxComponentTable surrogate key field and TaxComponentTableSetoff in the unique ComponentColumnIdx index and the ComponentTypeSetOffComponentTypeIdx index. Initially this field contains no value. The index is set to allow duplicates before the field is updated with the value of the RecId field of the TaxComponentTable_IN table.