🔹 Join the OracleApps88 Telegram Group - Stay up to date with the latest on Oracle EBS R12 and Oracle Cloud/Fusion Applications. 📌 Telegram Group : https://t.me/OracleApps88

💡 Facing issues copying code/scripts or viewing posts? We're here to help!
📬 Contact on Telegram : https://t.me/apps88
📱 Telegram/WhatsApp: +91 905 957 4321
📧 Email Support: OracleApp88@Yahoo.com

Wednesday, December 16, 2015

Query To Find the Drop Ship Purchase Orders

SELECT
  prh.segment1 req_num,
  prh.INTERFACE_SOURCE_CODE,
  prl.line_num req_line_num,
  poll.line_location_id po_line_loc_id,
  poh.segment1 po_blanket_num,
  poh.org_id org,
  hr.name,
  oed.line_location_id oe_line_loc
FROM
  po_requisition_headers_all prh,
  po_requisition_lines_all prl,
  po_line_locations_all poll,
  po_headers_all poh,
  oe_drop_ship_sources oed,
  hr_all_organization_units hr
WHERE 1=1
  AND prh.requisition_header_id = prl.REQUISITION_HEADER_ID
  AND hr.organization_id = poh.org_id
  AND prl.line_location_id = poll.line_location_id
  AND poh.po_header_id = poll.po_header_id
  AND oed.line_location_id = poll.line_location_id
  AND poh.org_id = 204

ORDER BY poh.creation_date DESC;

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect