DBA Data[Home] [Help]

APPS.PON_AUCTION_CREATE_PO_PKG dependencies on MO_GLOBAL

Line 139: mo_global.init('PON');

135: FND_PROFILE.GET('RESP_APPL_ID', x_application_id);
136:
137: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);
138: --bug 5245568; need to call init to intialize MOAC
139: mo_global.init('PON');
140:
141: if(l_debug_enabled = 'Y') then
142: x_progress := ++l_progress || l_api_name || ' : after retrieving resp_id and resp_appl_id';
143: log_message(x_progress);

Line 3607: v_old_policy := mo_global.get_access_mode();

3603:
3604: log_message(x_progress);
3605:
3606: -- Get the current policy
3607: v_old_policy := mo_global.get_access_mode();
3608: v_old_org_id := mo_global.get_current_org_id();
3609:
3610: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
3611: fnd_log.string(

Line 3608: v_old_org_id := mo_global.get_current_org_id();

3604: log_message(x_progress);
3605:
3606: -- Get the current policy
3607: v_old_policy := mo_global.get_access_mode();
3608: v_old_org_id := mo_global.get_current_org_id();
3609:
3610: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
3611: fnd_log.string(
3612: fnd_log.level_statement,

Line 3618: mo_global.set_policy_context('S', x_pdoi_header.org_id);

3614: 'old_policy = ' || v_old_policy || ', old_org_id = ' || v_old_org_id);
3615: end if;
3616:
3617: -- Set the connection's policy context
3618: mo_global.set_policy_context('S', x_pdoi_header.org_id);
3619:
3620: --create BPA/CPA/SPO
3621: IF x_pdoi_header.contract_type = 'CONTRACT' THEN
3622: x_progress := '65: GENERATE_POS: Just before create_CPA interface id '||x_interface_header_id;

Line 3767: mo_global.set_policy_context(v_old_policy,v_old_org_id);

3763:
3764: END IF;--END if contractType is CONTRACT
3765:
3766: -- Set the policy context back
3767: mo_global.set_policy_context(v_old_policy,v_old_org_id);
3768:
3769: END IF;
3770:
3771: IF (x_error_code = PO_SUCCESS) THEN

Line 3898: v_old_policy := mo_global.get_access_mode();

3894:
3895: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);
3896:
3897: -- Get the current policy
3898: v_old_policy := mo_global.get_access_mode();
3899: v_old_org_id := mo_global.get_current_org_id();
3900:
3901: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
3902: fnd_log.string(

Line 3899: v_old_org_id := mo_global.get_current_org_id();

3895: fnd_global.APPS_INITIALIZE (p_user_id, x_responsibility_id, x_application_id);
3896:
3897: -- Get the current policy
3898: v_old_policy := mo_global.get_access_mode();
3899: v_old_org_id := mo_global.get_current_org_id();
3900:
3901: if (fnd_log.level_statement >= fnd_log.g_current_runtime_level) then
3902: fnd_log.string(
3903: fnd_log.level_statement,

Line 3909: mo_global.set_policy_context('S', p_pdoi_header.org_id);

3905: 'old_policy = ' || v_old_policy || ', old_org_id = ' || v_old_org_id);
3906: end if;
3907:
3908: -- Set the connection's policy context
3909: mo_global.set_policy_context('S', p_pdoi_header.org_id);
3910:
3911: x_doc_type_to_create := p_pdoi_header.contract_type;
3912:
3913:

Line 4040: mo_global.set_policy_context(v_old_policy, v_old_org_id);

4036: p_pdoi_header.update_sourcing_rules
4037: );
4038:
4039: -- Set the org context back
4040: mo_global.set_policy_context(v_old_policy, v_old_org_id);
4041:
4042: end if;
4043:
4044: