ReleaseUpdateDB60_Basic.updateFiscalDocumentTextFDocTrans_BR Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextFDocTrans_BR

Description

This methods migrates all AX 2009 legal texts associated with fiscal document lines 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 FiscalDocTrans_BR records.

Data Migration Section

From Table: DEL_FiscalDocTransLegalTxt_BR

To Table: DocuRef

LegalTxt

Notes

docuTypeId

TypeId

sourceRestriction

Restriction

LegalTxtDescription

Name

curDataAreaId

ActualCompanyId

From Table: FiscalDocTrans_BR

To Table: DocuRef

RecId

RecRecId

TableId

RefTableId

DataAreaId

RefCompanyId

From Table: DEL_FiscalDocTransLegalTxt_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_FiscalDocTransLegalTxt_BR

*