DBA Data[Home] [Help]

APPS.AP_ACCTG_DATA_FIX_PKG dependencies on MO_GLOBAL

Line 918: MO_GLOBAL.SET_POLICY_CONTEXT('S', l_orgid);

914: END;
915:
916: l_debug_info := 'Setting org context..';
917: l_orgid := l_event_security_context.security_id_int_1;
918: MO_GLOBAL.SET_POLICY_CONTEXT('S', l_orgid);
919:
920: BEGIN
921:
922: l_debug_info := 'Checking if journals exist..';

Line 2212: mo_Global.Set_Policy_Context('S',Events_to_Process_tab(i).Cur_Org_Id);

2208: End if; -- p_Gl_Date is null
2209: End If; -- transaction date in closed period
2210: END IF;
2211:
2212: mo_Global.Set_Policy_Context('S',Events_to_Process_tab(i).Cur_Org_Id);
2213:
2214: l_log_msg := 'Set Org context to '||Events_to_Process_tab(i).Cur_Org_Id;
2215: IF (G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL ) THEN
2216: FND_LOG.STRING(G_LEVEL_PROCEDURE,

Line 2791: MO_GLOBAL.set_policy_context('S', l_org_id);

2787: l_org_id := undo_events_list.org_id_l(i);
2788:
2789: IF l_org_id <> l_prev_org_id THEN
2790: l_debug_info := 'Setting the org context to org_id '||l_org_id;
2791: MO_GLOBAL.set_policy_context('S', l_org_id);
2792: END IF;
2793:
2794: l_debug_info := 'Before calling the undo_accounting api';
2795: IF nvl(undo_events_list.budgetary_control_flag_l(i), 'N') <> 'Y' THEN --Bug 10072990, Bug12407622

Line 3513: MO_GLOBAL.set_policy_context('S', l_org_id);

3509: G_MODULE_NAME||l_procedure_name,
3510: l_debug_info);
3511: END IF;
3512:
3513: MO_GLOBAL.set_policy_context('S', l_org_id);
3514:
3515:
3516: -- Proceed with the remainder of the Validations
3517: -- All the Validations would be carried out, and the

Line 4123: P_Org_Id IN number default mo_global.get_current_org_id)

4119: END;
4120:
4121:
4122: Function Is_period_open(P_Date IN date,
4123: P_Org_Id IN number default mo_global.get_current_org_id)
4124: return varchar2
4125: IS
4126: l_period_name Varchar2(15) Default Null;
4127: Begin

Line 4332: MO_GLOBAL.SET_POLICY_CONTEXT('S', l_orgid);

4328:
4329: --bug 12434758
4330: l_debug_info := 'Setting org context..';
4331: l_orgid := l_event_security_context.security_id_int_1;
4332: MO_GLOBAL.SET_POLICY_CONTEXT('S', l_orgid);
4333:
4334: IF p_source_type = 'AP_INVOICES' THEN
4335:
4336: /* delete PREPAY APPL cascade adjustments */

Line 4661: MO_GLOBAL.set_policy_context('S', l_org_id);

4657: WHERE invoice_id = repop_invoices_list.source_id_l(i);
4658:
4659: IF l_org_id <> l_prev_org_id THEN
4660: l_debug_info := 'Setting the org context to org_id '||l_org_id;
4661: MO_GLOBAL.set_policy_context('S', l_org_id);
4662: END IF;
4663:
4664: l_debug_info := 'After the l_sql_stmt, before opening the cursor';
4665: OPEN distributions_cur(repop_invoices_list.source_id_l(i));

Line 5655: mo_Global.Set_Policy_Context( 'S', Events_to_Process_tab( i ).Cur_Org_Id );

5651: END IF; -- p_Gl_Date is null
5652:
5653: END IF; -- transaction date in closed period
5654: END IF;
5655: mo_Global.Set_Policy_Context( 'S', Events_to_Process_tab( i ).Cur_Org_Id );
5656: l_log_msg := 'Set Org context to '||Events_to_Process_tab( i ).Cur_Org_Id;
5657:
5658: IF( G_LEVEL_PROCEDURE >= G_CURRENT_RUNTIME_LEVEL ) THEN
5659: FND_LOG.STRING( G_LEVEL_PROCEDURE, G_MODULE_NAME||l_procedure_name, l_log_msg );