DBA Data[Home] [Help]

APPS.WIP_WPS_COMMON dependencies on OE_ORDER_LINES_ALL

Line 1408: mtl_reservations mr, oe_order_lines_all ool

1404: from dual
1405: where exists (
1406: select 1
1407: from HZ_CUST_ACCOUNTS cust_accnt, HZ_PARTIES cust_party,
1408: mtl_reservations mr, oe_order_lines_all ool
1409: where mr.demand_source_line_id = ool.line_id
1410: and mr.demand_source_type_id = 2
1411: and mr.supply_source_type_id = 5
1412: and cust_party.party_name like p_cust_name

Line 1465: from mtl_reservations mr, oe_order_lines_all ool, wip_discrete_jobs wdj

1461: so_name := '';
1462:
1463: select count(distinct ool.sold_to_org_id), count(distinct mr.demand_source_header_id)
1464: into cust_cnt, so_cnt
1465: from mtl_reservations mr, oe_order_lines_all ool, wip_discrete_jobs wdj
1466: where mr.demand_source_line_id = ool.line_id
1467: and mr.demand_source_type_id = 2
1468: and mr.supply_source_type_id = 5
1469: and mr.supply_source_header_id = p_wip_entity_id

Line 1477: from mtl_reservations mr, oe_order_lines_all ool,

1473:
1474: if ( cust_cnt >0 ) then -- so_cnt should >0 too
1475: select mso.segment1, cust_party.party_name
1476: into so_name, cust_name
1477: from mtl_reservations mr, oe_order_lines_all ool,
1478: hz_cust_accounts cust_accnt, hz_parties cust_party,
1479: mtl_sales_orders mso
1480: where mr.demand_source_line_id = ool.line_id
1481: and mr.demand_source_type_id = 2