4037: Cursor oper_unit_cur is
4038: select distinct operating_unit organization_id
4039: from inv_organization_info_v
4040: where organization_id in (select organization_id
4041: from bom_cto_src_orgs
4042: where line_id = p_line_id
4043: and organization_type = 3);
4044:
4045: l_option_specific varchar2(1);
5101: If p_mode = 'ORDER' and nvl(l_config_creation,1) in (1,2) then
5102: Begin
5103: select 'x'
5104: into l_buy_found
5105: from bom_cto_src_orgs
5106: where line_id = p_line_id
5107: and organization_type = 3
5108: and rownum=1;
5109: Exception when no_data_found then