1 Package pay_etp_ins_nd AUTHID CURRENT_USER as
2 /* $Header: pyetpmhi.pkh 120.2 2008/11/13 14:25:18 priupadh ship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 -- This procedure is called to register the next ID value from the database
9 -- sequence.
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 -- Primary Key
15 --
16 -- Post Success:
17 --
18 -- Post Failure:
19 --
20 -- Developer Implementation Notes:
21 -- None.
22 --
23 -- Access Status:
24 -- Internal Development Use Only.
25 --
26 -- {End of Comments}
27 -- ----------------------------------------------------------------------------
28 procedure set_base_key_value
29 (p_element_type_id in number);
30 --
31 -- ----------------------------------------------------------------------------
32 -- |------------------------------< insert_dml >------------------------------|
33 -- ----------------------------------------------------------------------------
34 -- {Start Of Comments}
35 --
36 -- Description:
37 -- This procedure calls the dt_insert_dml control logic which handles
38 -- the actual datetrack dml.
39 --
40 -- Prerequisites:
41 -- This is an internal private procedure which must be called from the ins
42 -- procedure and must have all mandatory attributes set (except the
43 -- object_version_number which is initialised within the dt_insert_dml
44 -- procedure).
45 --
46 -- In Parameters:
47 -- A Pl/Sql record structure.
48 --
49 -- Post Success:
50 -- Processing contines.
51 --
52 -- Post Failure:
53 -- No specific error handling is required within this procedure.
54 --
55 -- Developer Implementation Notes:
56 -- None.
57 --
58 -- Access Status:
59 -- Internal Row Handler Use Only.
60 --
61 -- {End Of Comments}
62 -- ----------------------------------------------------------------------------
63 Procedure insert_dml
64 (p_rec in out nocopy pay_etp_shd_nd.g_rec_type
65 ,p_effective_date in date
66 ,p_datetrack_mode in varchar2
67 ,p_validation_start_date in date
68 ,p_validation_end_date in date
69 );
70 --
71 -- ----------------------------------------------------------------------------
72 -- |---------------------------------< ins >----------------------------------|
73 -- ----------------------------------------------------------------------------
74 -- {Start Of Comments}
75 --
76 -- Description:
77 -- This procedure is the record interface for the insert process
78 -- for the specified entity. The role of this process is to insert a fully
79 -- validated row, into the HR schema passing back to the calling process,
80 -- any system generated values (e.g. primary and object version number
81 -- attributes). This process is the main backbone of the ins business
82 -- process. The processing of this procedure is as follows:
83 -- 1) We must lock parent rows (if any exist).
84 -- 2) The controlling validation process insert_validate is then executed
85 -- which will execute all private and public validation business rule
86 -- processes.
87 -- 3) The pre_insert process is then executed which enables any
88 -- logic to be processed before the insert dml process is executed.
89 -- 4) The insert_dml process will physical perform the insert dml into the
90 -- specified entity.
91 -- 5) The post_insert process is then executed which enables any
92 -- logic to be processed after the insert dml process.
93 --
94 -- Prerequisites:
95 -- The main parameters to the process have to be in the record
96 -- format.
97 --
98 -- In Parameters:
99 -- p_effective_date
100 -- Specifies the date of the datetrack insert operation.
101 --
102 -- Post Success:
103 -- A fully validated row will be inserted into the specified entity
104 -- without being committed.
105 --
106 -- Post Failure:
107 -- If an error has occurred, an error message will be raised.
108 --
109 -- Developer Implementation Notes:
110 -- None.
111 --
112 -- Access Status:
113 -- Internal Development Use Only.
114 --
115 -- {End Of Comments}
116 -- ----------------------------------------------------------------------------
117 Procedure ins
118 (p_effective_date in date
119 ,p_rec in out nocopy pay_etp_shd_nd.g_rec_type
120 ,p_processing_priority_warning out nocopy boolean
121 );
122 --
123 -- ----------------------------------------------------------------------------
124 -- |---------------------------------< ins >----------------------------------|
125 -- ----------------------------------------------------------------------------
126 -- {Start Of Comments}
127 --
128 -- Description:
129 -- This procedure is the attribute interface for the insert
130 -- process for the specified entity and is the outermost layer. The role
131 -- of this process is to insert a fully validated row into the HR schema
132 -- passing back to the calling process, any system generated values
133 -- (e.g. object version number attributes). The processing of this
134 -- procedure is as follows:
135 -- 1) The attributes are converted into a local record structure by
136 -- calling the convert_args function.
137 -- 2) After the conversion has taken place, the corresponding record ins
138 -- interface process is executed.
139 -- 3) OUT parameters are then set to their corresponding record attributes.
140 --
141 -- Prerequisites:
142 --
143 -- In Parameters:
144 -- p_effective_date
145 -- Specifies the date of the datetrack insert operation.
146 --
147 -- Post Success:
148 -- A fully validated row will be inserted for the specified entity
149 -- without being committed.
150 --
151 -- Post Failure:
152 -- If an error has occurred, an error message will be raised.
153 --
154 -- Developer Implementation Notes:
155 -- None.
156 --
157 -- Access Status:
158 -- Internal Development Use Only.
159 --
160 -- {End Of Comments}
161 -- ----------------------------------------------------------------------------
162 Procedure ins
163 (p_effective_date in date
164 ,p_classification_id in number
165 ,p_additional_entry_allowed_fla in varchar2
166 ,p_adjustment_only_flag in varchar2
167 ,p_closed_for_entry_flag in varchar2
168 ,p_element_name in varchar2
169 ,p_indirect_only_flag in varchar2
170 ,p_multiple_entries_allowed_fla in varchar2
171 ,p_multiply_value_flag in varchar2
172 ,p_post_termination_rule in varchar2
173 ,p_process_in_run_flag in varchar2
174 ,p_processing_priority in number
175 ,p_processing_type in varchar2
176 ,p_standard_link_flag in varchar2
177 ,p_business_group_id in number default null
178 ,p_legislation_code in varchar2 default null
179 ,p_formula_id in number default null
180 ,p_input_currency_code in varchar2 default null
181 ,p_output_currency_code in varchar2 default null
182 ,p_benefit_classification_id in number default null
183 ,p_comments in varchar2 default null
184 ,p_description in varchar2 default null
185 ,p_legislation_subgroup in varchar2 default null
186 ,p_qualifying_age in number default null
187 ,p_qualifying_length_of_service in number default null
188 ,p_qualifying_units in varchar2 default null
189 ,p_reporting_name in varchar2 default null
190 ,p_attribute_category in varchar2 default null
191 ,p_attribute1 in varchar2 default null
192 ,p_attribute2 in varchar2 default null
193 ,p_attribute3 in varchar2 default null
194 ,p_attribute4 in varchar2 default null
195 ,p_attribute5 in varchar2 default null
196 ,p_attribute6 in varchar2 default null
197 ,p_attribute7 in varchar2 default null
198 ,p_attribute8 in varchar2 default null
199 ,p_attribute9 in varchar2 default null
200 ,p_attribute10 in varchar2 default null
201 ,p_attribute11 in varchar2 default null
202 ,p_attribute12 in varchar2 default null
203 ,p_attribute13 in varchar2 default null
204 ,p_attribute14 in varchar2 default null
205 ,p_attribute15 in varchar2 default null
206 ,p_attribute16 in varchar2 default null
207 ,p_attribute17 in varchar2 default null
208 ,p_attribute18 in varchar2 default null
209 ,p_attribute19 in varchar2 default null
210 ,p_attribute20 in varchar2 default null
211 ,p_element_information_category in varchar2 default null
212 ,p_element_information1 in varchar2 default null
213 ,p_element_information2 in varchar2 default null
214 ,p_element_information3 in varchar2 default null
215 ,p_element_information4 in varchar2 default null
216 ,p_element_information5 in varchar2 default null
217 ,p_element_information6 in varchar2 default null
218 ,p_element_information7 in varchar2 default null
219 ,p_element_information8 in varchar2 default null
220 ,p_element_information9 in varchar2 default null
221 ,p_element_information10 in varchar2 default null
222 ,p_element_information11 in varchar2 default null
223 ,p_element_information12 in varchar2 default null
224 ,p_element_information13 in varchar2 default null
225 ,p_element_information14 in varchar2 default null
226 ,p_element_information15 in varchar2 default null
227 ,p_element_information16 in varchar2 default null
228 ,p_element_information17 in varchar2 default null
229 ,p_element_information18 in varchar2 default null
230 ,p_element_information19 in varchar2 default null
231 ,p_element_information20 in varchar2 default null
232 ,p_third_party_pay_only_flag in varchar2 default null
233 ,p_iterative_flag in varchar2 default null
234 ,p_iterative_formula_id in number default null
235 ,p_iterative_priority in number default null
236 ,p_creator_type in varchar2 default null
237 ,p_retro_summ_ele_id in number default null
238 ,p_grossup_flag in varchar2 default null
239 ,p_process_mode in varchar2 default null
240 ,p_advance_indicator in varchar2 default null
241 ,p_advance_payable in varchar2 default null
242 ,p_advance_deduction in varchar2 default null
243 ,p_process_advance_entry in varchar2 default null
244 ,p_proration_group_id in number default null
245 ,p_proration_formula_id in number default null
246 ,p_recalc_event_group_id in number default null
247 ,p_once_each_period_flag in varchar2 default 'N'
248 ,p_time_definition_type in varchar2 default null
249 ,p_time_definition_id in number default null
250 ,p_element_type_id out nocopy number
251 ,p_object_version_number out nocopy number
252 ,p_effective_start_date out nocopy date
253 ,p_effective_end_date out nocopy date
254 ,p_comment_id out nocopy number
255 ,p_processing_priority_warning out nocopy boolean
256 );
257 --
258 end pay_etp_ins_nd;