Procurement - EBS (MOSC)

MOSC Banner

Query for PO Revision History without Duplicates

edited Jun 18, 2021 3:00PM in Procurement - EBS (MOSC) 2 commentsAnswered

Product Name and Version: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

I'm trying to query the history of purchase orders to the shipment level. In particular I'm trying to track changes to the Promised Date over time. I found a good document on the structure of the archive tables at Document 251537.1 (oracle.com).

The problem is, not every revision is in every table. Changes go to the relevant table only, meaning that if I join on revision numbers I don't get all revisions. If I don't join on that I get a bunch of duplicate results though. Is there a way to connect the three PO history tables so as to display the entire revision history without duplicates? Or is there a view somewhere that does this already?

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