DBA Data[Home] [Help]

PACKAGE: APPS.XLA_MAPPING_SETS_PKG

Source


1 PACKAGE xla_mapping_sets_pkg AUTHID CURRENT_USER AS
2 /* $Header: xlaamdms.pkh 120.5 2004/11/02 18:59:02 wychan ship $ */
3 /*======================================================================+
4 |             Copyright (c) 1995-2002 Oracle Corporation                |
5 |                       Redwood Shores, CA, USA                         |
6 |                         All rights reserved.                          |
7 +=======================================================================+
8 | PACKAGE NAME                                                          |
9 |    xla_mapping_sets_pkg                                               |
10 |                                                                       |
11 | DESCRIPTION                                                           |
12 |    XLA Mapping Sets package                                           |
13 |                                                                       |
14 | HISTORY                                                               |
15 |    01-May-01 Dimple Shah    Created                                   |
16 |                                                                       |
17 +======================================================================*/
18 
19 /*======================================================================+
20 |                                                                       |
21 | Public Procedure                                                      |
22 |                                                                       |
23 | delete_mapping_set_details                                            |
24 |                                                                       |
25 | Deletes all details of the mapping set                                |
26 |                                                                       |
27 +======================================================================*/
28 
29 PROCEDURE delete_mapping_set_details
30   (p_mapping_set_code                IN VARCHAR2
31   ,p_amb_context_code                IN VARCHAR2);
32 
33 /*======================================================================+
34 |                                                                       |
35 | Public Function                                                       |
36 |                                                                       |
37 | mapping_set_in_use                                                    |
38 |                                                                       |
39 | Returns true if the mapping set is in use by an account derivation    |
40 | rule                                                                  |
41 |                                                                       |
42 +======================================================================*/
43 
44 FUNCTION mapping_set_in_use
45   (p_event                            IN VARCHAR2
46   ,p_mapping_set_code                 IN VARCHAR2
47   ,p_amb_context_code                 IN VARCHAR2
48   ,p_application_id                   IN OUT NOCOPY NUMBER
49   ,p_segment_rule_code                IN OUT NOCOPY VARCHAR2
50   ,p_segment_rule_type_code           IN OUT NOCOPY VARCHAR2)
51 RETURN BOOLEAN;
52 
53 /*======================================================================+
54 |                                                                       |
55 | Public Function                                                       |
56 |                                                                       |
57 | mapping_set_is_locked                                                 |
58 |                                                                       |
59 | Returns true if the mapping set is being used by a locked product rule|
60 |                                                                       |
61 +======================================================================*/
62 
63 FUNCTION mapping_set_is_locked
64   (p_mapping_set_code                IN  VARCHAR2
65   ,p_amb_context_code                IN  VARCHAR2)
66 RETURN BOOLEAN;
67 
68 /*======================================================================+
69 |                                                                       |
70 | Public Function                                                       |
71 |                                                                       |
72 | uncompile_product_rule                                                |
73 |                                                                       |
74 | Wrapper for uncompile_definitions                                     |
75 | Provided for backward-compatibility, to be obsoleted                  |
76 |                                                                       |
77 +======================================================================*/
78 
79 FUNCTION uncompile_product_rule
80   (p_mapping_set_code                IN  VARCHAR2
81   ,p_amb_context_code                IN  VARCHAR2
82   ,p_product_rule_name               IN OUT NOCOPY VARCHAR2
83   ,p_product_rule_type               IN OUT NOCOPY VARCHAR2)
84 RETURN BOOLEAN;
85 
86 
87 /*======================================================================+
88 |                                                                       |
89 | Public Procedure                                                      |
90 |                                                                       |
91 | uncompile_definitions                                                 |
92 |                                                                       |
93 | Sets status of assigned application accounting definitions and        |
94 | journal lines definitions to uncompiled                               |
95 |                                                                       |
96 +======================================================================*/
97 
98 FUNCTION uncompile_definitions
99   (p_mapping_set_code                IN VARCHAR2
100   ,p_amb_context_code                IN VARCHAR2
101   ,x_product_rule_name               IN OUT NOCOPY VARCHAR2
102   ,x_product_rule_type               IN OUT NOCOPY VARCHAR2
103   ,x_event_class_name                IN OUT NOCOPY VARCHAR2
104   ,x_event_type_name                 IN OUT NOCOPY VARCHAR2
105   ,x_locking_status_flag             IN OUT NOCOPY VARCHAR2)
106 RETURN BOOLEAN;
107 
108 
109 /*======================================================================+
110 |                                                                       |
111 | Public Function                                                       |
112 |                                                                       |
113 | uncompile_tran_acct_def                                               |
114 |                                                                       |
115 |                                                                       |
116 | Returns true if all the tads  using the mapping set are               |
117 | uncompiled                                                            |
118 |                                                                       |
119 +======================================================================*/
120 
121 FUNCTION uncompile_tran_acct_def
122   (p_mapping_set_code                IN  VARCHAR2
123   ,p_amb_context_code                IN  VARCHAR2
124   ,p_trx_acct_def                    IN OUT NOCOPY VARCHAR2
125   ,p_trx_acct_def_type               IN OUT NOCOPY VARCHAR2)
126 RETURN BOOLEAN;
127 
128 END xla_mapping_sets_pkg;