DBA Data[Home] [Help]

PACKAGE: APPS.XLA_CMP_LOCK_PKG

Source


1 PACKAGE xla_cmp_lock_pkg AUTHID CURRENT_USER AS
2 /* $Header: xlacplck.pkh 120.0 2004/06/02 11:53:50 aquaglia ship $ */
3 /*======================================================================+
4 |             Copyright (c) 1995-2002 Oracle Corporation                |
5 |                       Redwood Shores, CA, USA                         |
6 |                         All rights reserved.                          |
7 +=======================================================================+
8 | PACKAGE NAME                                                          |
9 |    xla_cmp_lock_pkg                                                   |
10 |                                                                       |
11 | DESCRIPTION                                                           |
12 |    Locking logic for AMB and TAB objects                              |
13 |                                                                       |
14 | HISTORY                                                               |
15 |    28-JAN-04 A.Quaglia      Created                                   |
16 |                                                                       |
17 |                                                                       |
18 |                                                                       |
19 |                                                                       |
20 |                                                                       |
21 |                                                                       |
22 |                                                                       |
23 +======================================================================*/
24 
25 
26 
27 /*======================================================================+
28 |                                                                       |
29 | Public Function                                                       |
30 |                                                                       |
31 | lock_tats_and_sources                                                 |
32 |                                                                       |
33 | This program locks the database records related to the enabled        |
34 | Transaction Account Types defined for the specified application       |
35 | and the associated sources.                                           |
36 |                                                                       |
37 | It returns a BOOLEAN value.                                           |
38 |     TRUE  means that the locking was successful.                      |
39 |     FALSE means that errors were encountered and that the locking     |
40 |           was unsuccessful.                                           |
41 |                                                                       |
42 +======================================================================*/
43 FUNCTION lock_tats_and_sources
44                            ( p_application_id       IN         NUMBER
45                            )
46 RETURN BOOLEAN
47 ;
48 
49 
50 
51 
52 
53 
54 
55 /*======================================================================+
56 |                                                                       |
57 | Public Function                                                       |
58 |                                                                       |
59 | lock_tad                                                              |
60 |                                                                       |
61 | This program locks the database records related to the specified      |
62 | Transaction Account Definition.                                       |
63 | It locks recursively the details, the Account Derivation Rules,       |
64 | the conditions, the mapping sets and the sources.                     |
65 |                                                                       |
66 | It returns a BOOLEAN value.                                           |
67 |     TRUE  means that the locking was successful.                      |
68 |     FALSE means that errors were encountered and that the locking     |
69 |           was unsuccessful.                                           |
70 |                                                                       |
71 +======================================================================*/
72 FUNCTION lock_tad
73             (
74               p_application_id                 IN NUMBER
75              ,p_account_definition_code        IN VARCHAR2
76              ,p_account_definition_type_code   IN VARCHAR2
77              ,p_amb_context_code               IN VARCHAR2
78             )
79 
80 RETURN BOOLEAN
81 ;
82 
83 
84 END xla_cmp_lock_pkg;