DBA Data[Home] [Help]

APPS.JAI_CMN_MTAX_PKG dependencies on JAI_PO_LINE_LOCATIONS

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

498: plla.ship_to_organization_id, plla.ship_to_location_id,
499: plla.unit_meas_lookup_code, plla.price_override, plla.shipment_type,
500: pla.item_id, pla.unit_meas_lookup_code line_uom,
501: pha.segment1 document_no, pla.line_num, plla.shipment_num
502: FROM po_headers_all pha, po_lines_all pla, po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll
503: WHERE pha.po_header_id = pla.po_header_id
504: AND pla.po_line_id = plla.po_line_id
505: AND plla.line_location_id = jipll.line_location_id
506: AND plla.shipment_type = p_shipment_type

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

525: jai_constants.closed_code_preapproved ,
526: jai_constants.closed_code_req_appr ,
527: jai_constants.closed_code_incomplete ))
528: --'OPEN', 'IN PROCESS', 'APPROVED', 'PRE-APPROVED', 'REQUIRES REAPPROVAL', 'INCOMPLETE') )
529: UNION -- if there are no base records in po_line_locations_all but JAI_PO_LINE_LOCATIONS have
530: SELECT 2 source, jipll.rowid,
531: jipll.line_focus_id, jipll.line_location_id, jipll.po_line_id, jipll.po_header_id, jipll.tax_category_id,
532: pha.type_lookup_code, pha.vendor_id, pha.vendor_site_id, pha.currency_code,
533: pha.rate, pha.rate_date, pha.rate_type, pha.ship_to_location_id hdr_ship_to_location_id,

Line 541: FROM po_headers_all pha, po_lines_all pla, JAI_PO_LINE_LOCATIONS jipll

537: -1 ship_to_organization_id, -1 ship_to_location_id,
538: null unit_meas_lookup_code, 0 price_override, null shipment_type,
539: pla.item_id, pla.unit_meas_lookup_code line_uom,
540: pha.segment1 document_no, pla.line_num, -1 shipment_num
541: FROM po_headers_all pha, po_lines_all pla, JAI_PO_LINE_LOCATIONS jipll
542: WHERE pha.po_header_id = pla.po_header_id
543: AND pla.po_line_id = jipll.po_line_id
544: AND ((p_document_no IS NULL) or (p_document_no is NOT NULL and pha.segment1 = p_document_no ))
545: AND pha.type_lookup_code = p_document_type

Line 588: po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll, po_releases_all pra

584: plla.unit_meas_lookup_code, plla.price_override, plla.shipment_type,
585: pla.item_id, pla.unit_meas_lookup_code line_uom,
586: pra.release_num, pha.segment1 document_no, pla.line_num, plla.shipment_num
587: FROM po_headers_all pha, po_lines_all pla,
588: po_line_locations_all plla, JAI_PO_LINE_LOCATIONS jipll, po_releases_all pra
589: WHERE pha.po_header_id = pla.po_header_id
590: AND pla.po_line_id = plla.po_line_id
591: AND pla.po_line_id = jipll.po_line_id
592: AND plla.line_location_id = jipll.line_location_id

Line 1753: UPDATE JAI_PO_LINE_LOCATIONS

1749: );
1750:
1751: END IF;
1752:
1753: UPDATE JAI_PO_LINE_LOCATIONS
1754: SET tax_category_id = v_dflt_tax_category_id
1755: WHERE rowid = shipment_rec.rowid;
1756:
1757: ELSE -- Failed to remove old taxes and insert new taxes because of some reason(will be shown in the LOG)

Line 2316: UPDATE JAI_PO_LINE_LOCATIONS

2312: );
2313:
2314: END IF;
2315:
2316: UPDATE JAI_PO_LINE_LOCATIONS
2317: SET tax_category_id = v_dflt_tax_category_id
2318: WHERE rowid = releases_rec.rowid;
2319:
2320: ELSE -- Failed to remove old taxes and insert new taxes because of some reason(will be shown in the LOG)

Line 3613: p_line_focus_id IN NUMBER, -- IF 'PO' this should contain JAI_PO_LINE_LOCATIONS.line_focus_id and

3609:
3610: PROCEDURE del_taxes_after_validate
3611: (
3612: p_document_type IN VARCHAR2, -- eg. PO, SO, REQUISITION
3613: p_line_focus_id IN NUMBER, -- IF 'PO' this should contain JAI_PO_LINE_LOCATIONS.line_focus_id and
3614: p_line_location_id IN NUMBER,
3615: p_line_id IN NUMBER, -- if 'SO' then this should contain JAI_OM_OE_SO_LINES.line_id
3616: p_success OUT NOCOPY NUMBER,
3617: p_message OUT NOCOPY VARCHAR2