DBA Data[Home] [Help]

PACKAGE: APPS.XLA_ACCTG_METHODS_PKG

Source


1 PACKAGE xla_acctg_methods_pkg AS
2 /* $Header: xlaamsam.pkh 120.2 2003/01/23 22:27:06 dcshah ship $ */
3 /*======================================================================+
4 |             Copyright (c) 1995-2002 Oracle Corporation                |
5 |                       Redwood Shores, CA, USA                         |
6 |                         All rights reserved.                          |
7 +=======================================================================+
8 | PACKAGE NAME                                                          |
9 |    xla_acctg_methods_pkg                                              |
10 |                                                                       |
11 | DESCRIPTION                                                           |
12 |    XLA Subledger Accounting Methods Package                           |
13 |                                                                       |
14 | HISTORY                                                               |
15 |    01-Sep-01 Dimple Shah    Created                                   |
16 |                                                                       |
17 +======================================================================*/
18 
19 /*======================================================================+
20 |                                                                       |
21 | Public Procedure                                                      |
22 |                                                                       |
23 | delete_method_details                                                 |
24 |                                                                       |
25 | Deletes all details of the Accounting Method                          |
26 |                                                                       |
27 +======================================================================*/
28 
29 PROCEDURE delete_method_details
30   (p_accounting_method_type_code      IN VARCHAR2
31   ,p_accounting_method_code           IN VARCHAR2);
32 
33 /*======================================================================+
34 |                                                                       |
35 | Public Procedure                                                      |
36 |                                                                       |
37 | copy_method_details                                                   |
38 |                                                                       |
39 | Copies the details of the old product rule into the new product rule  |
40 |                                                                       |
41 +======================================================================*/
42 
43  PROCEDURE copy_method_details
44   (p_old_accting_meth_type_code     IN VARCHAR2
45   ,p_old_accting_meth_code          IN VARCHAR2
46   ,p_new_accting_meth_type_code     IN VARCHAR2
47   ,p_new_accting_meth_code          IN VARCHAR2);
48 
49 /*======================================================================+
50 |                                                                       |
51 | Public Function                                                       |
52 |                                                                       |
53 | method_in_use                                                         |
54 |                                                                       |
55 | Returns true if the accounting method is in use by ledger             |
56 |                                                                       |
57 +======================================================================*/
58 
59 FUNCTION method_in_use
60   (p_event                            IN VARCHAR2
61   ,p_accounting_method_type_code      IN VARCHAR2
62   ,p_accounting_method_code           IN VARCHAR2
63   ,p_ledger_name                      IN OUT NOCOPY VARCHAR2)
64 RETURN BOOLEAN;
65 
66 /*======================================================================+
67 |                                                                       |
68 | Public Function                                                       |
69 |                                                                       |
70 | method_is_invalid                                                     |
71 |                                                                       |
72 | Returns true if the accounting method is invalid                      |
73 |                                                                       |
74 +======================================================================*/
75 
76 FUNCTION method_is_invalid
77   (p_accounting_method_type_code      IN VARCHAR2
78   ,p_accounting_method_code           IN VARCHAR2
79   ,p_message_name                    OUT NOCOPY VARCHAR2)
80 RETURN BOOLEAN;
81 
82 END xla_acctg_methods_pkg;