Compartir a través de


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

updatePurchLineMarkupTrans

Description

Updates the HeadingTableId and HeadingRecId values in the MarkupTrans table to relate to the VendInvoiceInoLine 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 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 setting reference fields appropriately. After the update, MarkupTrans records that were related to PurchParmLine records are related to VendInvoiceInfoLine records to which the data was copied.