Share via


ReleaseUpdateDB60_Basic.updateFiscalDocumentTextPurchLine_BR Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

updateFiscalDocumentTextPurchLine_BR

Description

Migrates all of the Microsoft Dynamics AX 2009 legal texts that are associated with purchase order lines to Microsoft Dynamics AX 2012 fiscal document texts.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

DocuRef

DocuRefExt_BR

Remarks

This method adds records to the DocuRef and DocuRefExt_BR tables that are attached to the PurchLine records, by using the document handling feature of the core to support fiscal document texts.

Data Migration Section

From Table: DEL_VendPurchLineLegalTxt_BR

To Table: DocuRef

PurchLegalTxt

Notes

PurchLegalTxtInvoiceOnly

Restriction

From Table: DEL_PurchLegalTxtSetup_BR

To Table: DocuRef

PurchLegalTxtDescription

Name

From Table: PurchLine

To Table: DocuRef

RecId

RefRecId

TableId

RefTableId

dataAreaId

RefCompanyId

From Table: DEL_VendPurchLineLegalTxt_BR

To Table: DocuRefExt_BR

FiscalInformationEnabled

FiscalInformation

PurchLegalTxtId

TextID

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

DocuRefExt_BR

Deleted Tables or Fields

Table

Field

DEL_VendPurchLineLegalTxt_BR

*