Compartilhar via


ReleaseUpdateDB60_Basic.deletePreviousFiscalDocumentText Upgrade Script

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

Class

ReleaseUpdateDB60_Basic

Method

deletePreviousFiscalDocumentText

Description

This method deletes existing fiscal document texts from AX 2012 in order to achieve idem potency when re-running the script after recovering from a failure. It is used internally by the other fiscal document text methods.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

DocuRef

DocuRefExt_BR

Remarks

Given a Common record where the fiscal document texts are attached to, it first deletes all the related DocuRef records that have a linked DocuRefExt_BR record, thus restricting the action to actual fiscal document texts. Secondly, it deletes all the orphan DocuRefExt_BR records that may exist.