DBA Data[Home] [Help]

APPS.CSP_EXCESS_PARTS_PVT dependencies on PO_REQUISITION_LINES_ALL

Line 1760: po_requisition_lines_all pol

1756: get_shipped_qty(p_organization_id,p_inventory_item_id, so.line_id))
1757: into l_total_demand_qty
1758: from oe_order_lines_all so,
1759: po_requisition_headers_all poh,
1760: po_requisition_lines_all pol
1761: where so.ORIG_SYS_DOCUMENT_REF = poh.segment1
1762: and poh.requisition_header_id = pol .requisition_header_id
1763: and so.orig_sys_line_ref = pol.line_num
1764: and ( pol.DESTINATION_ORGANIZATION_ID <> p_organization_id or

Line 1792: po_requisition_lines_all pol

1788: select sum(PRIMARY_RESERVATION_QUANTITY)
1789: into l_total_reserve_qty
1790: from mtl_reservations md, oe_order_lines_all so,
1791: po_req_distributions_all pod,
1792: po_requisition_lines_all pol
1793: where md.DEMAND_SOURCE_LINE_ID = so.LINE_ID
1794: and so.ORIG_SYS_LINE_REF = pod.DISTRIBUTION_ID
1795: and pod.REQUISITION_LINE_ID = pol.REQUISITION_LINE_ID
1796: and (pol.DESTINATION_ORGANIZATION_ID <> p_organization_id or