DBA Data[Home] [Help]

PACKAGE: APPS.CZ_RUNTIME

Source


1 PACKAGE cz_runtime AS
2 /*	$Header: czruns.pls 120.2 2005/09/01 12:34:30 skudryav ship $		*/
3 
4   FUNCTION annotated_node_path
5   (p_root_model_id            IN NUMBER,
6    p_target_page_expl_id      IN NUMBER,
7    p_target_ui_def_id         IN NUMBER,
8    p_target_page_persist_id   IN NUMBER,
9    p_root_model_expl_id       IN NUMBER
10    ) RETURN VARCHAR2;
11   PRAGMA RESTRICT_REFERENCES (annotated_node_path, WNDS, WNPS);
12 
13   FUNCTION get_TARGET_PAGE_REF_DEPTH
14   (p_root_model_id       IN NUMBER,
15    p_target_page_expl_id IN NUMBER,
16    p_target_ui_def_id    IN NUMBER,
17    p_root_model_expl_id  IN NUMBER) RETURN NUMBER;
18   PRAGMA RESTRICT_REFERENCES (get_TARGET_PAGE_REF_DEPTH, WNDS, WNPS);
19 
20   PROCEDURE get_Target_UI_Pages(p_root_ui_def_id         IN NUMBER,
21                                 p_root_model_expl_id     IN NUMBER,
22                                 p_root_model_node_id     IN NUMBER,
23                                 p_node_collection_flag   IN VARCHAR2,
24                                 p_curr_ui_def_id         IN NUMBER,
25                                 p_curr_page_id           IN NUMBER,
26                                 p_order_by_template      IN NUMBER,
27                                 x_ui_page_tbl            OUT NOCOPY SYSTEM.cz_tgt_ui_page_tbl);
28 
29 
30   PROCEDURE sort_options( p_ui_def_id 	IN	NUMBER,
31 			  p_property_id IN	NUMBER,
32 			  p_sort_order	IN	NUMBER,
33 			  x_sorted_table IN OUT NOCOPY system.cz_sort_tbl_type
34 			 );
35 
36   /* retrieves root bom node id in a model
37      p_err_flag = 0  success
38      p_err_flag > 0  indicates error and p_err_msg specifies what is wrong
39                   1  means more than one id returned which is not supported currently.
40                   2  indicates no bom component found
41   */
42   PROCEDURE get_root_bom_node(p_model_id IN NUMBER,
43                               p_persistent_node_id OUT NOCOPY NUMBER,
44                               p_ps_node_id OUT NOCOPY NUMBER,
45                               p_err_flag OUT NOCOPY VARCHAR2,
46                               p_err_msg OUT NOCOPY VARCHAR2
47                              );
48 
49   PROCEDURE get_config_info(p_config_hdr_id   IN  NUMBER
50                            ,p_config_rev_nbr  IN  NUMBER
51                            ,x_component_id         OUT  NOCOPY  NUMBER
52                            ,x_top_item_id          OUT  NOCOPY  NUMBER
53                            ,x_organization_id      OUT  NOCOPY  NUMBER
54                            ,x_quantity             OUT  NOCOPY  NUMBER
55                            ,x_usage_name           OUT  NOCOPY  VARCHAR2
56                            ,x_effective_date       OUT  NOCOPY  DATE
57                            ,x_config_date_created  OUT  NOCOPY  DATE
58                            ,x_complete_flag        OUT  NOCOPY  VARCHAR2
59                            ,x_valid_flag           OUT  NOCOPY  VARCHAR2
60                            ,x_return_status        OUT  NOCOPY  VARCHAR2
61                            ,x_msg_data             OUT  NOCOPY  VARCHAR2
62                            );
63 /* This procedure is called when a configurator runtime UI is
64    launched from embedded JRAD Region The API returns NULL if the ui_style on the publication
65    is not a JRAD style UI otherwise it returns a publictaion_id. */
66 
67 FUNCTION embedded_publication_for_item   (inventory_item_id		IN	NUMBER,
68 		               	 organization_id		IN	NUMBER,
69 		      		 config_lookup_date	IN	DATE,
70 		      		 calling_application_id IN	NUMBER,
71 		     		 	 usage_name			IN	VARCHAR2,
72  		      		 publication_mode		IN	VARCHAR2 DEFAULT NULL,
73 		      		 language			IN	VARCHAR2 DEFAULT NULL
74 		      		)
75 RETURN NUMBER;
76 
77 /* This procedure is called when a configurator runtime UI is
78    launched from embedded JRAD Region The API returns NULL if the ui_style on the publication
79    is not a JRAD style UI otherwise it returns a publictaion_id. */
80 
81 FUNCTION embedded_pubId_for_product(product_key   IN	VARCHAR2,
82 		      		 config_lookup_date	  IN	DATE,
83 		      		 calling_application_id   IN	NUMBER,
84 		     		 	 usage_name			  IN	VARCHAR2,
85  		      		 publication_mode		  IN	VARCHAR2 DEFAULT NULL,
86 		     		 	 language			  IN	VARCHAR2 DEFAULT NULL
87 		      		)
88 RETURN NUMBER;
89 
90 /* This procedure is called when a configurator runtime UI is
91    launched from embedded JRAD Region The API returns NULL if the ui_style on the publication
92    is not a JRAD style UI otherwise it returns a publictaion_id. */
93 
94 FUNCTION embedded_pub_for_savedconfig (config_hdr_id  IN	NUMBER,
95 		               	 		     config_rev_nbr IN	NUMBER,
96 		      		 		     config_lookup_date		IN	DATE,
97 		      		 		     calling_application_id  	IN	NUMBER,
98 		     		 	 		     usage_name			IN	VARCHAR2,
99  		      		 		     publication_mode		IN	VARCHAR2 DEFAULT NULL,
100 		      		 		     language			IN	VARCHAR2 DEFAULT NULL
101 		      				)
102 RETURN NUMBER;
103 
104 END;