ReleaseUpdateTransformDB50_CRM.updatePurchReqLineDelta 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_CRM

Method

updatePurchReqLineDelta

Description

Updates the delivery postal address in the PurchReqLine table.

Script Type

Preprocessing 60: Delta

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

PurchReqLine

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 PurchReqLine table will be kept as a reference to the LogisticsPostalAddress record.

Data Migration Section

From Table: PurchReqLine

To Table: LogisticsPostalAddress

DeliveryAddress

Address

DeliveryCountryRegionId

CountryRegionId

DeliveryState

State

DeliveryCounty

County

DeliveryZipCode

ZipCode

DeliveryCity

City

DeliveryStreet

Street

From Table: LogisticsPostalAddress

To Table: Shadow_PurchReqLine_GAB

Location

DeliveryLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

PurchReqLine

DeliveryLocation

LogisticsPostalAddressRecId

Deleted Tables or Fields

Table

Field

PurchReqLine

DeliveryAddress

PurchReqLine

DeliveryCountryRegionId

PurchReqLine

DeliveryState

PurchReqLine

DeliveryCounty

PurchReqLine

DeliveryZipCode

PurchReqLine

DeliveryCity

PurchReqLine

DeliveryStreet