Condividi tramite


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

updateCustInvoiceSalesLink

Description

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

CustInvoiceSalesLink

LogisticsPostalAddress

Remarks

This upgrade is required in order to uptake to the new logistics postal address model for Microsoft Dynamics AX 2012. The delivery postal address for the CustInvoiceSalesLink table will be kept as a reference to the LogisticsPostalAddress record.

Data Migration Section

From Table: Shadow_CustConfirmJour_GAB

To Table: Shadow_CustInvoiceSalesLink_GAB

DeliveryPostalAddress

DeliveryPostalAddress

DeliveryLocation

DeliveryLocation

InvoicePostalAddress

InvoicePostalAddress

InvoiceLocation

InvoiceLocation

From Table:

To Table:

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

CustInvoiceSalesLink

DeliveryPostalAdress

LogisticsPostalAddressRecId

CustInvoiceSalesLink

DeliveryLocation

LogisticsLocationRecId

CustInvoiceSalesLink

InvoicePostalAddress

LogisticsPostalAddressRecId

CustInvoiceSalesLink

InvoiceLocation

LogisticsLocationRecId

Deleted Tables or Fields

Table

Field

CustInvoiceSalesLink

DeliveryAddress