DBA Data[Home] [Help]

APPS.QA_MOAC_PKG dependencies on MO_GLOBAL

Line 16: mo_global.init(c_APPL_SHORT_NAME);

12: -- initialize the MOAC context
13: -- R12 Project MOAC 4637896 redesign. p_ou_id is currently unused.
14: PROCEDURE init(p_ou_id NUMBER DEFAULT NULL) IS
15: BEGIN
16: mo_global.init(c_APPL_SHORT_NAME);
17: END init;
18:
19:
20: -- initialize the MOAC context to single MOAC for given Inv Org

Line 24: mo_global.init(c_APPL_SHORT_NAME);

20: -- initialize the MOAC context to single MOAC for given Inv Org
21: PROCEDURE init_single_ou(p_ou_id NUMBER) IS
22: BEGIN
23: -- call MO API to initialize the MOAC context
24: mo_global.init(c_APPL_SHORT_NAME);
25: mo_global.set_policy_context('S', p_ou_id);
26:
27: END init_single_ou;
28:

Line 25: mo_global.set_policy_context('S', p_ou_id);

21: PROCEDURE init_single_ou(p_ou_id NUMBER) IS
22: BEGIN
23: -- call MO API to initialize the MOAC context
24: mo_global.init(c_APPL_SHORT_NAME);
25: mo_global.set_policy_context('S', p_ou_id);
26:
27: END init_single_ou;
28:
29:

Line 40: g_SESSION_ORG_ID := mo_global.get_current_org_id;

36: -- coming from a transaction, so required to
37: -- save the parent MOAC context
38: -- get the current org_id and access mode
39: -- and save it into session
40: g_SESSION_ORG_ID := mo_global.get_current_org_id;
41: g_SESSION_ACCESS_MODE := mo_global.get_access_mode;
42:
43: END save_context;
44:

Line 41: g_SESSION_ACCESS_MODE := mo_global.get_access_mode;

37: -- save the parent MOAC context
38: -- get the current org_id and access mode
39: -- and save it into session
40: g_SESSION_ORG_ID := mo_global.get_current_org_id;
41: g_SESSION_ACCESS_MODE := mo_global.get_access_mode;
42:
43: END save_context;
44:
45:

Line 53: mo_global.set_policy_context(g_SESSION_ACCESS_MODE, g_SESSION_ORG_ID);

49: BEGIN
50:
51: -- back to the transaction
52: -- set the context back to the original
53: mo_global.set_policy_context(g_SESSION_ACCESS_MODE, g_SESSION_ORG_ID);
54:
55: END restore_context;
56:
57: