Compartilhar via


ReleaseUpdateTransformDB40_CRM.updateCustInvoiceTrans 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_CRM

Method

updateCustInvoiceTrans

Description

Updates the delivery postal address in the CustInvoiceTrans table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Accounts receivable

Affected Tables

CustInvoiceTrans

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

Data Migration Section

From Table: CustInvoiceTrans

To Table: LogisticsPostalAddress

DlvCountryRegionId

CountryRegionId

DlvState

State

DlvCounty

County

From Table: LogisticsPostalAddress

To Table: Shadow_CustInvoiceTrans_GAB

RecId

DeliveryPostalAdress

Location

DeliveryLocation

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

CustInvoiceTrans

DeliveryPostalAdress

LogisticsPostalAddressRecId

CustInvoiceTrans

DeliveryLocation

LogisticsLocationRecId

Deleted Tables or Fields

Table

Field

CustInvoiceTrans

DlvCountryRegionId

CustInvoiceTrans

DlvState

CustInvoiceTrans

DlvCounty