485: Elsif (x_document_type = 'PO') then
486:
487: select head.vendor_id
488: into l_vendor_id
489: from po_headers_all head
490: where head.po_header_id = x_document_header_id;
491:
492: Elsif (x_document_type = 'AP') then
493: