Compartilhar via


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

updatePurchParmVendPaymSched

Description

Updates the ExtTableId and ExtRecID values for the VendPaymSched table to relate to the VendInvoiceInoTable table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

VendPaymSched

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 VendPaymSched records between the two hierarchies by setting reference fields appropriately. After the update, VendPaymSched records that were related to PurchParmTable records are related to VendInvoiceInfoTable records to which the data was copied.