Compartir a través de


ReleaseUpdateTransformDB50_Basic.updateAddressCountryRegionPreProcessing 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_Basic

Method

updateAddressCountryRegionPreProcessing

Description

Transforms data in the AddressCountryRegion table to the IntrastatCountryRegionParameters, TaxCountryRegionParameters, LogisticsCountryRegionPaymentIdType_NO, and LogisticsAddressCountryRegion tables.

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

AddressCountryRegion

Remarks

This upgrade is required in order to transform the data in the AddressCountryRegion table into the new global address book model for Microsoft Dynamics AX 2012.

Data Migration Section

From Table: AddressCountryRegion

To Table: IntrastatCountryRegionParameters

CountryRegionId

CountryRegionId

IntrastateCode

IntrastateCode

Type

CountryRegionType

CurrrencyCode

CurrencyCode

From Table: AddressCountryRegion

To Table: TaxCountryRegionParameters

CountryRegionId

CountryRegionId

TaxCode

SalesTaxCode

TaxVatNumFormatCheck

CheckTaxExemptNumber

From Table: AddressCountryRegion

To Table: LogisticsCountryRegionPaymentIdType_NO

CountryRegionId

CountryRegionId

PaymIdType

BankCustPaymIdTable

From Table: AddressCountryRegion

To Table: LogisticsAddressCountryRegion

AddressUseZipPlus4

AddressUseZipPlus4

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

IntrastatCountryRegionParameters

TaxCountryRegionParameters

LogisticsCountryRegionParmentIdType_NO

LogisticsAddressCountryRegion

Deleted Tables or Fields

Table

Field

AddressCountryRegion

*