Compartilhar via


ReleaseUpdateDB60_Basic.updateFiscalDocumentSourceText_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

updateFiscalDocumentSourceText_BR

Description

Migrates all of the Microsoft Dynamics AX 2009 legal text that are associated with setup records to Microsoft Dynamics AX 2012 fiscal document texts.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

FiscalDocumentSourceText_BR

Remarks

This method uses the pre-processing script information to avoid duplicate text IDs because the sales and purchase flag is not used anymore. It also creates fiscal document source texts for formerly hard-coded legal texts that were used in direct import and tax withholding features.

Data Migration Section

From Table: DEL_SalesLegalTxtSetup_BR

To Table: FiscalDocumentSourceText_BR

SalesLegalTxtDescription

Name

SalesLegalTxt

Notes

SalesLegalTxtInvoiceOnly

Restriction

FiscalInformationEnabled

FiscalInformation

SalesLegalTxtId

TextID

From Table: DEL_PurchLegalTxtSetup_BR

To Table: FiscalDocumentSourceText_BR

PurchLegalTxtDescription

Name

PurchLegalTxt

Notes

PurchLegalTxtInvoiceOnly

Restriction

FiscalInformationEnabled

FiscalInformation

PurchLegalTxtId

TextID

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

FiscalDocumentSourceText_BR

Deleted Tables or Fields

Table

Field

DEL_SalesLegalTxtSetup_BR

*

DEL_PurchLegalTxtSetup_BR

*