Compartilhar via


ReleaseUpdateDB60_Vend.deleteDanglingSourceDocumentHeaderLine 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_Vend

Method

deleteDanglingSourceDocumentHeaderLine

Description

Deletes the SourceDocumentLine and SourceDocumentHeader records for the deleted PurchLine and PurchTable records.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

SourceDocumentHeader

SourceDocumentLine

Remarks

The SourceDocumentLine and SourceDocumentHeader records are created in the pre upgrade scripts. When the PurchLine or PurchTable records were created they need to be deleted as well.