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
445:
446: --added for moac
447: --Initialize MOAC and set org context to Multiple
448:
449: IF MO_GLOBAL.get_access_mode is null THEN
450: MO_GLOBAL.Init('QP');
451: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
452: END IF;--MO_GLOBAL
453:
446: --added for moac
447: --Initialize MOAC and set org context to Multiple
448:
449: IF MO_GLOBAL.get_access_mode is null THEN
450: MO_GLOBAL.Init('QP');
451: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
452: END IF;--MO_GLOBAL
453:
454:
447: --Initialize MOAC and set org context to Multiple
448:
449: IF MO_GLOBAL.get_access_mode is null THEN
450: MO_GLOBAL.Init('QP');
451: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
452: END IF;--MO_GLOBAL
453:
454:
455:
448:
449: IF MO_GLOBAL.get_access_mode is null THEN
450: MO_GLOBAL.Init('QP');
451: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
452: END IF;--MO_GLOBAL
453:
454:
455:
456: -- Perform Value to Id conversion
630:
631: --added for moac
632: --Initialize MOAC and set org context to Multiple
633:
634: IF MO_GLOBAL.get_access_mode is null THEN
635: MO_GLOBAL.Init('QP');
636: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
637: END IF;--MO_GLOBAL
638:
631: --added for moac
632: --Initialize MOAC and set org context to Multiple
633:
634: IF MO_GLOBAL.get_access_mode is null THEN
635: MO_GLOBAL.Init('QP');
636: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
637: END IF;--MO_GLOBAL
638:
639:
632: --Initialize MOAC and set org context to Multiple
633:
634: IF MO_GLOBAL.get_access_mode is null THEN
635: MO_GLOBAL.Init('QP');
636: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
637: END IF;--MO_GLOBAL
638:
639:
640:
633:
634: IF MO_GLOBAL.get_access_mode is null THEN
635: MO_GLOBAL.Init('QP');
636: -- MO_GLOBAL.set_policy_context('M', null);--commented as MO_GLOBAL.Init will set_policy_context to 'M' or 'S' based on profile settings
637: END IF;--MO_GLOBAL
638:
639:
640:
641: -- Standard check for Val/ID conversion