605: procedure set_multiorg_context(org_type in varchar2, org_id in number) is
606:
607: begin
608:
609: mo_global.init('M');
610: if ( org_type = 'S' ) then
611: mo_global.set_policy_context('S', org_id);
612: elsif ( org_type = 'M' ) then
613: mo_global.set_policy_context('M', null);
607: begin
608:
609: mo_global.init('M');
610: if ( org_type = 'S' ) then
611: mo_global.set_policy_context('S', org_id);
612: elsif ( org_type = 'M' ) then
613: mo_global.set_policy_context('M', null);
614: end if;
615:
609: mo_global.init('M');
610: if ( org_type = 'S' ) then
611: mo_global.set_policy_context('S', org_id);
612: elsif ( org_type = 'M' ) then
613: mo_global.set_policy_context('M', null);
614: end if;
615:
616:
617: end set_multiorg_context;