Compartilhar via


ReleaseUpdateTransformDB50_Vend.validateVendPurchOrderJour 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

ReleaseUpdateTransformDB50_Vend

Method

validateVendPurchOrderJour

Description

Validates whether the PurchLine and VendPurchOrderTrans tables contain undeleted or duplicated records.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts payable

Validation Issues

Validation Issues Description

The records that should be deleted were not deleted.

Checked Conditions

The PurchLine record with the same InventTransId value exists in the PurchLineDelete or SalesLine tables. The VendPurchOrderTrans record with the same InventTransId value but a different OrigPurchId value exists in the VendPurchOrderTransDup table.

Mitigation/How-to-fix

Deletes the orphan records.

Remarks

This is a validation script.