DBA Data[Home] [Help]

APPS.JAI_CMN_MTAX_PKG dependencies on PO_LINE_LOCATIONS_ALL

Line 354: FROM po_line_locations_all

350:
351: CURSOR c_shipment_line( p_po_line_id IN NUMBER, p_shipment_no IN NUMBER,
352: p_shipment_type IN VARCHAR2, p_release_id IN NUMBER) IS
353: SELECT line_location_id
354: FROM po_line_locations_all
355: WHERE po_line_id = p_po_line_id
356: AND shipment_num = p_shipment_no
357: AND shipment_type = p_shipment_type
358: AND ( (p_release_id IS NULL) OR (p_release_id IS NOT NULL AND po_release_id = p_release_id));

Line 639: FROM po_headers_all pha, po_lines_all pla, po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll

635: plla.ship_to_organization_id, plla.ship_to_location_id,
636: plla.unit_meas_lookup_code, plla.price_override, plla.shipment_type,
637: pla.item_id, pla.unit_meas_lookup_code line_uom,
638: pha.segment1 document_no, pla.line_num, plla.shipment_num
639: FROM po_headers_all pha, po_lines_all pla, po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll
640: WHERE pha.po_header_id = pla.po_header_id
641: AND pla.po_line_id = plla.po_line_id
642: AND plla.line_location_id = jipll.line_location_id
643: AND plla.shipment_type = p_shipment_type

Line 666: UNION -- if there are no base records in po_line_locations_all but JAI_PO_LINE_LOCATIONS have

662: jai_constants.closed_code_preapproved ,
663: jai_constants.closed_code_req_appr ,
664: jai_constants.closed_code_incomplete ))
665: --'OPEN', 'IN PROCESS', 'APPROVED', 'PRE-APPROVED', 'REQUIRES REAPPROVAL', 'INCOMPLETE') )
666: UNION -- if there are no base records in po_line_locations_all but JAI_PO_LINE_LOCATIONS have
667: SELECT 2 source, jipll.rowid,
668: jipll.line_focus_id, jipll.line_location_id, jipll.po_line_id, jipll.po_header_id, jipll.tax_category_id,
669: pha.type_lookup_code, pha.vendor_id, pha.vendor_site_id, pha.currency_code,
670: pha.rate, pha.rate_date, pha.rate_type, pha.ship_to_location_id hdr_ship_to_location_id,

Line 725: po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll, po_releases_all pra

721: plla.unit_meas_lookup_code, plla.price_override, plla.shipment_type,
722: pla.item_id, pla.unit_meas_lookup_code line_uom,
723: pra.release_num, pha.segment1 document_no, pla.line_num, plla.shipment_num
724: FROM po_headers_all pha, po_lines_all pla,
725: po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll, po_releases_all pra
726: WHERE pha.po_header_id = pla.po_header_id
727: AND pla.po_line_id = plla.po_line_id
728: AND pla.po_line_id = jipll.po_line_id
729: AND plla.line_location_id = jipll.line_location_id