284: --
285:
286: /*
287: We would have to replace the views po_headers with table
288: po_headers_all because the concurrent program POASLGEN can
289: access global agreements from OU's which are merely Purchasing Org's
290: for the GA and not necessarily Owning Orgs
291: */
292:
293: SELECT vendor_id,
294: type_lookup_code
295: INTO x_vendor_id,
296: x_type_lookup_code
297: FROM po_headers_all --
299:
300: --
301: -- Get the Purchasing UOM from P.O.
302: --
303:
304: /*
305: We would have to replace the views po_headers with table
306: po_headers_all because the concurrent program POASLGEN can
307: access global agreements from OU's which are merely Purchasing Org's
308: for the GA and not necessarily Owning Orgs
309: */
310: