Compartilhar via


ReleaseUpdateDB60_Basic.updateFiscalDocumentTextVendInvTrans_BR Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextVendInvTrans_BR

Description

This methods migrates all AX 2009 legal texts associated to vendor invoice journal lines to AX 2012 fiscal document texts.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

DocuRef

DocuRefExt_BR

Remarks

It adds records to the DocuRef and DocuRefExt_BR tables attached to the VendInvoiceTrans records, using the core document handling feature to support fiscal document texts.

Data Migration Section

From Table: DEL_VendInvoiceLineLegalTxt_BR

To Table: DocuRef

PurchLegalTxt

Notes

docuTypeId

TypeId

sourceRestriction

Restriction

PurchLegalTxtDescription

Name

curDataAreaId

ActualCompanyId

From Table: FiscalDocumentLine_BR

To Table: DocuRef

RecId

RecRecId

TableId

RefTableId

DataAreaId

RefCompanyId

From Table: DEL_VendInvoiceLineLegalTxt_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_VendInvoiceLineLegalTxt_BR

*