DBA Data[Home] [Help]

APPS.WMS_XDOCK_PEGGING_PUB dependencies on PO_DISTRIBUTIONS_ALL

Line 1773: po_distributions_all pod, po_line_types plt, mtl_units_of_measure muom

1769: MIN(pod.project_id) AS project_id,
1770: MIN(pod.task_id) AS task_id,
1771: NULL AS lpn_id
1772: FROM po_headers_all poh, po_lines_all pol, po_line_locations_all poll,
1773: po_distributions_all pod, po_line_types plt, mtl_units_of_measure muom
1774: WHERE poh.type_lookup_code IN ('STANDARD','PLANNED','BLANKET','CONTRACT')
1775: AND NVL(poh.cancel_flag, 'N') IN ('N', 'I')
1776: AND NVL(poh.closed_code, 'OPEN') NOT IN ('FINALLY CLOSED','CLOSED FOR RECEIVING','CLOSED')
1777: AND pol.po_header_id = poh.po_header_id

Line 1798: FROM po_distributions_all pod2

1794: WMS_Xdock_Pegging_Pub.get_default_routing_id(l_organization_id,
1795: l_inventory_item_id,
1796: poh.vendor_id)) <> 3
1797: AND NOT EXISTS (SELECT 'Invalid Destination'
1798: FROM po_distributions_all pod2
1799: WHERE pod2.po_header_id = poll.po_header_id
1800: AND pod2.po_line_id = poll.po_line_id
1801: AND pod2.line_location_id = poll.line_location_id
1802: AND NVL(pod2.destination_type_code, pod2.destination_context) IN

Line 1829: po_line_locations_all poll, po_distributions_all pod, mtl_units_of_measure muom

1825: MIN(pod.project_id) AS project_id,
1826: MIN(pod.task_id) AS task_id,
1827: NULL AS lpn_id
1828: FROM rcv_shipment_headers rsh, rcv_shipment_lines rsl, po_lines_all pol, po_line_types plt,
1829: po_line_locations_all poll, po_distributions_all pod, mtl_units_of_measure muom
1830: WHERE rsh.shipment_num IS NOT NULL
1831: AND rsh.receipt_source_code = 'VENDOR'
1832: AND rsh.asn_type in ('ASN','ASBN')
1833: AND rsh.shipment_header_id = rsl.shipment_header_id

Line 1851: FROM po_distributions_all pod2

1847: WMS_Xdock_Pegging_Pub.get_default_routing_id(l_organization_id,
1848: l_inventory_item_id,
1849: rsh.vendor_id)) <> 3
1850: AND NOT EXISTS (SELECT 'Invalid Destination'
1851: FROM po_distributions_all pod2
1852: WHERE pod2.po_header_id = poll.po_header_id
1853: AND pod2.po_line_id = poll.po_line_id
1854: AND pod2.line_location_id = poll.line_location_id
1855: AND NVL(pod2.destination_type_code, pod2.destination_context) IN

Line 2215: FROM po_distributions_all

2211: SELECT muom.uom_code, pod.project_id, pod.task_id
2212: FROM po_line_locations_all poll, mtl_units_of_measure muom,
2213: (SELECT po_header_id, po_line_id, line_location_id,
2214: MIN(project_id) AS project_id, MIN(task_id) AS task_id
2215: FROM po_distributions_all
2216: WHERE po_header_id = l_supply_header_id
2217: AND line_location_id = l_supply_line_id
2218: GROUP BY po_header_id, po_line_id, line_location_id
2219: HAVING COUNT(DISTINCT NVL(project_id, -999)) = 1

Line 2240: FROM po_distributions_all

2236: SELECT muom.uom_code, pod.project_id, pod.task_id
2237: FROM rcv_shipment_lines rsl, po_line_locations_all poll, mtl_units_of_measure muom,
2238: (SELECT po_header_id, po_line_id, line_location_id,
2239: MIN(project_id) AS project_id, MIN(task_id) AS task_id
2240: FROM po_distributions_all
2241: WHERE po_header_id = l_supply_header_id
2242: AND line_location_id = l_supply_line_id
2243: GROUP BY po_header_id, po_line_id, line_location_id
2244: HAVING COUNT(DISTINCT NVL(project_id, -999)) = 1