DBA Data[Home] [Help]

APPS.FND_CONTEXT dependencies on FND_CONTEXT

Line 1: package body FND_CONTEXT as

1: package body FND_CONTEXT as
2: /* $Header: AFSCCTXB.pls 115.0 2003/09/24 20:10:21 rsheh noship $ */
3:
4:
5: --

Line 28: -- For example, "CREATE CONTEXT XXX using FND_CONTEXT"

24: -- routine.
25: --
26: -- Context Areas are defined, and associated with an initialization
27: -- package/procedure, using the CREATE CONTEXT command.
28: -- For example, "CREATE CONTEXT XXX using FND_CONTEXT"
29: -- XXX will be the context name and FND_CONTEXT is the package.
30: --
31: -- It calls dbms.session.set_context to set one attribute base on its name
32: -- and value pair.

Line 29: -- XXX will be the context name and FND_CONTEXT is the package.

25: --
26: -- Context Areas are defined, and associated with an initialization
27: -- package/procedure, using the CREATE CONTEXT command.
28: -- For example, "CREATE CONTEXT XXX using FND_CONTEXT"
29: -- XXX will be the context name and FND_CONTEXT is the package.
30: --
31: -- It calls dbms.session.set_context to set one attribute base on its name
32: -- and value pair.
33: --

Line 40: -- CREATE CONTEXT PO using FND_CONTEXT;

36: -- attr_name: the name of the attribute. (VARCHAR2)
37: -- attr_value: the value of the attribute (VARCHAR2)
38: --
39: -- Usage Example:
40: -- CREATE CONTEXT PO using FND_CONTEXT;
41: -- begin fnd_context.init('PO', 'my_name', 'my_value'); end;
42: --
43: procedure init(context_name in varchar2,
44: attr_name in varchar2,

Line 41: -- begin fnd_context.init('PO', 'my_name', 'my_value'); end;

37: -- attr_value: the value of the attribute (VARCHAR2)
38: --
39: -- Usage Example:
40: -- CREATE CONTEXT PO using FND_CONTEXT;
41: -- begin fnd_context.init('PO', 'my_name', 'my_value'); end;
42: --
43: procedure init(context_name in varchar2,
44: attr_name in varchar2,
45: attr_value in varchar2) is

Line 52: generic_error('FND_CONTEXT.INIT', SQLCODE, SQLERRM);

48: dbms_session.set_context(context_name, attr_name, attr_value);
49:
50: exception
51: when others then
52: generic_error('FND_CONTEXT.INIT', SQLCODE, SQLERRM);
53: end init;
54:
55: end FND_CONTEXT;

Line 55: end FND_CONTEXT;

51: when others then
52: generic_error('FND_CONTEXT.INIT', SQLCODE, SQLERRM);
53: end init;
54:
55: end FND_CONTEXT;