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

copyPurchSubLine

Description

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

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

PurchParmLine

PurchParmSubLine

PurchParmTable

VendInvoiceInfoLine

VendInvoiceInfoSubLine

Data Migration Section

From Table: PurchParmSubLine

To Table: VendInvoiceInfoSubLine

ParmId

ParmId

InventNow

InventNow

ReceiveNow

ReceiveNow

JournalRefRecId

JournalRefRecId

JournalRefTableId

JournalRefTableId

LineRefRecId

LineRefRecId

DocumentId

DocumentId

From Table: VendInvoiceInfoLine

To Table: VendInvoiceInfoSubLine

RecId

LineRefRecId