DBA Data[Home] [Help]

PACKAGE: APPS.FND_CONTEXT

Source


1 package FND_CONTEXT AUTHID CURRENT_USER as
2 /* $Header: AFSCCTXS.pls 115.0 2003/09/24 20:10:00 rsheh noship $ */
3 
4 
5 -- Init (PUBLIC)
6 --   This is generic routine to initialize attribute value inside a given
7 --   context which its namespace must be created prior than calling this
8 --   routine.
9 --
10 --   Context Areas are defined, and associated with an initialization
11 --   package/procedure, using the CREATE CONTEXT command.
12 --   For example, "CREATE CONTEXT XXX using FND_CONTEXT".
13 --                XXX will be the context name and FND_CONTEXT is the package.
14 --
15 --   It calls dbms.session.set_context to set one attribute base on its name
16 --   and value pair.
17 --
18 -- Input
19 --   context_name: the name of the context area.(VARCHAR2)
20 --   attr_name:    the name of the attribute. (VARCHAR2)
21 --   attr_value:   the value of the attribute (VARCHAR2)
22 --
23 -- Usage Example:
24 --   CREATE CONTEXT PO using FND_CONTEXT;
25 --   begin fnd_context.init('PO', 'my_name', 'my_value'); end;
26 --
27 procedure INIT(context_name in varchar2,
28                attr_name    in varchar2,
29                attr_value   in varchar2);
30 
31 end FND_CONTEXT;