Procurement - EBS (MOSC)

MOSC Banner

Purchase Order Cancellation Functionality in R12

edited Jun 17, 2016 5:02AM in Procurement - EBS (MOSC) 2 commentsAnswered

Hi,

I want to cancel a PO from PL/SQL package. I am using the API po_document_control_pub.control_document to cancel the PO but it is throwing the error code 'U' (UnExpected) with below error messages:

User-Defined Exception in Package po.plsql.PO_Document_Cancel_PVT. Procedure update_closed_code:002:1:User-Defined Exception

User-Defined Exception in Package PO_Document_Cancel_PVT Procedure cancel_document:004.

But from PO screen -> Tools -> Cancel option, i am able to cancel the PO.

Anybody has idea on what API, the PO screen is using for the PO Cancellation.

Thanks

Harikrishna

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center