1 Package hxc_tkgqc_ins as
2 /* $Header: hxctkgqcrhi.pkh 120.0 2005/05/29 06:15:30 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- Description:
7 -- This procedure is called to register the next ID value from the database
8 -- sequence.
9 --
10 -- Prerequisites:
11 --
12 -- In Parameters:
13 -- Primary Key
14 --
15 -- Post Success:
16 --
17 -- Post Failure:
18 --
19 -- Developer Implementation Notes:
20 -- None.
21 --
22 -- Access Status:
23 -- Internal Development Use Only.
24 --
25 -- ----------------------------------------------------------------------------
26 procedure set_base_key_value
27 (p_tk_group_query_criteria_id in number);
28 --
29 -- ----------------------------------------------------------------------------
30 -- |---------------------------------< ins >----------------------------------|
31 -- ----------------------------------------------------------------------------
32 --
33 -- Description:
34 -- This procedure is the record interface for the insert process
35 -- for the specified entity. The role of this process is to insert a fully
36 -- validated row, into the HR schema passing back to the calling process,
37 -- any system generated values (e.g. primary and object version number
38 -- attributes). This process is the main backbone of the ins
39 -- process. The processing of this procedure is as follows:
40 -- 1) The controlling validation process insert_validate is executed
41 -- which will execute all private and public validation business rule
42 -- processes.
43 -- 2) The pre_insert business process is then executed which enables any
44 -- logic to be processed before the insert dml process is executed.
45 -- 3) The insert_dml process will physical perform the insert dml into the
46 -- specified entity.
47 -- 4) The post_insert business process is then executed which enables any
48 -- logic to be processed after the insert dml process.
49 --
50 -- Prerequisites:
51 -- The main parameters to the this process have to be in the record
52 -- format.
53 --
54 -- In Parameters:
55 --
56 -- Post Success:
57 -- A fully validated row will be inserted into the specified entity
58 -- without being committed.
59 --
60 -- Post Failure:
61 -- If an error has occurred, an error message will be raised.
62 --
63 -- Developer Implementation Notes:
64 -- None.
65 --
66 -- Access Status:
67 -- Internal Development Use Only.
68 --
69 -- ----------------------------------------------------------------------------
70 Procedure ins
71 (p_rec in out nocopy hxc_tkgqc_shd.g_rec_type
72 );
73 --
74 -- ----------------------------------------------------------------------------
75 -- |---------------------------------< ins >----------------------------------|
76 -- ----------------------------------------------------------------------------
77 --
78 -- Description:
79 -- This procedure is the attribute interface for the insert
80 -- process for the specified entity and is the outermost layer. The role
81 -- of this process is to insert a fully validated row into the HR schema
82 -- passing back to the calling process, any system generated values
83 -- (e.g. object version number attributes).The processing of this
84 -- procedure is as follows:
85 -- 1) The attributes are converted into a local record structure by
86 -- calling the convert_args function.
87 -- 2) After the conversion has taken place, the corresponding record ins
88 -- interface process is executed.
89 -- 3) OUT parameters are then set to their corresponding record attributes.
90 --
91 -- Prerequisites:
92 --
93 -- In Parameters:
94 --
95 -- Post Success:
96 -- A fully validated row will be inserted for the specified entity
97 -- without being committed.
98 --
99 -- Post Failure:
100 -- If an error has occurred, an error message will be raised.
101 --
102 -- Developer Implementation Notes:
103 -- None.
104 --
105 -- Access Status:
106 -- Internal Development Use Only.
107 --
108 -- ----------------------------------------------------------------------------
109 Procedure ins
110 (p_tk_group_query_id in number
111 ,p_criteria_type in varchar2
112 ,p_criteria_id in number
113 ,p_tk_group_query_criteria_id out nocopy number
114 ,p_object_version_number out nocopy number
115 );
116 --
117 end hxc_tkgqc_ins;