DBA Data[Home] [Help]

PACKAGE: APPS.PER_QUA_INS

Source


1 Package per_qua_ins AUTHID CURRENT_USER as
2 /* $Header: pequarhi.pkh 120.0.12010000.1 2008/07/28 05:32:25 appldev ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |------------------------< set_base_key_value >----------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start of Comments}
8 -- Description:
9 --   This procedure is called to register the next ID value from the database
10 --   sequence.
11 --
12 -- Prerequisites:
13 --
14 -- In Parameters:
15 --   Primary Key
16 --
17 -- Post Success:
18 --
19 -- Post Failure:
20 --
21 -- Developer Implementation Notes:
22 --   None.
23 --
24 -- Access Status:
25 --   Internal Development Use Only.
26 --
27 -- {End of Comments}
28 -- ----------------------------------------------------------------------------
29 procedure set_base_key_value
30   (p_qualification_id  in  number);
31 --
32 -- ----------------------------------------------------------------------------
33 -- |---------------------------------< ins >----------------------------------|
34 -- ----------------------------------------------------------------------------
35 -- {Start Of Comments}
36 --
37 -- Description:
38 --   This procedure is the record interface for the insert process
39 --   for the specified entity. The role of this process is to insert a fully
40 --   validated row, into the HR schema passing back to  the calling process,
41 --   any system generated values (e.g. primary and object version number
42 --   attributes). This process is the main backbone of the ins
43 --   process. The processing of this procedure is as follows:
44 --   1) If the p_validate parameter has been set to true then a savepoint is
45 --      issued.
46 --   2) The controlling validation process insert_validate is then executed
47 --      which will execute all private and public validation business rule
48 --      processes.
49 --   3) The pre_insert business process is then executed which enables any
50 --      logic to be processed before the insert dml process is executed.
51 --   4) The insert_dml process will physical perform the insert dml into the
52 --      specified entity.
53 --   5) The post_insert business process is then executed which enables any
54 --      logic to be processed after the insert dml process.
55 --   6) If the p_validate parameter has been set to true an exception is
56 --      raised which is handled and processed by performing a rollback to the
57 --      savepoint which was issued at the beginning of the Ins process.
58 --
59 -- Pre Conditions:
60 --   The main parameters to the this process have to be in the record
61 --   format.
62 --
63 -- In Parameters:
64 --   p_validate
65 --     Determines if the process is to be validated. Setting this
66 --     boolean value to true will invoke the process to be validated. The
67 --     default is false. The validation is controlled by a savepoint and
68 --     rollback mechanism. The savepoint is issued at the beginning of the
69 --     process and is rollbacked at the end of the process
70 --     when all the processing has been completed. The rollback is controlled
71 --     by raising and handling the exception hr_api.validate_enabled. We use
72 --     the exception because, by raising the exception with the business
73 --     process, we can exit successfully without having any of the 'OUT'
74 --     parameters being set.
75 --
76 -- Post Success:
77 --   A fully validated row will be inserted into the specified entity
78 --   without being committed. If the p_validate parameter has been set to true
79 --   then all the work will be rolled back.
80 --
81 -- Post Failure:
82 --   If an error has occurred, an error message will be supplied with the work
83 --   rolled back.
84 --
85 -- Developer Implementation Notes:
86 --   None.
87 --
88 -- Access Status:
89 --   Internal Development Use Only.
90 --
91 -- {End Of Comments}
92 -- ----------------------------------------------------------------------------
93 Procedure ins
94   (
95   p_rec            in out nocopy per_qua_shd.g_rec_type,
96   p_effective_date in     date,
97   p_validate       in     boolean default false
98   );
99 --
100 -- ----------------------------------------------------------------------------
101 -- |---------------------------------< ins >----------------------------------|
102 -- ----------------------------------------------------------------------------
103 -- {Start Of Comments}
104 --
105 -- Description:
106 --   This procedure is the attribute interface for the insert
107 --   process for the specified entity and is the outermost layer. The role
108 --   of this process is to insert a fully validated row into the HR schema
109 --   passing back to the calling process, any system generated values
110 --   (e.g. object version number attributes).The processing of this
111 --   procedure is as follows:
112 --   1) The attributes are converted into a local record structure by
113 --      calling the convert_args function.
114 --   2) After the conversion has taken place, the corresponding record ins
115 --      interface process is executed.
116 --   3) OUT parameters are then set to their corresponding record attributes.
117 --
118 -- Pre Conditions:
119 --
120 -- In Parameters:
121 --   p_validate
122 --     Determines if the process is to be validated. Setting this
123 --     Boolean value to true will invoke the process to be validated.
124 --     The default is false.
125 --
126 -- Post Success:
127 --   A fully validated row will be inserted for the specified entity
128 --   without being committed (or rollbacked depending on the p_validate
129 --   status).
130 --
131 -- Post Failure:
132 --   If an error has occurred, an error message will be supplied with the work
133 --   rolled back.
134 --
135 -- Developer Implementation Notes:
136 --   None.
137 --
138 -- Access Status:
139 --   Internal Development Use Only.
140 --
141 -- {End Of Comments}
142 -- ----------------------------------------------------------------------------
143 Procedure ins
144   (
145   p_qualification_id             out nocopy number,
146   p_business_group_id            in number           default null,
147   p_object_version_number        out nocopy number,
148   p_person_id                    in number           default null,
149   p_title                        in varchar2         default null,
150   p_grade_attained               in varchar2         default null,
151   p_status                       in varchar2         default null,
152   p_awarded_date                 in date             default null,
153   p_fee                          in number           default null,
154   p_fee_currency                 in varchar2         default null,
155   p_training_completed_amount    in number           default null,
156   p_reimbursement_arrangements   in varchar2         default null,
157   p_training_completed_units     in varchar2         default null,
158   p_total_training_amount        in number           default null,
159   p_start_date                   in date             default null,
160   p_end_date                     in date             default null,
161   p_license_number               in varchar2         default null,
162   p_expiry_date                  in date             default null,
163   p_license_restrictions         in varchar2         default null,
164   p_projected_completion_date    in date             default null,
165   p_awarding_body                in varchar2         default null,
166   p_tuition_method               in varchar2         default null,
167   p_group_ranking                in varchar2         default null,
168   p_comments                     in varchar2         default null,
169   p_qualification_type_id        in number,
170   p_attendance_id                in number           default null,
171   p_attribute_category           in varchar2         default null,
172   p_attribute1                   in varchar2         default null,
173   p_attribute2                   in varchar2         default null,
174   p_attribute3                   in varchar2         default null,
175   p_attribute4                   in varchar2         default null,
176   p_attribute5                   in varchar2         default null,
177   p_attribute6                   in varchar2         default null,
178   p_attribute7                   in varchar2         default null,
179   p_attribute8                   in varchar2         default null,
180   p_attribute9                   in varchar2         default null,
181   p_attribute10                  in varchar2         default null,
182   p_attribute11                  in varchar2         default null,
183   p_attribute12                  in varchar2         default null,
184   p_attribute13                  in varchar2         default null,
185   p_attribute14                  in varchar2         default null,
186   p_attribute15                  in varchar2         default null,
187   p_attribute16                  in varchar2         default null,
188   p_attribute17                  in varchar2         default null,
189   p_attribute18                  in varchar2         default null,
190   p_attribute19                  in varchar2         default null,
191   p_attribute20                  in varchar2         default null,
192 	p_qua_information_category            in varchar2 default null,
193 	p_qua_information1                    in varchar2 default null,
194 	p_qua_information2                    in varchar2 default null,
195 	p_qua_information3                    in varchar2 default null,
196 	p_qua_information4                    in varchar2 default null,
197 	p_qua_information5                    in varchar2 default null,
198 	p_qua_information6                    in varchar2 default null,
199 	p_qua_information7                    in varchar2 default null,
200 	p_qua_information8                    in varchar2 default null,
201 	p_qua_information9                    in varchar2 default null,
202 	p_qua_information10                   in varchar2 default null,
203 	p_qua_information11                   in varchar2 default null,
204 	p_qua_information12                   in varchar2 default null,
205 	p_qua_information13                   in varchar2 default null,
206 	p_qua_information14                   in varchar2 default null,
207 	p_qua_information15                   in varchar2 default null,
208 	p_qua_information16                   in varchar2 default null,
209 	p_qua_information17                   in varchar2 default null,
210 	p_qua_information18                   in varchar2 default null,
211 	p_qua_information19                   in varchar2 default null,
212 	p_qua_information20                   in varchar2 default null,
213   p_effective_date               in date,
214   p_validate                     in boolean   default false,
215   p_professional_body_name       in varchar2  default null,
216   p_membership_number            in varchar2  default null,
217   p_membership_category          in varchar2  default null,
218   p_subscription_payment_method  in varchar2  default null,
219   p_party_id                     in number    default null
220   );
221 --
222 end per_qua_ins;