DBA Data[Home] [Help]

PACKAGE: APPS.EAM_PM_SUPPRESSIONS

Source


1 PACKAGE EAM_PM_SUPPRESSIONS AUTHID CURRENT_USER AS
2 /* $Header: EAMPSUPS.pls 115.3 2003/08/26 01:31:39 aan ship $ */
3 
4     G_PKG_NAME 	CONSTANT VARCHAR2(30):='EAM_PM_SUPPRESSIONS';
5 
6 
7 
8   /**
9    * This function is used to check whether a loop will be formed by adding a new
10    * suppression relation as specified by the given parameters.
11    * This should be called before the record is actually inserted into the table.
12    */
13   function check_no_loop(p_parent_assoc_id in number,
14                          p_child_assoc_id  in number) return boolean;
15 
16   /**
17    * This procedure is used to check whether the suppression relationship rule is
18    * broken or not by adding one more suppression relation. The rule is that one
19    * can suppress many, but one can only be suppressed by one.
20    * This should be called before the record is actually inserted into the table.
21    */
22   function is_supp_rule_maintained(p_parent_assoc_id in number,
23                                    p_child_assoc_id  in number) return boolean;
24 
25   /* This method instantiates all suppression templates defined on the asset group
26   including the description. */
27 
28   PROCEDURE instantiate_suppressions(
29 	p_api_version           	IN	NUMBER				,
30   	p_init_msg_list			IN	VARCHAR2 := FND_API.G_FALSE	,
31 	p_commit	    		IN  	VARCHAR2 := FND_API.G_FALSE	,
32 	p_validation_level		IN  	NUMBER	:=
33 						FND_API.G_VALID_LEVEL_FULL	,
34 	x_return_status			OUT NOCOPY	VARCHAR2		  	,
35 	x_msg_count			OUT NOCOPY	NUMBER				,
36 	x_msg_data			OUT NOCOPY	VARCHAR2			,
37 	p_maintenance_object_id		IN 		NUMBER
38 );
39 
40   procedure instantiate_suppression(
41     p_parent_association_id IN NUMBER,
42     p_child_association_id IN NUMBER,
43     p_maintenance_object_id IN NUMBER);
44 
45 END eam_pm_suppressions;
46