DBA Data[Home] [Help]

PACKAGE: APPS.XLA_EVENT_SOURCES_PKG

Source


1 PACKAGE xla_event_sources_pkg AUTHID CURRENT_USER AS
2 /* $Header: xlaamess.pkh 120.5 2004/06/04 18:24:42 weshen ship $ */
3 /*======================================================================+
4 |             Copyright (c) 1995-2002 Oracle Corporation                |
5 |                       Redwood Shores, CA, USA                         |
6 |                         All rights reserved.                          |
7 +=======================================================================+
8 | PACKAGE NAME                                                          |
9 |    xla_event_sources_pkg                                              |
10 |                                                                       |
11 | DESCRIPTION                                                           |
12 |    XLA Event Sources Package                                          |
13 |                                                                       |
14 | HISTORY                                                               |
15 |    01-May-01 Dimple Shah    Created                                   |
16 |    20-May-04 W. Shen        add function event_source_details_exist   |
17 |                             remove the other 2 procedures:            |
18 |                             insert_accounting_source                  |
19 |                             and delete_accounting_source              |
20 |                                                                       |
21 +======================================================================*/
22 
23 /*======================================================================+
24    p_event: UPDATE or DELETE. If it is UPDATE, which means the form is
25             calling this function for updating, no out parameter need
26             to be populated since the field will be disabled. If the
27             function is called in DELETE mode, then the out parameters
28             are needed for the error messege
29    p_assignment_level: whether the source is assigned at CLASS level or
30             JLT level or AAD level. error message will be different
31             for different level
32    p_name: the name of the AAD(if the p_assignment_level is AAD) or JLT
33             (if the p_assignment_level is JLT), used in the error msg
34    p_type: the type of the AAD(if the p_assignment_level is AAD) or JLT
35             (if the p_assignment_level is JLT), used in the error msg
36 +======================================================================*/
37 
38 FUNCTION event_source_details_exist
39 (p_application_id                   IN NUMBER
40   ,p_entity_code                    IN VARCHAR2
41   ,p_event_class_code                 IN VARCHAR2
42   ,p_source_application_id            IN NUMBER
43   ,p_source_code                      IN VARCHAR2
44   ,p_source_type_code                 IN VARCHAR2
45   ,p_event                            IN VARCHAR2
46   ,p_assignment_level                 OUT NOCOPY VARCHAR2
47   ,p_name                             OUT NOCOPY VARCHAR2
48   ,p_type                             OUT NOCOPY VARCHAR2)
49  RETURN boolean;
50 
51 END xla_event_sources_pkg;