Compartilhar via


ReleaseUpdateDB60_Basic.updateFiscalDocumentTextFDocJour_BR Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextFDocJour_BR

Description

This methods migrates all AX 2009 legal texts associated to fiscal document headers 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 FiscalDocJour_BR records, using the core document handling feature to support fiscal document texts.

Data Migration Section

From Table: DEL_FiscalDocJourLegalTxt_BR

To Table: DocuRef

LegalTxt

Notes

docuTypeId

TypeId

sourceRestriction

Restriction

SalesLegalTxtDescription

Name

curDataAreaId

ActualCompanyId

From Table: FiscalDocJour_BR

To Table: DocuRef

RecId

RecRecId

TableId

RefTableId

DataAreaId

RefCompanyId

From Table: DEL_FiscalDocJourLegalTxt_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_FiscalDocJourLegalTxt_BR

*