ReleaseUpdateDB60_Basic.updateFiscalDocumentTextCustInvJour_BR Upgrade Script

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextCustInvJour_BR

Description

This methods migrates all AX 2009 legal texts associated with customer invoices to AX 2012 fiscal document texts.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

DocuRef

DocuRefExt_BR

Remarks

Adds records to the DocuRef and DocuRefExt_BR tables attached to the CustInvoiceJour records, using the core document handling feature to support fiscal document texts.

Data Migration Section

From Table: DEL_CustInvoiceLegalTxt_BR

To Table: DocuRef

SalesLegalTxt

Notes

docuTypeId

TypeId

sourceRestriction

Restriction

SalesLegalTxtDescription

Name

curDataAreaId

ActualCompanyId

From Table: FiscalDocument_BR

To Table: DocuRef

RecId

RecRecId

TableId

RefTableId

RefCompanyId

DataAreaId

From Table: DEL_CustInvoiceLegalTxt_BR

To Table: DocuRefExt_BR

FiscalInformationEnabled

FiscalInformation

fiscalDocumentTextType

Type

From Table: DocuRef

To Table: DocuRefExt_BR

RecId

DocuRef

From Table: DEL_LegalTextID_BR

To Table: DocuRefExt_BR

NewTextID

TextID

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

DocuRefExt_BR

Deleted Tables or Fields

Table

Field

DEL_CustInvoiceLegalTxt_BR

*