Compartir a través de


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

updatePurchParmSubMarkupTrans

Description

Updates the TransTableID and TransRecID values for the MarkupTrans table to be related to the VendInvoiceInoSubTable table.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

MarkupTrans

Remarks

In 6.0 release invoices reside in table hierarchy related to VendInvoiceInfoTable, while in prior releases invoices being posted resided in PurchParmTable. This method moves MarkupTrans records between the two hierarchies, by setting reference fields appropriately. After the update MarkupTrans records which were related to PurchParmSubTable record are related to VendInvoiceInfoSubTable record to which the data was copied.