[Home] [Help]
PACKAGE: APPS.XLA_CMP_PAD_PKG
Source
1 PACKAGE xla_cmp_pad_pkg AUTHID CURRENT_USER AS
2 /* $Header: xlacppad.pkh 120.9 2006/08/23 18:27:11 wychan 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_pad_pkg |
10 | |
11 | DESCRIPTION |
12 | This is a XLA private package, which contains all the APIs required |
13 | for package body generation |
14 | |
15 | |
16 | HISTORY |
17 | 25-JUN-2002 K.Boussema Created |
18 | 25-FEB-2003 K.Boussema Added 'dbdrv' command |
19 | 27-FEB-2003 K.Boussema Made changes for the new bulk approach of the|
20 | accounting engine |
21 | 18-MAR-2003 K.Boussema Added amb_context_code |
22 | 22-APR-2003 K.Boussema Included error messages |
23 | 17-JUL-2003 K.Boussema Reviewd the code |
24 +===========================================================================*/
25
26 --
27 --+==========================================================================+
28 --| |
29 --| Private global type declarations |
30 --| |
31 --+==========================================================================+
32 --
33 --
34 --+==========================================================================+
35 --| |
36 --| Private global constant or variable declarations |
37 --| |
38 --+==========================================================================+
39 --
40 --
41 --+==========================================================================+
42 --| Template Package Name |
43 --+==========================================================================+
44 --
45 C_PACKAGE_NAME CONSTANT VARCHAR2(30):= 'XLA_$appl$_PAD_$pd$_PKG';
46
47 --+==========================================================================+
48 --| |
49 --| |
50 --| Global variables |
51 --| |
52 --| |
53 --+==========================================================================+
54 --
55 g_component_name VARCHAR2(80);
56 g_component_appl VARCHAR2(240);
57 g_owner VARCHAR2(30);
58 g_bc_pkg_flag VARCHAR2(1);
59 --
60 --
61 --+==========================================================================+
62 --| |
63 --| PRIVATE function |
64 --| |
65 --+==========================================================================+
66 --
67 FUNCTION GetApplicationName (p_application_id IN NUMBER)
68 RETURN VARCHAR2
69 ;
70
71 --+==========================================================================+
72 --| PUBLIC function |
73 --| Compile |
74 --| DESCRIPTION : generates the PL/SQL packages from the Product Accounting |
75 --| definition. |
76 --| |
77 --| INPUT PARAMETERS |
78 --| |
79 --| 1. p_application_id : NUMBER, application identifier |
80 --| 2. p_product_rule_code : VARCHAR2(30), product definition code |
81 --| 3. p_product_rule_type_code : VARCHAR2(30), product definition type |
82 --| 4. p_product_rule_version : VARCHAR2(30), product definition Version |
83 --| |
84 --| RETURNS |
85 --| 1. l_IsCompiled : BOOLEAN, TRUE if Product accounting definition has |
86 --| been successfully created, FALSE otherwise. |
87 --| |
88 --| |
89 --| |
90 --+==========================================================================+
91 --
92 FUNCTION Compile ( p_application_id IN NUMBER
93 , p_product_rule_code IN VARCHAR2
94 , p_product_rule_type_code IN VARCHAR2
95 , p_product_rule_version IN VARCHAR2
96 , p_amb_context_code IN VARCHAR2 )
97 RETURN BOOLEAN
98 ;
99 --
100 --
101 END xla_cmp_pad_pkg; -- end of package spec