Compartilhar via


ReleaseUpdateDB60_Basic.updateFiscalDocumentTextCustInvTrans_BR Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextCustInvTrans_BR

Description

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

Data Migration Section

From Table: DEL_CustInvoiceLineLegalTxt_BR

To Table: DocuRef

SalesLegalTxt

Notes

docuTypeId

TypeId

sourceRestriction

Restriction

SalesLegalTxtDescription

Name

curDataAreaId

ActualCompanyId

From Table: FiscalDocumentLine_BR

To Table: DocuRef

RecId

RecRecId

TableId

RefTableId

DataAreaId

RefCompanyId

From Table: DEL_CustInvoiceLineLegalTxt_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_CustInvoiceLineLegalTxt_BR

*