Condividi tramite


ReleaseUpdateDB60_Ledger.allowDupTaxSetOffRuleCompColumnIdx_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

allowDupTaxSetOffRuleCompColumnIdx_IN

Description

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

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TaxSetOffRule_IN

Remarks

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