44: FROM po_headers_interface PHI,
45: po_headers_draft_all PHDA,
46: po_headers_all POH,
47: po_drafts DFT,
48: po_vendors PV1,
49: po_vendors PV2
50: WHERE DFT.draft_id = PO_AUTOCREATE_PARAMS.g_draft_id
51: AND DFT.draft_id = PHDA.draft_id(+)
52: AND DFT.document_id = PHDA.po_header_id(+)
45: po_headers_draft_all PHDA,
46: po_headers_all POH,
47: po_drafts DFT,
48: po_vendors PV1,
49: po_vendors PV2
50: WHERE DFT.draft_id = PO_AUTOCREATE_PARAMS.g_draft_id
51: AND DFT.draft_id = PHDA.draft_id(+)
52: AND DFT.document_id = PHDA.po_header_id(+)
53: AND PHDA.vendor_id = PV1.vendor_id(+)