1 PACKAGE ar_mo_global_cache AUTHID CURRENT_USER as
2 /*$Header: ARMOGLCS.pls 120.5 2006/07/28 05:14:23 apandit noship $ */
3
4 /* --###***** AR Specific code to store and retrieve current context org */
5 g_current_org_id Number;
6 FUNCTION get_current_org_id
7 RETURN number;
8 PROCEDURE set_current_org_id(p_org_id number);
9
10 /* --###***** AR Specific code to store and retrieve current context org */
11
12 /* -----------------------------------------------------------------------
13 This procedure retrieves operating unit attributes and
14 stores them in the cache.
15 ----------------------------------------------------------------------- */
16 PROCEDURE populate(p_org_id IN NUMBER DEFAULT NULL);
17
18 /* -----------------------------------------------------------------------
19 This function returns one row of cached data.
20 ----------------------------------------------------------------------- */
21 FUNCTION get_org_attributes(p_org_id NUMBER)
22 RETURN ar_mo_cache_utils.GlobalsRecord;
23 END ar_mo_global_cache;