DBA Data[Home] [Help]

PACKAGE: APPS.GL_GLOBAL

Source


1 PACKAGE GL_GLOBAL AUTHID CURRENT_USER as
2 /* $Header: glustgls.pls 120.3 2005/10/03 19:43:16 spala ship $ */
3 
4 --
5 -- Package
6 --   GL_GLOBAL
7 -- Purpose
8 --   To set global environment variables within gl
9 -- History
10 --   11-OCT-02  D J Ogg          Created.
11 --
12 
13   --
14   -- Procedure
15   --   set_aff_validation
16   -- Purpose
17   --   Sets the context information for accounting flexfields so that
18   --   only the valid balancing and management segment values will be
19   --   displayed
20   -- History
21   --   11-OCT-02  D. J. Ogg    Created
22   --   02-AUG-05  Srini Pala   Added logic to get the context ledger_id based
23   --                           on the context type.
24   -- Arguments
25   --   context_type     The type of context being set. Valid values are:
26   --                        LE - Legal Entity
27   --                        LG - Ledger
28   --                        OU - Operating Unit
29   --   context_id       The legal entity id, ledger id, or operating unit
30   --                    id depending upon the context type.
31   -- Example
32   --   gl_global.set_aff_validation('LE', 105);
33   -- Notes
34   --
35 
36 
37    PROCEDURE set_aff_validation
38                              (context_type VARCHAR2,
39                               context_id   NUMBER);
40 
41   --*******************************************************************
42   --
43   -- Function
44   --   Context_Ledger_Id
45   -- Purpose
46   --   Returns set context ledger_id
47   --
48   --
49   -- History
50   --   02-AUG-05  Srini Pala   Created
51   --
52   --
53   -- Arguments
54   --
55   --
56   -- Example
57   --   gl_global.Context_Ledger_Id;
58   -- Notes
59   --
60 
61    Function Context_Ledger_Id Return NUMBER;
62 
63 END GL_GLOBAL;