DBA Data[Home] [Help]

APPS.JTF_RS_GROUP_USAGE_VUHK dependencies on MO_GLOBAL

Line 11: mo_global.set_policy_context(p_acc_mode, p_org_id);

7: PROCEDURE restore_context(p_acc_mode VARCHAR2,
8: p_org_id NUMBER) IS
9: BEGIN
10: IF p_acc_mode IS NOT NULL then
11: mo_global.set_policy_context(p_acc_mode, p_org_id);
12: END IF;
13: END restore_context;
14:
15: /* Vertcal Industry Procedure for pre processing in case of create resource group usage */

Line 108: l_orig_org_id := mo_global.get_current_org_id;

104: RETURN;
105: END IF;
106:
107: -- store MOAC session info in local variables
108: l_orig_org_id := mo_global.get_current_org_id;
109: l_orig_acc_mode := mo_global.get_access_mode;
110:
111: -- loop through orgs
112: FOR o IN get_orgs LOOP

Line 109: l_orig_acc_mode := mo_global.get_access_mode;

105: END IF;
106:
107: -- store MOAC session info in local variables
108: l_orig_org_id := mo_global.get_current_org_id;
109: l_orig_acc_mode := mo_global.get_access_mode;
110:
111: -- loop through orgs
112: FOR o IN get_orgs LOOP
113: mo_global.set_policy_context('S', o.org_id);

Line 113: mo_global.set_policy_context('S', o.org_id);

109: l_orig_acc_mode := mo_global.get_access_mode;
110:
111: -- loop through orgs
112: FOR o IN get_orgs LOOP
113: mo_global.set_policy_context('S', o.org_id);
114:
115: -- if the usage is SALES_COMP, then find all srps in this group and their ancestors in the comp group hierarchy.
116: -- call mark_notify_salesreps for each of them
117: IF (p_usage = 'SALES_COMP') THEN

Line 353: l_orig_org_id := mo_global.get_current_org_id;

349: RETURN;
350: END IF;
351:
352: -- store MOAC session info in local variables
353: l_orig_org_id := mo_global.get_current_org_id;
354: l_orig_acc_mode := mo_global.get_access_mode;
355:
356: -- loop through orgs
357: FOR o IN get_orgs LOOP

Line 354: l_orig_acc_mode := mo_global.get_access_mode;

350: END IF;
351:
352: -- store MOAC session info in local variables
353: l_orig_org_id := mo_global.get_current_org_id;
354: l_orig_acc_mode := mo_global.get_access_mode;
355:
356: -- loop through orgs
357: FOR o IN get_orgs LOOP
358: mo_global.set_policy_context('S', o.org_id);

Line 358: mo_global.set_policy_context('S', o.org_id);

354: l_orig_acc_mode := mo_global.get_access_mode;
355:
356: -- loop through orgs
357: FOR o IN get_orgs LOOP
358: mo_global.set_policy_context('S', o.org_id);
359:
360: -- if the usage is SALES_COMP, then find all srps in this group and their ancestors in the comp group hierarchy.
361: -- call mark_notify_salesreps for each of them
362: IF (p_usage = 'SALES_COMP') THEN