[Home] [Help]
PACKAGE: APPS.CN_BIS_UTIL_PVT
Source
1 PACKAGE CN_BIS_UTIL_PVT AUTHID CURRENT_USER AS
2 -- $Header: cnvbisus.pls 115.0.1158.2 2003/01/21 19:07:49 jjhuang noship $
3
4 --Error codes when bis setup fails.
5 g_error_code CONSTANT NUMBER := -20000;
6 g_success_code_msg CONSTANT VARCHAR2(10) := '0';
7
8 --Statuses used by cn concurrent programs.
9 g_success_status CONSTANT VARCHAR2(10) := 'SUCCESS';
10 g_failure_status CONSTANT VARCHAR2(10) := 'FAILURE';
11
12 --Separator
13 g_separator CONSTANT VARCHAR2(1) := ':';
14
15 -- -------------------------------------------------------------------------+
16 -- set_debug
17 -- Procedure to set the debug mode.
18 -- -------------------------------------------------------------------------+
19 PROCEDURE set_debug(p_debug IN BOOLEAN);
20
21 -- -------------------------------------------------------------------------+
22 -- get_debug
23 -- Function to get the debug mode.
24 -- -------------------------------------------------------------------------+
25 FUNCTION get_debug RETURN BOOLEAN;
26
27 -- -------------------------------------------------------------------------+
28 -- debug_msg
29 -- Procedure to log the debug message.
30 -- -------------------------------------------------------------------------+
31 PROCEDURE debug_msg(p_message IN VARCHAR2, p_indenting IN NUMBER DEFAULT 0);
32
33 -- -------------------------------------------------------------------------+
34 -- log_msg
35 -- Procedure to log the information message.
36 -- -------------------------------------------------------------------------+
37 PROCEDURE log_msg(p_message IN VARCHAR2, p_indenting IN NUMBER DEFAULT 0);
38
39 -- -------------------------------------------------------------------------+
40 -- set_degree_of_parallelism
41 -- Procedure to set the degree of parallelism.
42 -- -------------------------------------------------------------------------+
43 PROCEDURE set_degree_of_parallelism;
44
45 -- -------------------------------------------------------------------------+
46 -- get_degree_of_parallelism
47 -- Function to get the degree of parallelism.
48 -- -------------------------------------------------------------------------+
49 FUNCTION get_degree_of_parallelism RETURN NUMBER;
50
51 -- -------------------------------------------------------------------------+
52 -- enable_parallel
53 -- Procedure to enable parallel.
54 -- -------------------------------------------------------------------------+
55 PROCEDURE enable_parallel;
56
57 -- -------------------------------------------------------------------------+
58 -- disable_parallel
59 -- Procedure to disable parallel.
60 -- -------------------------------------------------------------------------+
61 PROCEDURE disable_parallel;
62
63 -- -------------------------------------------------------------------------+
64 -- setup
65 -- Function to do the setup using bis setup function.
66 -- This is required for the DBI project.
67 -- -------------------------------------------------------------------------+
68 FUNCTION setup(p_object_name IN VARCHAR2) RETURN BOOLEAN;
69
70 -- -------------------------------------------------------------------------+
71 -- wrapup
72 -- Procedure to do the wrap using bis wrap procedure.
73 -- This is required for the DBI project.
74 -- -------------------------------------------------------------------------+
75 PROCEDURE wrapup(
76 p_status IN BOOLEAN,
77 p_count IN NUMBER DEFAULT 0,
78 p_message IN VARCHAR2 DEFAULT NULL,
79 p_period_from IN DATE DEFAULT NULL,
80 p_period_to IN DATE DEFAULT NULL,
81 p_attribute1 IN VARCHAR2 DEFAULT NULL,
82 p_attribute2 IN VARCHAR2 DEFAULT NULL,
83 p_attribute3 IN VARCHAR2 DEFAULT NULL,
84 p_attribute4 IN VARCHAR2 DEFAULT NULL,
85 p_attribute5 IN VARCHAR2 DEFAULT NULL,
86 p_attribute6 IN VARCHAR2 DEFAULT NULL,
87 p_attribute7 IN VARCHAR2 DEFAULT NULL,
88 p_attribute8 IN VARCHAR2 DEFAULT NULL,
89 p_attribute9 IN VARCHAR2 DEFAULT NULL,
90 p_attribute10 IN VARCHAR2 DEFAULT NULL
91 );
92
93 END CN_BIS_UTIL_PVT;