DBA Data[Home] [Help]

APPS.OKL_XLA_EVENTS_PVT dependencies on MO_GLOBAL

Line 244: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

240: l_event_source_info.entity_type_code := l_entity_type_code;
241: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
242: l_event_source_info.source_id_int_1 := p_tcn_id;
243:
244: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
245:
246: WRITE_TO_LOG('Contents of l_event_source_info :');
247: WRITE_TO_LOG('===================================');
248: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 272: l_org_id := mo_global.get_current_org_id;

268:
269: BEGIN
270: l_sla_api_name := 'CREATE_EVENT';
271: --Bug 8946667 by nikshah.
272: l_org_id := mo_global.get_current_org_id;
273: l_access_mode := mo_global.get_access_mode;
274:
275: l_event_id :=
276: xla_events_pub_pkg.create_event(p_event_source_info => l_event_source_info

Line 273: l_access_mode := mo_global.get_access_mode;

269: BEGIN
270: l_sla_api_name := 'CREATE_EVENT';
271: --Bug 8946667 by nikshah.
272: l_org_id := mo_global.get_current_org_id;
273: l_access_mode := mo_global.get_access_mode;
274:
275: l_event_id :=
276: xla_events_pub_pkg.create_event(p_event_source_info => l_event_source_info
277: ,p_event_type_code => l_event_type_code

Line 289: IF mo_global.get_current_org_id <> l_org_id OR

285: );
286: --Bug 8946667 by nikshah.
287: --Org context was getting lost in xla_events_pub_pkg.create_event randomly
288: --So below workaround was made to fix the issue.
289: IF mo_global.get_current_org_id <> l_org_id OR
290: mo_global.get_access_mode <> l_access_mode
291: THEN
292: mo_global.set_policy_context(l_access_mode,l_org_id);
293: END IF;

Line 290: mo_global.get_access_mode <> l_access_mode

286: --Bug 8946667 by nikshah.
287: --Org context was getting lost in xla_events_pub_pkg.create_event randomly
288: --So below workaround was made to fix the issue.
289: IF mo_global.get_current_org_id <> l_org_id OR
290: mo_global.get_access_mode <> l_access_mode
291: THEN
292: mo_global.set_policy_context(l_access_mode,l_org_id);
293: END IF;
294:

Line 292: mo_global.set_policy_context(l_access_mode,l_org_id);

288: --So below workaround was made to fix the issue.
289: IF mo_global.get_current_org_id <> l_org_id OR
290: mo_global.get_access_mode <> l_access_mode
291: THEN
292: mo_global.set_policy_context(l_access_mode,l_org_id);
293: END IF;
294:
295: EXCEPTION
296: WHEN OTHERS THEN

Line 465: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

461: l_event_source_info.entity_type_code := l_entity_type_code;
462: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
463: l_event_source_info.source_id_int_1 := p_tcn_id;
464:
465: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
466:
467: WRITE_TO_LOG('Contents of l_event_source_info :');
468: WRITE_TO_LOG('===================================');
469: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 672: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

668: l_event_source_info.entity_type_code := l_entity_type_code;
669: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
670: l_event_source_info.source_id_int_1 := p_tcn_id;
671:
672: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
673:
674: WRITE_TO_LOG('Contents of l_event_source_info :');
675: WRITE_TO_LOG('===================================');
676: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 913: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

909: l_event_source_info.entity_type_code := l_entity_type_code;
910: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
911: l_event_source_info.source_id_int_1 := p_tcn_id;
912:
913: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
914:
915: WRITE_TO_LOG('Contents of l_event_source_info :');
916: WRITE_TO_LOG('===================================');
917: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 1249: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

1245: l_event_source_info.entity_type_code := l_entity_type_code;
1246: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
1247: l_event_source_info.source_id_int_1 := p_tcn_id;
1248:
1249: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
1250:
1251: WRITE_TO_LOG('Contents of l_event_source_info :');
1252: WRITE_TO_LOG('===================================');
1253: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 1437: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

1433: l_event_source_info.entity_type_code := l_entity_type_code;
1434: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
1435: l_event_source_info.source_id_int_1 := p_tcn_id;
1436:
1437: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
1438:
1439: WRITE_TO_LOG('Contents of l_event_source_info :');
1440: WRITE_TO_LOG('===================================');
1441: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 1637: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

1633: l_event_source_info.entity_type_code := l_entity_type_code;
1634: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
1635: l_event_source_info.source_id_int_1 := p_tcn_id;
1636:
1637: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
1638:
1639: WRITE_TO_LOG('Contents of l_event_source_info :');
1640: WRITE_TO_LOG('===================================');
1641: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 1841: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

1837: l_event_source_info.entity_type_code := l_entity_type_code;
1838: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
1839: l_event_source_info.source_id_int_1 := p_tcn_id;
1840:
1841: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
1842:
1843: WRITE_TO_LOG('Contents of l_event_source_info :');
1844: WRITE_TO_LOG('===================================');
1845: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||

Line 2033: l_security_context.security_id_int_1 := mo_global.get_current_org_id();

2029: l_event_source_info.entity_type_code := l_entity_type_code;
2030: l_event_source_info.transaction_number := get_tcn_rec.trx_number;
2031: l_event_source_info.source_id_int_1 := p_tcn_id;
2032:
2033: l_security_context.security_id_int_1 := mo_global.get_current_org_id();
2034:
2035: WRITE_TO_LOG('Contents of l_event_source_info :');
2036: WRITE_TO_LOG('===================================');
2037: WRITE_TO_LOG('l_event_source_info.source_application_id : ' ||