Showing posts with label Order holds. Show all posts
Showing posts with label Order holds. Show all posts

Thursday, January 7, 2021

Query to find order holds in Oracle apps R12

Hi! This post is to show the query to find holds on sales orders in Oracle apps R12.

Below is the query that you can use to find holds on a specific order:

SELECT ooh.order_number,
       ohd.hold_id,
       ohd.name hold_name
FROM oe_order_headers_all ooh,
     oe_order_holds_all ooha,
     oe_hold_sources_all ohs,
     oe_hold_definitions ohd
WHERE ooh.header_id = ooha.header_id
  AND ohs.hold_id = ohd.hold_id
  AND ohs.hold_source_id = ooha.hold_source_id
  AND ooh.order_number = <order_number>;


Happy learning!!

Featured Posts

Sample Real Time Assignment in Oracle SOA