ReleaseUpdateDB60_Vend.updatePurchParmMarkupTrans 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

updatePurchParmMarkupTrans

Description

Updates the HeadingTableId and HeadingRecId values in the MarkupTrans table to relate to the VendInvoiceInoTable table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

MarkupTrans

Remarks

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