Compartilhar via


ReleaseUpdateTransformDB40_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

ReleaseUpdateTransformDB40_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

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

SourceDocumentHeader

Shadow_PurchTable_Vend

Remarks

By introducing source document framework from Microsoft Dynamics AX 2012, a new SourceDocumentHeader record is created for each of the PurchTable records and 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