Share via


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

copyDuplicatePurchLineAsset

Description

Copies data from PurchParmLine_Asset table that is related to duplicate PurchParmLine to VendInvoiceInfoLine_Asset table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

PurchParmLine_Asset

VendInvoiceInfoLine_Asset

Remarks

In Microsoft Dynamics AX 2012, release invoices reside in the table hierarchy that is related to the VendInvoiceInfoTable table. In prior releases, invoices that are being posted reside in the PurchParmTable table. This method is a helper method for the upgrade scripts and moves data between the two hierarchies.

Data Migration Section

From Table: PurchParmLine_Asset

To Table: VendInvoiceInfoLine_Asset