ReleaseUpdateTransformDB50_CRM.updateInventTransferTable 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

updateInventTransferTable

Description

Updates the delivery postal address in the InventTransferTable table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

CRM

Affected Tables

InventTransferTable

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

Data Migration Section

From Table: InventTransferTable

To Table: LogisticsPostalAddress

FromAddressCountyRegionId

CountryRegionId

FromAddressState

State

FromAddressCounty

County

FromAddressZipCode

ZipCode

FromAddressCity

City

FromAddressStreet

Street

ToAddressCountryRegionId

CountryRegionId

ToAddressState

State

ToAddressCounty

County

ToAddressZipCode

ZipCode

ToAddressCity

City

ToAddressStreet

Street

From Table: LogisticsPostalAddress

To Table: Shadow_InventTransferTable_GAB

RecId

FromPostalAddress

Location

FromLocation

RecId

ToPostalAddress

Location

ToLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

InventTransferTable

FromPostalAddress

InventTransferTable

FromLocation

InventTransferTable

ToPostalAddress

InventTransferTable

ToLocation

Deleted Tables or Fields

Table

Field

InventTransferTable

FromAddressCountyRegionId

InventTransferTable

FromAddressState

InventTransferTable

FromAddressCounty

InventTransferTable

FromAddressZipCode

InventTransferTable

FromAddressCity

InventTransferTable

FromAddressStreet

InventTransferTable

ToAddressCountryRegionId

InventTransferTable

ToAddressState

InventTransferTable

ToAddressCounty

InventTransferTable

ToAddressZipCode

InventTransferTable

ToAddressCity

InventTransferTable

ToAddressStreet