Compartilhar via


ReleaseUpdateTransformDB50_Cust.salesLinePreUpgradeProcess 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_Cust

Method

salesLinePreUpgradeProcess

Description

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

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts receivable

Affected Tables

SalesLine

Shadow_SalesLine_Dimension

SourceDocumentLine

Remarks

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

Data Migration Section

From Table: SalesLine

To Table: Shadow_SalesLine_Dimension

Dimension

DefaultDimension

LedgerAccount

LedgerDimension

From Table: SourceDocumentLine

To Table:

RecId

SourceDocumentLine

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

SalesLine

LedgerDimension

DimensionDynamicAccount

Deleted Tables or Fields

Table

Field

SalesLine

Dimension

SalesLine

LedgerAccount