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

copyDuplicatePurchSubLine

Description

Copies data from the PurchParmSubLine table, which is related to duplicate PurchParmLine data, to the VendInvoiceInfoSubLine table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

PurchParmSubLine

VendInvoiceInfoSubLine

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 upgrade scripts that move data between the two hierarchies.

Data Migration Section

From Table: PurchParmSubLine

To Table: VendInvoiceInfoSubLine