140:
141: --added for moac
142: --Initialize MOAC and set org context to Multiple
143:
144: IF MO_GLOBAL.get_access_mode is null THEN
145: MO_GLOBAL.Init('QP');
146: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
147: END IF;--MO_GLOBAL
148:
141: --added for moac
142: --Initialize MOAC and set org context to Multiple
143:
144: IF MO_GLOBAL.get_access_mode is null THEN
145: MO_GLOBAL.Init('QP');
146: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
147: END IF;--MO_GLOBAL
148:
149: -- bug#3599792/bug#3888568/#bug4261021
142: --Initialize MOAC and set org context to Multiple
143:
144: IF MO_GLOBAL.get_access_mode is null THEN
145: MO_GLOBAL.Init('QP');
146: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
147: END IF;--MO_GLOBAL
148:
149: -- bug#3599792/bug#3888568/#bug4261021
150: IF p_MODIFIERS_tbl.COUNT <> 0 THEN
143:
144: IF MO_GLOBAL.get_access_mode is null THEN
145: MO_GLOBAL.Init('QP');
146: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
147: END IF;--MO_GLOBAL
148:
149: -- bug#3599792/bug#3888568/#bug4261021
150: IF p_MODIFIERS_tbl.COUNT <> 0 THEN
151: IF p_MODIFIERS_tbl(1).list_header_id IS NOT NULL AND
453:
454: --added for moac
455: --Initialize MOAC and set org context to Multiple
456:
457: IF MO_GLOBAL.get_access_mode is null THEN
458: MO_GLOBAL.Init('QP');
459: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
460: END IF;--MO_GLOBAL
461:
454: --added for moac
455: --Initialize MOAC and set org context to Multiple
456:
457: IF MO_GLOBAL.get_access_mode is null THEN
458: MO_GLOBAL.Init('QP');
459: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
460: END IF;--MO_GLOBAL
461:
462:
455: --Initialize MOAC and set org context to Multiple
456:
457: IF MO_GLOBAL.get_access_mode is null THEN
458: MO_GLOBAL.Init('QP');
459: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
460: END IF;--MO_GLOBAL
461:
462:
463:
456:
457: IF MO_GLOBAL.get_access_mode is null THEN
458: MO_GLOBAL.Init('QP');
459: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
460: END IF;--MO_GLOBAL
461:
462:
463:
464: -- Perform Value to Id conversion
638:
639: --added for moac
640: --Initialize MOAC and set org context to Multiple
641:
642: IF MO_GLOBAL.get_access_mode is null THEN
643: MO_GLOBAL.Init('QP');
644: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
645: END IF;--MO_GLOBAL
646:
639: --added for moac
640: --Initialize MOAC and set org context to Multiple
641:
642: IF MO_GLOBAL.get_access_mode is null THEN
643: MO_GLOBAL.Init('QP');
644: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
645: END IF;--MO_GLOBAL
646:
647:
640: --Initialize MOAC and set org context to Multiple
641:
642: IF MO_GLOBAL.get_access_mode is null THEN
643: MO_GLOBAL.Init('QP');
644: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
645: END IF;--MO_GLOBAL
646:
647:
648:
641:
642: IF MO_GLOBAL.get_access_mode is null THEN
643: MO_GLOBAL.Init('QP');
644: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
645: END IF;--MO_GLOBAL
646:
647:
648:
649: -- Standard check for Val/ID conversion