Compartilhar via


ReleaseUpdateTransformDB40_Basic.updateIntrastatParameters 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_Basic

Method

updateIntrastatParameters

Description

Updates the postal address in the IntrastatParameters table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

IntrastatParameters

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 location for the IntrastatParameters table will be kept as a reference to the LogisticsLocation record.

Data Migration Section

From Table: IntrastatParameters

To Table: LogisticsPostalAddress

AgentAddress

Address

AgentCountryRegionId

CountryRegionId

AgentState

State

AgentCounty

County

AgentZipCode

ZipCode

AgentCity

City

AgentStreet

Stree

From Table: LogisticsPostalAddress

To Table: Shadow_IntrastatParameters

Location

AgentLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

IntrastatParameters

AgentLocation

Deleted Tables or Fields

Table

Field

IntrastatParameters

AgentAddress

IntrastatParameters

AgentCountryRegionId

IntrastatParameters

AgentState

IntrastatParameters

AgentCounty

IntrastatParameters

AgentZipCode

IntrastatParameters

AgentCity

IntrastatParameters

AgentStreet