Compartir a través de


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

purchReqValidateStatus

Description

Validates whether the records in the PurchReqTable and PurchReqLine tables are eligible for upgrade to the next release.

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

Affected Tables

PurchTable

Validation Issues

Validation Issues Description

Validates whether the status is supported.

Checked Conditions

Whether the status is draft or the status is greater than or equal to Approved.

Mitigation/How-to-fix

For all purchase requisition that fail validation, roll them back to draft mode or complete the workflow process.

Remarks

The next release does not support an in-flight upgrade of purchase requisitions. The purchase requisition must be in draft status or greater than or equal to approved status. This script throws an error if any purchase requisition is in a status that is not supported.