342: * ***************************************************************/
343: Begin
344: select 1
345: into v_counter2
346: from dual
347: where exists(select 'x'
348: from wip_flow_schedules
349: where demand_source_type = 2
350: and demand_source_line = to_char(order_line_id)); --Bugfix 6330114
626:
627: Begin
628: select 1
629: into v_counter2
630: from dual
631: where exists(select 'x'
632: from wip_flow_schedules
633: where demand_source_type = 2
634: and demand_source_line = to_char(order_line_id)); --Bugfix 6330114