DBA Data[Home] [Help]

PACKAGE: APPS.PA_BILLING_VALIDATE

Source


1 PACKAGE pa_billing_validate AUTHID CURRENT_USER AS
2 /* $Header: PAXIVLDS.pls 115.0 99/07/16 15:27:26 porting ship $ */
3 
4 ------------
5 --  OVERVIEW
6 --  This package contains functions that validate parameters entered and return
7 --  TRUE or FALSE.
8 --
9 
10 ---------------------
11 --  SPECIAL CONSTANTS
12 --
13 --
14 --
15 
16 ----------------------------
17 --  PROCEDURES AND FUNCTIONS
18 --
19 --  1. Function Name:  	valid_proj_task_extn
20 --
21 --     Usage:		is_valid = valid_proj_task_extn(project_id,
22 --				top_task_id, billing_assignment_id)
23 --  			is_valid gets true if the project_id exists in
24 --  			PA_TASKS for the specified top_task, and a
25 --			bill extn assignment exists for project or task.
26 --
27 --     Parameters:	X2_project_id (Mandatory)
28 --  			X2_top_task_id
29 --
30 --
31 --  2. Function Name:  	valid_organization
32 --
33 --     Usage:		is_valid = valid_organization(organization_id)
34 --  			is_valid gets true if the organization_id exists in
35 --  			PER_ORGANIZATION_UNITS.
36 --
37 --     Parameters: 	X2_organization_id (Mandatory)
38 --
39 --
40 --  3. Function Name: 	automatic_event
41 --
42 --     Usage:		If (automatic_event(event_type))
43 --
44 --     			The expression will evaluate to TRUE is the
45 -- 			event_type has a classification of automatic.
46 --
47 --     Parameters: 	X_event_type (Mandatory)
48 
49 ------------------------
50 -- FUNCTION DECLARATIONS
51 --
52 FUNCTION valid_proj_task_extn (X2_project_id NUMBER, X2_top_task_id NUMBER,
53 			X2_billing_assignment_id NUMBER)
54 	RETURN BOOLEAN;
55 
56 FUNCTION valid_organization (X2_organization_id	NUMBER)
57 	RETURN BOOLEAN;
58 
59 FUNCTION automatic_event (X2_event_type VARCHAR2)
60 	RETURN BOOLEAN;
61 
62 END pa_billing_validate;