Compartir a través de


ReleaseUpdateTransformDB40_CRM.updateSalesLine 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_CRM

Method

updateSalesLine

Description

Updates the delivery postal address in the SalesLine table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Accounts receivable

Affected Tables

SalesLine

Remarks

This upgrade is required in order to convert postal address data to the new logistics postal address model for Microsoft Dynamics AX 2012. The delivery postal address for the SalesLine table will be kept as a reference to the LogisticsPostalAddress record.

Data Migration Section

From Table: SalesLine

To Table: LogisticsPostalAddress

DeliveryAddress

Address

DeliveryCountryRegionId

CountryRegionId

DeliveryState

State

DeliveryCounty

County

DeliveryZipCode

ZipCode

DeliveryCity

City

DeliveryStreet

Street

From Table: LogisticsPostalAddress

To Table: Shadow_SalesLine_GAB

RecId

DeliveryPostalAdress

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

SalesLine

DeliveryPostalAdress

LogisticsPostalAddressRecId

Deleted Tables or Fields

Table

Field

SalesLine

DeliveryAddress

SalesLine

DeliveryCountryRegionId

SalesLine

DeliveryState

SalesLine

DeliveryCounty

SalesLine

DeliveryZipCode

SalesLine

DeliveryCity

SalesLine

DeliveryStreet