249:
250: -- Get vendor site id from po header
251: select vendor_site_id, vendor_id
252: into x_vendor_site_id, x_vendor_id
253: from po_headers
254: where po_header_id = x_po_header_id;
255:
256: -- The following code is copied from
257: -- PO_SHIPMENTS_C22.invoice_match_option, POXPOPOS.pld