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

updatePurchLineMatchingLine

Description

Updates the RefTableId and RefRecId values in the VendInvoiceMatchingLine table to relate to the VendInvoiceInfoLine table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

VendInvoiceMatchingLine

Remarks

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