Compartilhar via


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

updateCustInvoiceTableDelta

Description

Updates the delivery postal address in the CustInvoiceTable 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

Accounts receivable

Affected Tables

CustInvoiceTable

LogisticsPostalAddress

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

Data Migration Section

From Table: CustInvoiceTable

To Table: LogisticsPostalAddress

Address

Address

CountryRegionId

CountryRegionId

State

State

County

County

ZipCode

ZipCode

City

City

Street

Street

DlvCountryRegionId

CountryRegionId

DlvState

State

DlvCounty

County

From Table: LogisticsPostalAddress

To Table: Shadow_CustInvoiceTable_GAB

RecId

DeliveryPostalAdress

Location

DeliveryLocation

Recid

InvoicePostalAddress

Location

InvoiceLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

CustInvoiceTable

PostalAdress

LogisticsPostalAddressRecId

CustInvoiceTable

Location

LogisticsLocationRecId

CustInvoiceTable

DeliveryLocation

LogisticsLocationRecId

Deleted Tables or Fields

Table

Field

CustInvoiceTable

DlvCountryRegionId

CustInvoiceTable

DlvState

CustInvoiceTable

DlvCounty

CustInvoiceTable

Address

CustInvoiceTable

CountryRegionId

CustInvoiceTable

State

CustInvoiceTable

County

CustInvoiceTable

ZipCode

CustInvoiceTable

City

CustInvoiceTable

Street