Unable To Reset PO Stuck In Process Status Poxrespo.sql Fails With Message "This PO has at least one distribution with wrong Encumbrance amount." (Doc ID 2055457.1)

Last updated on JUNE 01, 2016

Applies to:

Oracle Purchasing - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When attempting to reject a Purchase Order (PO) it fails with a Document Manager Failed error and the PO can not be reset back to Incomplete status as the following error occurs when trying to run script poxrespo.sql.


Steps
The issue can be reproduced at will with the following steps:
Run poxrespo.sql script (version lower then 120.0.12010000.6) which was previously obtained from <Note 390023.1> - 'How To Reset a Purchase Order or Requisition From In Process or Pre-Approved To Incomplete/Requires Reapproval For Isolated Cases'. 

For example:

SQL> @poxrespo

Please enter the PO Number to reset : 12345
Please enter the organization id to which the PO belongs : 121
Do you want to delete the action history since the last approval ? Y

Error above is returned.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms