295: --
296:
297: /*
298: We would have to replace the views po_headers with table
299: po_headers_all because the concurrent program POASLGEN can
300: access global agreements from OU's which are merely Purchasing Org's
301: for the GA and not necessarily Owning Orgs
302: */
303:
304: SELECT vendor_id,
305: type_lookup_code
306: INTO x_vendor_id,
307: x_type_lookup_code
308: FROM po_headers_all --
310:
311: --
312: -- Get the Purchasing UOM from P.O.
313: --
314:
315: /*
316: We would have to replace the views po_headers with table
317: po_headers_all because the concurrent program POASLGEN can
318: access global agreements from OU's which are merely Purchasing Org's
319: for the GA and not necessarily Owning Orgs
320: */
321: