ReleaseUpdateTransformDB40_Vend.purchTableDeltaPreUpgradeProcess 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

purchTableDeltaPreUpgradeProcess

Description

Recreates the Shadow_PurchTable_Vend records that are not matched to the PurchTable records and sets the reference to the SourceDocumentHeader records.

Script Type

Preprocessing 60: Delta

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

SourceDocumentHeader

Shadow_PurchTable_Vend

Remarks

The Shadow_PurchTable_Vend records must be synched with the PurchTable records, because there could be new records or modified records in the PurchTable table.

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