DBA Data[Home] [Help]

APPS.AR_MO_GLOBAL_CACHE dependencies on AR_MO_GLOBAL_CACHE

Line 1: PACKAGE BODY ar_mo_global_cache as

1: PACKAGE BODY ar_mo_global_cache as
2: /*$Header: ARMOGLCB.pls 120.14 2011/05/25 09:32:59 naneja ship $ */
3: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
4:
5: /* ----------------------------------------------------------------------------

Line 33: arp_util.debug('get_org_attributes: ' || 'ar_mo_global_cache.populate()+');

29:
30: BEGIN
31:
32: IF PG_DEBUG in ('Y', 'C') THEN
33: arp_util.debug('get_org_attributes: ' || 'ar_mo_global_cache.populate()+');
34: END IF;
35:
36: IF p_org_id is not null and g_cache.exists(p_org_id) THEN
37: RETURN;

Line 242: ar_mo_global_cache.set_current_org_id(l_default_org_id);

238: and populate g_current_org_id
239: --------------------------------------------------------------------------- */
240:
241: mo_utils.get_default_ou(l_default_org_id,l_default_ou_name,l_count);
242: ar_mo_global_cache.set_current_org_id(l_default_org_id);
243:
244: IF PG_DEBUG in ('Y', 'C') THEN
245: arp_util.debug('get_org_attributes: ' || 'ar_mo_global_cache.populate()-');
246: END IF;

Line 245: arp_util.debug('get_org_attributes: ' || 'ar_mo_global_cache.populate()-');

241: mo_utils.get_default_ou(l_default_org_id,l_default_ou_name,l_count);
242: ar_mo_global_cache.set_current_org_id(l_default_org_id);
243:
244: IF PG_DEBUG in ('Y', 'C') THEN
245: arp_util.debug('get_org_attributes: ' || 'ar_mo_global_cache.populate()-');
246: END IF;
247:
248: END populate;
249:

Line 259: arp_util.debug('ar_mo_global_cache.get_org_attributes()');

255: RETURN ar_mo_cache_utils.GlobalsRecord is
256: l_exp_flag varchar2(1);
257: BEGIN
258: IF PG_DEBUG in ('Y', 'C') THEN
259: arp_util.debug('ar_mo_global_cache.get_org_attributes()');
260: END IF;
261: --Bug 4517382 : On demand caching of OU information.
262: IF NOT(g_cache.exists(p_org_id)) THEN
263: ar_mo_global_cache.populate(p_org_id);

Line 263: ar_mo_global_cache.populate(p_org_id);

259: arp_util.debug('ar_mo_global_cache.get_org_attributes()');
260: END IF;
261: --Bug 4517382 : On demand caching of OU information.
262: IF NOT(g_cache.exists(p_org_id)) THEN
263: ar_mo_global_cache.populate(p_org_id);
264: END IF;
265:
266: RETURN g_cache(p_org_id);
267: EXCEPTION

Line 282: - ar_mo_global_cache.get_org_attributes' );

278: exception
279: WHEN NO_DATA_FOUND THEN
280: IF PG_DEBUG in ('Y', 'C') THEN
281: arp_util.debug('get_org_attributes: ' || 'EXCEPTION: NO_DATA_FOUND IN SYSTEM PARAMETERS
282: - ar_mo_global_cache.get_org_attributes' );
283: END IF;
284: FND_MESSAGE.set_name('AR','AR_NO_ROW_IN_SYSTEM_PARAMETERS');
285: APP_EXCEPTION.raise_exception;
286: RAISE;

Line 301: - ar_mo_global_cache.get_org_attributes' );

297: exception
298: when no_data_found then
299: IF PG_DEBUG in ('Y', 'C') THEN
300: arp_util.debug('get_org_attributes: ' || 'EXCEPTION: NO_DATA_FOUND IN SET OF BOOKS
301: - ar_mo_global_cache.get_org_attributes' );
302: END IF;
303: FND_MESSAGE.set_name('AR','AR_NO_ROW_IN_GL_SET_OF_BOOKS');
304: APP_EXCEPTION.raise_exception;
305: RAISE;

Line 322: - ar_mo_global_cache.get_org_attributes' );

318: exception
319: when no_data_found then
320: IF PG_DEBUG in ('Y', 'C') THEN
321: arp_util.debug('get_org_attributes: ' || 'EXCEPTION: NO_DATA_FOUND IN CURRENCIES
322: - ar_mo_global_cache.get_org_attributes' );
323: END IF;
324: FND_MESSAGE.set_name('AR','AR_NO_ROW_IN_FND_CURRENCIES');
325: APP_EXCEPTION.raise_exception;
326: RAISE;

Line 339: arp_util.debug('ar_mo_global_cache.get_current_org_id()');

335:
336: FUNCTION get_current_org_id
337: RETURN number is
338: BEGIN
339: arp_util.debug('ar_mo_global_cache.get_current_org_id()');
340: RETURN ar_mo_global_cache.g_current_org_id ;
341: END get_current_org_id;
342:
343:

Line 340: RETURN ar_mo_global_cache.g_current_org_id ;

336: FUNCTION get_current_org_id
337: RETURN number is
338: BEGIN
339: arp_util.debug('ar_mo_global_cache.get_current_org_id()');
340: RETURN ar_mo_global_cache.g_current_org_id ;
341: END get_current_org_id;
342:
343:
344: /* --------------------------------------------------------------------------

Line 351: arp_util.debug('ar_mo_global_cache.set_current_org_id()');

347:
348: PROCEDURE set_current_org_id(p_org_id number) is
349: BEGIN
350: IF PG_DEBUG in ('Y', 'C') THEN
351: arp_util.debug('ar_mo_global_cache.set_current_org_id()');
352: END IF;
353: ar_mo_global_cache.g_current_org_id :=p_org_id;
354: END set_current_org_id;
355:

Line 353: ar_mo_global_cache.g_current_org_id :=p_org_id;

349: BEGIN
350: IF PG_DEBUG in ('Y', 'C') THEN
351: arp_util.debug('ar_mo_global_cache.set_current_org_id()');
352: END IF;
353: ar_mo_global_cache.g_current_org_id :=p_org_id;
354: END set_current_org_id;
355:
356: END ar_mo_global_cache;

Line 356: END ar_mo_global_cache;

352: END IF;
353: ar_mo_global_cache.g_current_org_id :=p_org_id;
354: END set_current_org_id;
355:
356: END ar_mo_global_cache;