Compartilhar via


ReleaseUpdateTransformDB40_Prod.purchLinePreUpgradeProcess 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_Prod

Method

purchLinePreUpgradeProcess

Description

Transforms data from the Dimension and LedgerAccount fields to the DefaultDimension and LedgerDimension fields in the PurchLine table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

PurchLine

Shadow_PurchLine

Remarks

This upgrade is required in order to convert account and dimension data to the new accounts and dimension model for Microsoft Dynamics AX 2012. The fields are not copied directly. The values are calculated from the Dimension and LedgerAccount fields.

Data Migration Section

From Table: PurchLine

To Table: Shadow_PurchLine

Dimension

DefaultDimension

LedgerAccount

LedgerDimension

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

PurchLine

DefaultDimension

DimensionDefault

PurchLine

LedgerDimension

LedgerDimensionDefaultAccount

Deleted Tables or Fields

Table

Field

PurchLine

Dimension