Compartilhar via


ReleaseUpdateTransformDB50_Vend.purchTablePreUpgradeProcess 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

ReleaseUpdateTransformDB50_Vend

Method

purchTablePreUpgradeProcess

Description

Sets the reference to the SourceDocumentHeader records for the PurchTable records.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

SourceDocumentHeader

Shadow_PurchTable_Vend

Remarks

By introducing the source document framework from Microsoft Dynamics AX 2012, a SourceDocumentHeader record that is new is created for each of the PurchTable records and is set as the reference.

Data Migration Section

From Table: SourceDocumentHeader

To Table: Shadow_PurchTable_Vend

RecId

SourceDocumentHeader

From Table: PurchTable

To Table: Shadow_PurchTable_Vend

RecId

RefRecId

RecVersion

RecVersionId

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

SourceDocumentHeader

PurchTable

SourceDocumentHeader

RefRecId