4877: (OE_ORDER_IMPORT_INTEROP_PUB.Get_Open_Qty(posp.order_source_id, porh.requisition_header_id, porl.requisition_line_id))>0)
4878: AND NOT EXISTS
4879: (SELECT 'line in interface table'
4880: FROM
4881: oe_headers_iface_all SOHI,
4882: po_system_parameters POSP
4883: WHERE
4884: SOHI.orig_sys_document_ref = to_char(PRH.requisition_header_id)
4885: AND SOHI.order_source_id = POSP.order_source_id));