DBA Data[Home] [Help]

PACKAGE: APPS.GL_AFF_AWC_API_PKG

Source


1 PACKAGE  GL_AFF_AWC_API_PKG AS
2 /* $Header: gluafaws.pls 120.0 2005/10/03 19:47:32 spala noship $ */
3 
4    -- Public functions
5 
6   --
7   -- Function
8   --   gl_coa_awc_rule
9   -- Purpose
10   --  This is a rule function. This function will be executed
11   --  When a accounting flexfield was submitted for compilation through form.
12   --  The function will be called when the business event,
13   --  "oracle.apps.fnd.flex.kff.structure.compiled" raised by KFF form.
14   -- History
15    --   28-Jul-05  Srini Pala    Created
16   --
17   -- Arguments
18   --   p_subscription_guid   Business Event key
19   --   p_eevnt               Business Event.
20   --
21   --
22   --
23   --
24   -- Example
25   --   gl_global.gl_coa_awc_rule(#####, '####');
26   -- Notes
27   --
28 
29 
30    FUNCTION gl_coa_awc_rule(p_subscription_guid IN RAW,
31                             p_event             IN OUT NOCOPY WF_EVENT_T)
32                              RETURN VARCHAR2;
33 
34   --
35   -- Procedure
36   --   gl_bs_add_awc
37   -- Purpose
38   --  This function adds a new additional where clause to balancing segment.
39   --
40   --
41   --
42   -- History
43    --   04-Jul-05  Srini Pala    Created
44   --
45   -- Arguments
46   --   coa_id                      Chart of accounts id
47   --   segment_type                Flexfield qualifier
48   --
49   --
50   --
51   --
52   -- Example
53   --   gl_global.gl_bs_add_awc(101, 'GL_BALANCING');
54   -- Notes
55   --
56 
57    PROCEDURE gl_bs_add_awc (coa_id  NUMBER,
58                             segment_type IN VARCHAR2);
59 
60 
61    FUNCTION  gl_valid_flex_values (p_valid_date   VARCHAR2,
62                                    p_flex_value   VARCHAR2,
63                                    p_id1          NUMBER DEFAULT NULL,
64                                    p_char1        VARCHAR2 DEFAULT NULL,
65                                    p_id2          NUMBER DEFAULT NULL,
66                                    p_char2        VARCHAR2 DEFAULT NULL,
67                                    p_id3          NUMBER DEFAULT NULL,
68                                    p_char3        VARCHAR2 DEFAULT NULL)
69               RETURN VARCHAR2;
70 
71   --
72   -- Procedure
73   --   gl_bs_delete_awc
74   -- Purpose
75   --  This function deletes an existing additional
76   --  where clause on the balancing segment of a chart of accounts.
77   --  This function will be rarely used, when a balancing
78   --  segment qualifier chnages to a different segment in
79   --  in a chart of account. This happens very very rare
80   --
81   -- History
82    --   04-Jul-05  Srini Pala    Created
83   --
84   -- Arguments
85   --   coa_id                      Chart of accounts id
86   --   segment_type                Flexfield qualifier
87   --
88   --
89   --
90   --
91   -- Example
92   --   gl_global.gl_bs_delete_awc(101, 'GL_BALANCING');
93   -- Notes
94   --
95 
96    PROCEDURE gl_bs_delete_awc (coa_id  NUMBER,
97                                  segment_type IN VARCHAR2);
98 
99 
100  --
101   -- Procedure
102   --   gl_global_library;
103   -- Purpose
104   --  This procedure will be called from FNDSQF library to
105   --  set the context ledger id and increment the profile
106   --  option value on the server side.
107   --   This is required when the Flexfield: Validate on server
108   --   profile option is turned on.
109   --
110   -- History
111    --   29-AUG-05  Srini Pala    Created
112   --
113   -- Arguments
114 
115   --   Context Type        Ledger, Legal Entity, Operarting Unit.
116   --   Context Id          Ledger Id, Ledgal Entity Id, Operating Entity Id.
117   --
118   -- Example
119   --   GL_AFF_AWC_API_PKG.gl_global_library('LG', '1');
120   -- Notes
121   --
122 
123 END GL_AFF_AWC_API_PKG;