ReleaseUpdateDB60_Vend.updatePurchParmTaxRegulation 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_Vend

Method

updatePurchParmTaxRegulation

Description

Updates the HeadingTableId and HeadingRecID values for the TaxWorkRegulation table to relate to the VendInvoiceInoTable table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

TaxWorkRegulation

Remarks

In Microsoft Dynamics AX 2012 release invoices reside in the table hierarchy related to VendInvoiceInfoTable table. In prior releases, invoices that are being posted resided in the PurchParmTable table. This method moves TaxWorkRegulation records between the two hierarchies by setting reference fields appropriately. After the update, TaxWorkRegulation records that were related to PurchParmTable records are related to VendInvoiceInfoTable records to which the data was copied.