DBA Data[Home] [Help]

PACKAGE: APPS.XLA_CMP_EVENT_TYPE_PKG

Source


1 PACKAGE xla_cmp_event_type_pkg AUTHID CURRENT_USER AS
2 /* $Header: xlacpevt.pkh 120.16.12000000.1 2007/01/16 21:06:56 appldev ship $   */
3 /*===========================================================================+
4 |             Copyright (c) 2001-2002 Oracle Corporation                     |
5 |                       Redwood Shores, CA, USA                              |
6 |                         All rights reserved.                               |
7 +============================================================================+
8 | PACKAGE NAME                                                               |
9 |     xla_cmp_event_type_pkg                                                 |
10 |                                                                            |
11 | DESCRIPTION                                                                |
12 |     This is a XLA private package, which contains all the logic required   |
13 |     to generate condition expressions from AMB specifcations               |
14 |                                                                            |
15 |                                                                            |
16 | HISTORY                                                                    |
17 |     25-JUN-2002 K.Boussema    Created                                      |
18 |     25-FEB-2003 K.Boussema    Added 'dbdrv' command                        |
19 |     10-MAR-2003 K.Boussema    Made changes for the new bulk approach of the|
20 |                               accounting engine                            |
21 |     19-MAR-2003 K.Boussema    Added amb_context_code                       |
22 |     02-APR-2003 K.boussema    Added generation of analytical criteria      |
23 |     22-APR-2003 K.Boussema    Included error messages                      |
24 |     05-MAI-2003 K.Boussema    Modified to retrieve data base on ledger_id  |
25 |     17-JUL-2003 K.Boussema    Reviewd the code                             |
26 |     6-Mar-2005  W. Shen       Add two parameters to GetEventClassEventType |
27 |                               Ledger Currency Project                      |
28 |     07-Mar-2005 K.Boussema    Changed for ADR-enhancements.                |
29 |     11-Jul-2005 A.Wan         Changed for MPA.  4262811                    |
30 +===========================================================================*/
31 
32 g_application_name        VARCHAR2(240);
33 g_entity_name             VARCHAR2(80);
34 g_event_class_name        VARCHAR2(80);
35 g_event_type_name         VARCHAR2(80);
36 
37 
38 /*-----------------------------------------------------------------------+
39 |                                                                        |
40 |  Public function                                                       |
41 |                                                                        |
42 |    GenerateEventClassAndType                                           |
43 |                                                                        |
44 |  Generates the EventType_xxx() and EventCass_xxx() functions from the  |
45 |  Event Type Code and Event Class Code assigned to the AAD.             |
46 |                                                                        |
47 +-----------------------------------------------------------------------*/
48 
49 FUNCTION GenerateEventClassAndType   (
50   p_application_id               IN NUMBER
51 , p_product_rule_code            IN VARCHAR2
52 , p_product_rule_type_code       IN VARCHAR2
53 , p_product_rule_version         IN VARCHAR2
54 , p_amb_context_code             IN VARCHAR2
55 , p_product_rule_name            IN VARCHAR2
56 , p_package_name                 IN VARCHAR2
57 , p_rec_aad_objects              IN OUT NOCOPY xla_cmp_source_pkg.t_rec_aad_objects
58 , p_rec_sources                  IN OUT NOCOPY xla_cmp_source_pkg.t_rec_sources
59 , p_package_body                 OUT NOCOPY DBMS_SQL.VARCHAR2S
60 )
61 RETURN BOOLEAN
62 ;
63 
64 
65 ------------------------------------------------------------------------
66 -- 4262811 Making public for xla_cmp_acct_line_type_pkg.GenerateMpaBody
67 ------------------------------------------------------------------------
68 FUNCTION GenerateHdrDescription  (
69    p_hdr_description_index    IN BINARY_INTEGER
70  , p_rec_aad_objects          IN xla_cmp_source_pkg.t_rec_aad_objects
71  , p_rec_sources              IN xla_cmp_source_pkg.t_rec_sources
72 )
73 RETURN CLOB
74 ;
75 ---------------------------------------------------------------------
76 
77 
78 /*-----------------------------------------------------------------+
79 |                                                                  |
80 |  Public function                                                 |
81 |                                                                  |
82 |    BuildMainProc                                                 |
83 |                                                                  |
84 |  Generates the main procedure CreateHeadersAndLines() in the AAD |
85 |  packages                                                        |
86 |                                                                  |
87 +-----------------------------------------------------------------*/
88 
89 FUNCTION BuildMainProc(
90   p_application_id               IN NUMBER
91 , p_product_rule_code            IN VARCHAR2
92 , p_product_rule_type_code       IN VARCHAR2
93 , p_product_rule_name            IN VARCHAR2
94 , p_product_rule_version         IN VARCHAR2
95 , p_amb_context_code             IN VARCHAR2
96 , p_package_name                 IN VARCHAR2
97 , p_rec_aad_objects              IN xla_cmp_source_pkg.t_rec_aad_objects
98 , p_package_body                 OUT NOCOPY DBMS_SQL.VARCHAR2S
99 )
100 RETURN BOOLEAN
101 ;
102 --
103 --
104 END xla_cmp_event_type_pkg; -- end of package spec