Procurement - EBS (MOSC)

MOSC Banner

Selecting all open PO's in po_headers_all

edited Mar 12, 2009 1:33PM in Procurement - EBS (MOSC) 2 commentsAnswered
Hi Guys, I'm trying to get select all open approved purchase orders for one of my users. This is for export to a third party system so they can be received against.

I am trying the following sql on the po_headers_all table but it is only showing around 9 results when i know there are a lot more (at last count 30) by running the Open Purchase Orders report (By Buyer) in Oracle Apps.

Here is my sql.

select CLOSED_CODE from PO_HEADERS_ALL
where
AGENT_ID = 15 AND
APPROVED_FLAG = 'Y' AND
CLOSED_CODE <> 'FINALLY CLOSED' AND
CLOSED_CODE <> 'CLOSED'

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