654: where pl.picking_line_id = pld.picking_line_id
655: and pld.delivery_id = del_id
656: and pl.ra_interface_status is not null
657: and exists( select 'interfaced lines exist' 658: from so_lines_all l 659: where l.s5 in (5,8,9)
660: and l.line_id = pl.order_line_id);
661: dummy varchar2(30);
662: