1 Package PAY_BATCH_ELEMENT_ENTRY_API as
2 /* $Header: pybthapi.pkh 120.4 2005/10/28 05:44:22 adkumar noship $ */
3 /*#
4 * This package contains Batch Element Entry APIs.
5 * @rep:scope public
6 * @rep:product per
7 * @rep:displayname Batch Element Entry
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |---------------------------< create_batch_header >------------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API creates a batch header record.
17 *
18 *
19 * <p><b>Licensing</b><br>
20 * This API is licensed for use with Human Resources.
21 *
22 * <p><b>Prerequisites</b><br>
23 * A valid business group should exists.
24 *
25 * <p><b>Post Success</b><br>
26 * The batch header will be successfully inserted into the database.
27 *
28 * <p><b>Post Failure</b><br>
29 * The API does not create the batch header and raises an error.
30 * @param p_validate If true, then validation alone will be performed and the
31 * database will remain unchanged. If false and all validation checks pass,
32 * then the database will be modified.
33 * @param p_session_date Applications effective date.
34 * @param p_batch_name Name of the batch header.
35 * @param p_batch_status Status of the batch. (BATCH_SOURCE lookup type of
36 * HR_LOOKUPS, default 'U')
37 * @param p_business_group_id Business group of record.
38 * @param p_action_if_exists Type of action performed if a batch with that name
39 * exists. (ACTION_IF_EXISTS lookup type of HR_LOOKUPS, Default value of 'R'.)
40 * @param p_batch_reference Reference for the batch.
41 * @param p_batch_source Source for the batch.
42 * @param p_comments Batch header comment text.
43 * @param p_date_effective_changes Creation type for the batch.
44 * (DATE_EFFECTIVE_CHANGES lookup type of HR_LOOKUPS, Default value of 'C'.)
45 * @param p_purge_after_transfer Purge-batch-after-transfer flag. (YES_NO
46 * lookup type of HR_LOOKUPS, default 'N')
47 * @param p_reject_if_future_changes Reject-if-future-change flag. (YES_NO
48 * lookup type of HR_LOOKUPS, default 'Y')
49 * @param p_batch_id If p_validate is false, this uniquely identifies the
50 * Batch Header created. If p_validate is set to true, this parameter will be
51 * null.
52 * @param p_object_version_number If p_validate is false, then set to the
53 * version number of the created batch header. If p_validate is true, then the
54 * value will be null.
55 * @param p_reject_if_results_exists Rejects the rollback if there are run
56 * results exist for the transferred line. (YES_NO lookup type of HR_LOOKUPS,
57 * default 'Y')
58 * @param p_purge_after_rollback Purges the batch after the rollback. (YES_NO
59 * lookup type of HR_LOOKUPS, default 'Y')
60 * @param p_batch_type Batch type for the given batch. This is based on
61 * the lookup type PAY_BEE_BATCH_TYPE.
62 * @param p_reject_entry_not_removed If this is selected and if the entry is
63 * not found or not removed then the batch line status of all batch lines
64 * for the given assignment will remain as 'Transferred'.
65 * @param p_rollback_entry_updates Allows the option to rollback entry
66 * updates other than correction and update override.
67 * @rep:displayname Create Batch Header
68 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
69 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
70 * @rep:scope public
71 * @rep:lifecycle active
72 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
73 */
74 --
75 -- {End Of Comments}
76 --
77 procedure create_batch_header
78 (p_validate in boolean default false
79 ,p_session_date in date
80 ,p_batch_name in varchar2
81 ,p_batch_status in varchar2 default 'U'
82 ,p_business_group_id in number
83 ,p_action_if_exists in varchar2 default 'R'
84 ,p_batch_reference in varchar2 default null
85 ,p_batch_source in varchar2 default null
86 ,p_comments in varchar2 default null
87 ,p_date_effective_changes in varchar2 default null
88 ,p_purge_after_transfer in varchar2 default 'N'
89 ,p_reject_if_future_changes in varchar2 default 'Y'
90 ,p_batch_id out nocopy number
91 ,p_object_version_number out nocopy number
92 ,p_reject_if_results_exists in varchar2 default 'Y'
93 ,p_purge_after_rollback in varchar2 default 'N'
94 ,p_batch_type in varchar2 default null
95 ,p_REJECT_ENTRY_NOT_REMOVED in varchar2 default 'N'
96 ,p_ROLLBACK_ENTRY_UPDATES in varchar2 default 'N'
97 );
98 --
99 -- ----------------------------------------------------------------------------
100 -- |----------------------------< create_batch_line >-------------------------|
101 -- ----------------------------------------------------------------------------
102 --
103 -- {Start Of Comments}
104 /*#
105 * This API creates a batch line record.
106 *
107 *
108 * <p><b>Licensing</b><br>
109 * This API is licensed for use with Human Resources.
110 *
111 * <p><b>Prerequisites</b><br>
112 * A Batch Header.
113 *
114 * <p><b>Post Success</b><br>
115 * The batch line will be successfully inserted into the database.
116 *
117 * <p><b>Post Failure</b><br>
118 * The API does not create the batch line and raises an error.
119 * @param p_validate If true, then validation alone will be performed and the
120 * database will remain unchanged. If false and all validation checks pass,
121 * then the database will be modified.
122 * @param p_session_date Applications effective date.
123 * @param p_batch_id Foreign Key to the Batch Header.
124 * @param p_batch_line_status Status of the batch. (BATCH_SOURCE lookup type of
125 * HR_LOOKUPS, default 'U')
126 * @param p_assignment_id {@rep:casecolumn PER_ALL_ASSIGNMENTS_F.ASSIGNMENT_ID}
127 * @param p_assignment_number Assignment Number
128 * @param p_attribute_category This context value determines which flexfield
129 * structure to use with the descriptive flexfield segments.
130 * @param p_attribute1 Descriptive flexfield segment.
131 * @param p_attribute2 Descriptive flexfield segment.
132 * @param p_attribute3 Descriptive flexfield segment.
133 * @param p_attribute4 Descriptive flexfield segment.
134 * @param p_attribute5 Descriptive flexfield segment.
135 * @param p_attribute6 Descriptive flexfield segment.
136 * @param p_attribute7 Descriptive flexfield segment.
137 * @param p_attribute8 Descriptive flexfield segment.
138 * @param p_attribute9 Descriptive flexfield segment.
139 * @param p_attribute10 Descriptive flexfield segment.
140 * @param p_attribute11 Descriptive flexfield segment.
141 * @param p_attribute12 Descriptive flexfield segment.
142 * @param p_attribute13 Descriptive flexfield segment.
143 * @param p_attribute14 Descriptive flexfield segment.
144 * @param p_attribute15 Descriptive flexfield segment.
145 * @param p_attribute16 Descriptive flexfield segment.
146 * @param p_attribute17 Descriptive flexfield segment.
147 * @param p_attribute18 Descriptive flexfield segment.
148 * @param p_attribute19 Descriptive flexfield segment.
149 * @param p_attribute20 Descriptive flexfield segment.
150 * @param p_entry_information_category Further Element Entry Info.
151 * @param p_entry_information1 Further Element Entry Info.
152 * @param p_entry_information2 Further Element Entry Info.
153 * @param p_entry_information3 Further Element Entry Info.
154 * @param p_entry_information4 Further Element Entry Info.
155 * @param p_entry_information5 Further Element Entry Info.
156 * @param p_entry_information6 Further Element Entry Info.
157 * @param p_entry_information7 Further Element Entry Info.
158 * @param p_entry_information8 Further Element Entry Info.
159 * @param p_entry_information9 Further Element Entry Info.
160 * @param p_entry_information10 Further Element Entry Info.
161 * @param p_entry_information11 Further Element Entry Info.
162 * @param p_entry_information12 Further Element Entry Info.
163 * @param p_entry_information13 Further Element Entry Info.
164 * @param p_entry_information14 Further Element Entry Info.
165 * @param p_entry_information15 Further Element Entry Info.
166 * @param p_entry_information16 Further Element Entry Info.
167 * @param p_entry_information17 Further Element Entry Info.
168 * @param p_entry_information18 Further Element Entry Info.
169 * @param p_entry_information19 Further Element Entry Info.
170 * @param p_entry_information20 Further Element Entry Info.
171 * @param p_entry_information21 Further Element Entry Info.
172 * @param p_entry_information22 Further Element Entry Info.
173 * @param p_entry_information23 Further Element Entry Info.
174 * @param p_entry_information24 Further Element Entry Info.
175 * @param p_entry_information25 Further Element Entry Info.
176 * @param p_entry_information26 Further Element Entry Info.
177 * @param p_entry_information27 Further Element Entry Info.
178 * @param p_entry_information28 Further Element Entry Info.
179 * @param p_entry_information29 Further Element Entry Info.
180 * @param p_entry_information30 Further Element Entry Info.
181 * @param p_date_earned Date Earned
182 * @param p_personal_payment_method_id Personal Payment Method
183 * @param p_subpriority Sub priority
184 * @param p_batch_sequence Sequence order of the line within the batch.
185 * @param p_concatenated_segments Concatenated Costing Segments
186 * @param p_cost_allocation_keyflex_id Identifier for the Cost Allocation
187 * Keyflex
188 * @param p_effective_date Determines when the DateTrack operation comes into
189 * force.
190 * @param p_effective_start_date This will be used as the absence start date or
191 * the effective start date for certain elements.
192 * @param p_effective_end_date This will be used as the absence end date or the
193 * effective end date for certain elements.
194 * @param p_element_name Element Name
195 * @param p_element_type_id Identifier for the Element Type
196 * @param p_entry_type Entry Type (ENTRY_TYPE lookup type of HR_LOOKUPS)
197 * @param p_reason Reason
198 * @param p_segment1 Key flexfield segment for Element Entry Info.
199 * @param p_segment2 Key flexfield segment for Element Entry Info.
200 * @param p_segment3 Key flexfield segment for Element Entry Info.
201 * @param p_segment4 Key flexfield segment for Element Entry Info.
202 * @param p_segment5 Key flexfield segment for Element Entry Info.
203 * @param p_segment6 Key flexfield segment for Element Entry Info.
204 * @param p_segment7 Key flexfield segment for Element Entry Info.
205 * @param p_segment8 Key flexfield segment for Element Entry Info.
206 * @param p_segment9 Key flexfield segment for Element Entry Info.
207 * @param p_segment10 Key flexfield segment for Element Entry Info.
208 * @param p_segment11 Key flexfield segment for Element Entry Info.
209 * @param p_segment12 Key flexfield segment for Element Entry Info.
210 * @param p_segment13 Key flexfield segment for Element Entry Info.
211 * @param p_segment14 Key flexfield segment for Element Entry Info.
212 * @param p_segment15 Key flexfield segment for Element Entry Info.
213 * @param p_segment16 Key flexfield segment for Element Entry Info.
214 * @param p_segment17 Key flexfield segment.
215 * @param p_segment18 Key flexfield segment.
216 * @param p_segment19 Key flexfield segment.
217 * @param p_segment20 Key flexfield segment.
218 * @param p_segment21 Key flexfield segment.
219 * @param p_segment22 Key flexfield segment.
220 * @param p_segment23 Key flexfield segment.
221 * @param p_segment24 Key flexfield segment.
222 * @param p_segment25 Key flexfield segment.
223 * @param p_segment26 Key flexfield segment.
224 * @param p_segment27 Key flexfield segment.
225 * @param p_segment28 Key flexfield segment.
226 * @param p_segment29 Key flexfield segment.
227 * @param p_segment30 Key flexfield segment.
228 * @param p_value_1 Input Value
229 * @param p_value_2 Input Value
230 * @param p_value_3 Input Value
231 * @param p_value_4 Input Value
232 * @param p_value_5 Input Value
233 * @param p_value_6 Input Value
234 * @param p_value_7 Input Value
235 * @param p_value_8 Input Value
236 * @param p_value_9 Input Value
237 * @param p_value_10 Input Value
238 * @param p_value_11 Input Value
239 * @param p_value_12 Input Value
240 * @param p_value_13 Input Value
241 * @param p_value_14 Input Value
242 * @param p_value_15 Input Value
243 * @param p_canonical_date_format (Y/N) To indicate whether the date format of
244 * the input values is in internal or display format.
245 * @param p_iv_all_internal_format (Y/N) Internal format for all input values.
246 * If set to 'Y' then it overrides the p_canonical_date_format flag.
247 * @param p_batch_line_id If p_validate is false, this uniquely identifies the
248 * Batch Line created. If p_validate is set to true, this parameter will be
249 * null.
250 * @param p_object_version_number If p_validate is false, then set to the
251 * version number of the created batch line. If p_validate is true, then the
252 * value will be null.
253 * @rep:displayname Create Batch Line
254 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
255 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
256 * @rep:scope public
257 * @rep:lifecycle active
258 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
259 */
260 --
261 -- {End Of Comments}
262 --
263 procedure create_batch_line
264 (p_validate in boolean default false
265 ,p_session_date in date
266 ,p_batch_id in number
267 ,p_batch_line_status in varchar2 default 'U'
268 ,p_assignment_id in number default null
269 ,p_assignment_number in varchar2 default null
270 ,p_attribute_category in varchar2 default null
271 ,p_attribute1 in varchar2 default null
272 ,p_attribute2 in varchar2 default null
273 ,p_attribute3 in varchar2 default null
274 ,p_attribute4 in varchar2 default null
275 ,p_attribute5 in varchar2 default null
276 ,p_attribute6 in varchar2 default null
277 ,p_attribute7 in varchar2 default null
278 ,p_attribute8 in varchar2 default null
279 ,p_attribute9 in varchar2 default null
280 ,p_attribute10 in varchar2 default null
281 ,p_attribute11 in varchar2 default null
282 ,p_attribute12 in varchar2 default null
283 ,p_attribute13 in varchar2 default null
284 ,p_attribute14 in varchar2 default null
285 ,p_attribute15 in varchar2 default null
286 ,p_attribute16 in varchar2 default null
287 ,p_attribute17 in varchar2 default null
288 ,p_attribute18 in varchar2 default null
289 ,p_attribute19 in varchar2 default null
290 ,p_attribute20 in varchar2 default null
291 ,p_entry_information_category in varchar2 default null
292 ,p_entry_information1 in varchar2 default null
293 ,p_entry_information2 in varchar2 default null
294 ,p_entry_information3 in varchar2 default null
295 ,p_entry_information4 in varchar2 default null
296 ,p_entry_information5 in varchar2 default null
297 ,p_entry_information6 in varchar2 default null
298 ,p_entry_information7 in varchar2 default null
299 ,p_entry_information8 in varchar2 default null
300 ,p_entry_information9 in varchar2 default null
301 ,p_entry_information10 in varchar2 default null
302 ,p_entry_information11 in varchar2 default null
303 ,p_entry_information12 in varchar2 default null
304 ,p_entry_information13 in varchar2 default null
305 ,p_entry_information14 in varchar2 default null
306 ,p_entry_information15 in varchar2 default null
307 ,p_entry_information16 in varchar2 default null
308 ,p_entry_information17 in varchar2 default null
309 ,p_entry_information18 in varchar2 default null
310 ,p_entry_information19 in varchar2 default null
311 ,p_entry_information20 in varchar2 default null
312 ,p_entry_information21 in varchar2 default null
316 ,p_entry_information25 in varchar2 default null
313 ,p_entry_information22 in varchar2 default null
314 ,p_entry_information23 in varchar2 default null
315 ,p_entry_information24 in varchar2 default null
317 ,p_entry_information26 in varchar2 default null
318 ,p_entry_information27 in varchar2 default null
319 ,p_entry_information28 in varchar2 default null
320 ,p_entry_information29 in varchar2 default null
321 ,p_entry_information30 in varchar2 default null
322 ,p_date_earned in date default null
323 ,p_personal_payment_method_id in number default null
324 ,p_subpriority in number default null
325 ,p_batch_sequence in number default null
326 ,p_concatenated_segments in varchar2 default null
327 ,p_cost_allocation_keyflex_id in number default null
328 ,p_effective_date in date default null
329 ,p_effective_start_date in date default null
330 ,p_effective_end_date in date default null
331 ,p_element_name in varchar2 default null
332 ,p_element_type_id in number default null
333 ,p_entry_type in varchar2 default null
334 ,p_reason in varchar2 default null
335 ,p_segment1 in varchar2 default null
336 ,p_segment2 in varchar2 default null
337 ,p_segment3 in varchar2 default null
338 ,p_segment4 in varchar2 default null
339 ,p_segment5 in varchar2 default null
340 ,p_segment6 in varchar2 default null
341 ,p_segment7 in varchar2 default null
342 ,p_segment8 in varchar2 default null
343 ,p_segment9 in varchar2 default null
344 ,p_segment10 in varchar2 default null
345 ,p_segment11 in varchar2 default null
346 ,p_segment12 in varchar2 default null
347 ,p_segment13 in varchar2 default null
348 ,p_segment14 in varchar2 default null
349 ,p_segment15 in varchar2 default null
350 ,p_segment16 in varchar2 default null
351 ,p_segment17 in varchar2 default null
352 ,p_segment18 in varchar2 default null
353 ,p_segment19 in varchar2 default null
354 ,p_segment20 in varchar2 default null
355 ,p_segment21 in varchar2 default null
356 ,p_segment22 in varchar2 default null
357 ,p_segment23 in varchar2 default null
358 ,p_segment24 in varchar2 default null
359 ,p_segment25 in varchar2 default null
360 ,p_segment26 in varchar2 default null
361 ,p_segment27 in varchar2 default null
362 ,p_segment28 in varchar2 default null
363 ,p_segment29 in varchar2 default null
364 ,p_segment30 in varchar2 default null
365 ,p_value_1 in varchar2 default null
366 ,p_value_2 in varchar2 default null
367 ,p_value_3 in varchar2 default null
368 ,p_value_4 in varchar2 default null
369 ,p_value_5 in varchar2 default null
370 ,p_value_6 in varchar2 default null
371 ,p_value_7 in varchar2 default null
372 ,p_value_8 in varchar2 default null
373 ,p_value_9 in varchar2 default null
374 ,p_value_10 in varchar2 default null
375 ,p_value_11 in varchar2 default null
376 ,p_value_12 in varchar2 default null
377 ,p_value_13 in varchar2 default null
378 ,p_value_14 in varchar2 default null
379 ,p_value_15 in varchar2 default null
380 ,p_canonical_date_format in varchar2 default 'Y'
381 ,p_iv_all_internal_format in varchar2 default 'N'
382 ,p_batch_line_id out nocopy number
383 ,p_object_version_number out nocopy number
384 );
385 --
386 -- ----------------------------------------------------------------------------
387 -- |----------------------------< create_batch_total >------------------------|
388 -- ----------------------------------------------------------------------------
389 --
390 -- {Start Of Comments}
391 /*#
392 * This API creates a batch control total record.
393 *
394 *
395 * <p><b>Licensing</b><br>
396 * This API is licensed for use with Human Resources.
397 *
398 * <p><b>Prerequisites</b><br>
399 * A Batch Header.
400 *
401 * <p><b>Post Success</b><br>
402 * The batch control total will be successfully inserted into the database.
403 *
404 * <p><b>Post Failure</b><br>
405 * The API does not create the batch control total and raises an error.
406 * @param p_validate If true, then validation alone will be performed and the
407 * database will remain unchanged. If false and all validation checks pass,
408 * then the database will be modified.
409 * @param p_session_date Applications effective date.
410 * @param p_batch_id Foreign Key to the Batch Header.
414 * @param p_control_type Type of rows to be summed. (Lookup type of
411 * @param p_control_status Status of the batch control total. (BATCH_SOURCE
412 * lookup type of HR_LOOKUPS, default 'U')
413 * @param p_control_total Control total value.
415 * 'CONTROL_TYPE' within HR_LOOKUPS)
416 * @param p_batch_control_id If p_validate is false, this uniquely identifies
417 * the Batch Control Total created. If p_validate is set to true, this
418 * parameter will be null.
419 * @param p_object_version_number If p_validate is false, then set to the
420 * version number of the created batch control total. If p_validate is true,
421 * then the value will be null.
422 * @rep:displayname Create Batch Total
423 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
424 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
425 * @rep:scope public
426 * @rep:lifecycle active
427 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
428 */
429 --
430 -- {End Of Comments}
431 --
432 procedure create_batch_total
433 (p_validate in boolean default false
434 ,p_session_date in date
435 ,p_batch_id in number
436 ,p_control_status in varchar2 default 'U'
437 ,p_control_total in varchar2 default null
438 ,p_control_type in varchar2 default null
439 ,p_batch_control_id out nocopy number
440 ,p_object_version_number out nocopy number
441 );
442 --
443 -- ----------------------------------------------------------------------------
444 -- |---------------------------< update_batch_header >------------------------|
445 -- ----------------------------------------------------------------------------
446 --
447 -- {Start Of Comments}
448 /*#
449 * This API updates the batch header information.
450 *
451 *
452 * <p><b>Licensing</b><br>
453 * This API is licensed for use with Human Resources.
454 *
455 * <p><b>Prerequisites</b><br>
456 * A valid batch header should exists.
457 *
458 * <p><b>Post Success</b><br>
459 * The batch header will be successfully updated into the database.
460 *
461 * <p><b>Post Failure</b><br>
462 * The API does not update the batch header and raises an error.
463 * @param p_validate If true, then validation alone will be performed and the
464 * database will remain unchanged. If false and all validation checks pass,
465 * then the database will be modified.
466 * @param p_session_date Applications effective date.
467 * @param p_batch_id Primary Key of the record.
468 * @param p_object_version_number Pass in the current version number of the
469 * batch header to be updated. When the API completes if p_validate is false,
470 * will be set to the new version number of the updated batch header. If
471 * p_validate is true will be set to the same value which was passed in.
472 * @param p_action_if_exists Type of action performed if a batch with that name
473 * exists. (ACTION_IF_EXISTS lookup type of HR_LOOKUPS)
474 * @param p_batch_name Name of the batch header.
475 * @param p_batch_reference Reference for the batch.
476 * @param p_batch_source Source for the batch.
477 * @param p_batch_status Status of the batch.
478 * @param p_comments Batch header comment text.
479 * @param p_date_effective_changes Creation type for the batch.
480 * (DATE_EFFECTIVE_CHANGES lookup type of HR_LOOKUPS)
481 * @param p_purge_after_transfer Purge-batch-after-transfer flag. (YES_NO
482 * lookup type of HR_LOOKUPS)
483 * @param p_reject_if_future_changes Reject-if-future-change flag. (YES_NO
484 * lookup type of HR_LOOKUPS)
485 * @param p_reject_if_results_exists Rejects the rollback if there are run
486 * results exist for the transferred line. (YES_NO lookup type of HR_LOOKUPS,
487 * default 'Y')
488 * @param p_purge_after_rollback Purges the batch after the rollback. (YES_NO
489 * lookup type of HR_LOOKUPS, default 'Y')
490 * @param p_batch_type Batch type for the given batch. This is based on
491 * the lookup type PAY_BEE_BATCH_TYPE.
492 * @param p_reject_entry_not_removed If this is selected and if the entry is
493 * not found or not removed then the batch line status of all batch lines
494 * for the given assignment will remain as 'Transferred'.
495 * @param p_rollback_entry_updates Allows the option to rollback entry
496 * updates other than correction and update override.
497 * @rep:displayname Update Batch Header
498 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
499 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
500 * @rep:scope public
501 * @rep:lifecycle active
502 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
503 */
504 --
505 -- {End Of Comments}
506 --
507 procedure update_batch_header
508 (p_validate in boolean default false
509 ,p_session_date in date
510 ,p_batch_id in number
511 ,p_object_version_number in out nocopy number
512 ,p_action_if_exists in varchar2 default hr_api.g_varchar2
513 ,p_batch_name in varchar2 default hr_api.g_varchar2
514 ,p_batch_reference in varchar2 default hr_api.g_varchar2
515 ,p_batch_source in varchar2 default hr_api.g_varchar2
516 ,p_batch_status in varchar2 default hr_api.g_varchar2
517 ,p_comments in varchar2 default hr_api.g_varchar2
518 ,p_date_effective_changes in varchar2 default hr_api.g_varchar2
519 ,p_purge_after_transfer in varchar2 default hr_api.g_varchar2
523 ,p_batch_type in varchar2 default hr_api.g_varchar2
520 ,p_reject_if_future_changes in varchar2 default hr_api.g_varchar2
521 ,p_reject_if_results_exists in varchar2 default hr_api.g_varchar2
522 ,p_purge_after_rollback in varchar2 default hr_api.g_varchar2
524 ,p_REJECT_ENTRY_NOT_REMOVED in varchar2 default hr_api.g_varchar2
525 ,p_ROLLBACK_ENTRY_UPDATES in varchar2 default hr_api.g_varchar2
526 );
527 --
528 -- ----------------------------------------------------------------------------
529 -- |----------------------------< update_batch_line >-------------------------|
530 -- ----------------------------------------------------------------------------
531 --
532 -- {Start Of Comments}
533 /*#
534 * This API updates the batch line information.
535 *
536 *
537 * <p><b>Licensing</b><br>
538 * This API is licensed for use with Human Resources.
539 *
540 * <p><b>Prerequisites</b><br>
541 * A Batch Header.
542 *
543 * <p><b>Post Success</b><br>
544 * The batch line will be successfully updated into the database.
545 *
546 * <p><b>Post Failure</b><br>
547 * The API does not update the batch line and raises an error.
548 * @param p_validate If true, then validation alone will be performed and the
549 * database will remain unchanged. If false and all validation checks pass,
550 * then the database will be modified.
551 * @param p_session_date Applications effective date.
552 * @param p_batch_line_id Primary Key of the record.
553 * @param p_batch_line_status Line's status. (BATCH_STATUS lookup value)
554 * @param p_object_version_number Pass in the current version number of the
555 * batch line to be updated. When the API completes if p_validate is false,
556 * will be set to the new version number of the updated batch line. If
557 * p_validate is true will be set to the same value which was passed in.
558 * @param p_assignment_id {@rep:casecolumn PER_ALL_ASSIGNMENTS_F.ASSIGNMENT_ID}
559 * @param p_assignment_number Assignment Number
560 * @param p_attribute_category This context value determines which flexfield
561 * structure to use with the descriptive flexfield segments.
562 * @param p_attribute1 Descriptive flexfield segment.
563 * @param p_attribute2 Descriptive flexfield segment.
564 * @param p_attribute3 Descriptive flexfield segment.
565 * @param p_attribute4 Descriptive flexfield segment.
566 * @param p_attribute5 Descriptive flexfield segment.
567 * @param p_attribute6 Descriptive flexfield segment.
568 * @param p_attribute7 Descriptive flexfield segment.
569 * @param p_attribute8 Descriptive flexfield segment.
570 * @param p_attribute9 Descriptive flexfield segment.
571 * @param p_attribute10 Descriptive flexfield segment.
572 * @param p_attribute11 Descriptive flexfield segment.
573 * @param p_attribute12 Descriptive flexfield segment.
574 * @param p_attribute13 Descriptive flexfield segment.
575 * @param p_attribute14 Descriptive flexfield segment.
576 * @param p_attribute15 Descriptive flexfield segment.
577 * @param p_attribute16 Descriptive flexfield segment.
578 * @param p_attribute17 Descriptive flexfield segment.
579 * @param p_attribute18 Descriptive flexfield segment.
580 * @param p_attribute19 Descriptive flexfield segment.
581 * @param p_attribute20 Descriptive flexfield segment.
582 * @param p_entry_information_category Further Element Entry Info.
583 * @param p_entry_information1 Further Element Entry Info.
584 * @param p_entry_information2 Further Element Entry Info.
585 * @param p_entry_information3 Further Element Entry Info.
586 * @param p_entry_information4 Further Element Entry Info.
587 * @param p_entry_information5 Further Element Entry Info.
588 * @param p_entry_information6 Further Element Entry Info.
589 * @param p_entry_information7 Further Element Entry Info.
590 * @param p_entry_information8 Further Element Entry Info.
591 * @param p_entry_information9 Further Element Entry Info.
592 * @param p_entry_information10 Further Element Entry Info.
593 * @param p_entry_information11 Further Element Entry Info.
594 * @param p_entry_information12 Further Element Entry Info.
595 * @param p_entry_information13 Further Element Entry Info.
596 * @param p_entry_information14 Further Element Entry Info.
597 * @param p_entry_information15 Further Element Entry Info.
598 * @param p_entry_information16 Further Element Entry Info.
599 * @param p_entry_information17 Further Element Entry Info.
600 * @param p_entry_information18 Further Element Entry Info.
601 * @param p_entry_information19 Further Element Entry Info.
602 * @param p_entry_information20 Further Element Entry Info.
603 * @param p_entry_information21 Further Element Entry Info.
604 * @param p_entry_information22 Further Element Entry Info.
605 * @param p_entry_information23 Further Element Entry Info.
606 * @param p_entry_information24 Further Element Entry Info.
607 * @param p_entry_information25 Further Element Entry Info.
608 * @param p_entry_information26 Further Element Entry Info.
609 * @param p_entry_information27 Further Element Entry Info.
610 * @param p_entry_information28 Further Element Entry Info.
611 * @param p_entry_information29 Further Element Entry Info.
612 * @param p_entry_information30 Further Element Entry Info.
613 * @param p_date_earned Date Earned
614 * @param p_personal_payment_method_id Personal Payment Method
615 * @param p_subpriority Sub priority
616 * @param p_batch_sequence Sequence order of the line within the batch.
617 * @param p_concatenated_segments Concatenated Costing Segments
618 * @param p_cost_allocation_keyflex_id Identifier for the Cost Allocation
619 * Keyflex
623 * the effective start date for certain elements.
620 * @param p_effective_date Determines when the DateTrack operation comes into
621 * force.
622 * @param p_effective_start_date This will be used as the absence start date or
624 * @param p_effective_end_date This will be used as the absence end date or the
625 * effective end date for certain elements.
626 * @param p_element_name Element Name
627 * @param p_element_type_id Identifier for the Element Type
628 * @param p_entry_type Entry Type (ENTRY_TYPE lookup type of HR_LOOKUPS)
629 * @param p_reason Reason
630 * @param p_segment1 Key flexfield segment.
631 * @param p_segment2 Key flexfield segment.
632 * @param p_segment3 Key flexfield segment.
633 * @param p_segment4 Key flexfield segment.
634 * @param p_segment5 Key flexfield segment.
635 * @param p_segment6 Key flexfield segment.
636 * @param p_segment7 Key flexfield segment.
637 * @param p_segment8 Key flexfield segment.
638 * @param p_segment9 Key flexfield segment.
639 * @param p_segment10 Key flexfield segment.
640 * @param p_segment11 Key flexfield segment.
641 * @param p_segment12 Key flexfield segment.
642 * @param p_segment13 Key flexfield segment.
643 * @param p_segment14 Key flexfield segment.
644 * @param p_segment15 Key flexfield segment.
645 * @param p_segment16 Key flexfield segment.
646 * @param p_segment17 Key flexfield segment.
647 * @param p_segment18 Key flexfield segment.
648 * @param p_segment19 Key flexfield segment.
649 * @param p_segment20 Key flexfield segment.
650 * @param p_segment21 Key flexfield segment.
651 * @param p_segment22 Key flexfield segment.
652 * @param p_segment23 Key flexfield segment.
653 * @param p_segment24 Key flexfield segment.
654 * @param p_segment25 Key flexfield segment.
655 * @param p_segment26 Key flexfield segment.
656 * @param p_segment27 Key flexfield segment.
657 * @param p_segment28 Key flexfield segment.
658 * @param p_segment29 Key flexfield segment.
659 * @param p_segment30 Key flexfield segment.
660 * @param p_value_1 Input Value
661 * @param p_value_2 Input Value
662 * @param p_value_3 Input Value
663 * @param p_value_4 Input Value
664 * @param p_value_5 Input Value
665 * @param p_value_6 Input Value
666 * @param p_value_7 Input Value
667 * @param p_value_8 Input Value
668 * @param p_value_9 Input Value
669 * @param p_value_10 Input Value
670 * @param p_value_11 Input Value
671 * @param p_value_12 Input Value
672 * @param p_value_13 Input Value
673 * @param p_value_14 Input Value
674 * @param p_value_15 Input Value
675 * @param p_canonical_date_format (Y/N) To indicate whether the date format of
676 * the input values is in internal or display format.
677 * @param p_iv_all_internal_format (Y/N) Internal format for all input values.
678 * If set to 'Y' then it overrides the p_canonical_date_format flag.
679 * @rep:displayname Update Batch Line
680 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
681 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
682 * @rep:scope public
683 * @rep:lifecycle active
684 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
685 */
686 --
687 -- {End Of Comments}
688 --
689 procedure update_batch_line
690 (p_validate in boolean default false
691 ,p_session_date in date
692 ,p_batch_line_id in number
693 ,p_batch_line_status in varchar2 default hr_api.g_varchar2
694 ,p_object_version_number in out nocopy number
695 ,p_assignment_id in number default hr_api.g_number
696 ,p_assignment_number in varchar2 default hr_api.g_varchar2
697 ,p_attribute_category in varchar2 default hr_api.g_varchar2
698 ,p_attribute1 in varchar2 default hr_api.g_varchar2
699 ,p_attribute2 in varchar2 default hr_api.g_varchar2
700 ,p_attribute3 in varchar2 default hr_api.g_varchar2
701 ,p_attribute4 in varchar2 default hr_api.g_varchar2
702 ,p_attribute5 in varchar2 default hr_api.g_varchar2
703 ,p_attribute6 in varchar2 default hr_api.g_varchar2
704 ,p_attribute7 in varchar2 default hr_api.g_varchar2
705 ,p_attribute8 in varchar2 default hr_api.g_varchar2
706 ,p_attribute9 in varchar2 default hr_api.g_varchar2
707 ,p_attribute10 in varchar2 default hr_api.g_varchar2
708 ,p_attribute11 in varchar2 default hr_api.g_varchar2
709 ,p_attribute12 in varchar2 default hr_api.g_varchar2
710 ,p_attribute13 in varchar2 default hr_api.g_varchar2
711 ,p_attribute14 in varchar2 default hr_api.g_varchar2
712 ,p_attribute15 in varchar2 default hr_api.g_varchar2
713 ,p_attribute16 in varchar2 default hr_api.g_varchar2
714 ,p_attribute17 in varchar2 default hr_api.g_varchar2
715 ,p_attribute18 in varchar2 default hr_api.g_varchar2
716 ,p_attribute19 in varchar2 default hr_api.g_varchar2
717 ,p_attribute20 in varchar2 default hr_api.g_varchar2
718 ,p_entry_information_category in varchar2 default hr_api.g_varchar2
719 ,p_entry_information1 in varchar2 default hr_api.g_varchar2
720 ,p_entry_information2 in varchar2 default hr_api.g_varchar2
721 ,p_entry_information3 in varchar2 default hr_api.g_varchar2
722 ,p_entry_information4 in varchar2 default hr_api.g_varchar2
726 ,p_entry_information8 in varchar2 default hr_api.g_varchar2
723 ,p_entry_information5 in varchar2 default hr_api.g_varchar2
724 ,p_entry_information6 in varchar2 default hr_api.g_varchar2
725 ,p_entry_information7 in varchar2 default hr_api.g_varchar2
727 ,p_entry_information9 in varchar2 default hr_api.g_varchar2
728 ,p_entry_information10 in varchar2 default hr_api.g_varchar2
729 ,p_entry_information11 in varchar2 default hr_api.g_varchar2
730 ,p_entry_information12 in varchar2 default hr_api.g_varchar2
731 ,p_entry_information13 in varchar2 default hr_api.g_varchar2
732 ,p_entry_information14 in varchar2 default hr_api.g_varchar2
733 ,p_entry_information15 in varchar2 default hr_api.g_varchar2
734 ,p_entry_information16 in varchar2 default hr_api.g_varchar2
735 ,p_entry_information17 in varchar2 default hr_api.g_varchar2
736 ,p_entry_information18 in varchar2 default hr_api.g_varchar2
737 ,p_entry_information19 in varchar2 default hr_api.g_varchar2
738 ,p_entry_information20 in varchar2 default hr_api.g_varchar2
739 ,p_entry_information21 in varchar2 default hr_api.g_varchar2
740 ,p_entry_information22 in varchar2 default hr_api.g_varchar2
741 ,p_entry_information23 in varchar2 default hr_api.g_varchar2
742 ,p_entry_information24 in varchar2 default hr_api.g_varchar2
743 ,p_entry_information25 in varchar2 default hr_api.g_varchar2
744 ,p_entry_information26 in varchar2 default hr_api.g_varchar2
745 ,p_entry_information27 in varchar2 default hr_api.g_varchar2
746 ,p_entry_information28 in varchar2 default hr_api.g_varchar2
747 ,p_entry_information29 in varchar2 default hr_api.g_varchar2
748 ,p_entry_information30 in varchar2 default hr_api.g_varchar2
749 ,p_date_earned in date default hr_api.g_date
750 ,p_personal_payment_method_id in number default hr_api.g_number
751 ,p_subpriority in number default hr_api.g_number
752 ,p_batch_sequence in number default hr_api.g_number
753 ,p_concatenated_segments in varchar2 default hr_api.g_varchar2
754 ,p_cost_allocation_keyflex_id in number default hr_api.g_number
755 ,p_effective_date in date default hr_api.g_date
756 ,p_effective_start_date in date default hr_api.g_date
757 ,p_effective_end_date in date default hr_api.g_date
758 ,p_element_name in varchar2 default hr_api.g_varchar2
759 ,p_element_type_id in number default hr_api.g_number
760 ,p_entry_type in varchar2 default hr_api.g_varchar2
761 ,p_reason in varchar2 default hr_api.g_varchar2
762 ,p_segment1 in varchar2 default hr_api.g_varchar2
763 ,p_segment2 in varchar2 default hr_api.g_varchar2
764 ,p_segment3 in varchar2 default hr_api.g_varchar2
765 ,p_segment4 in varchar2 default hr_api.g_varchar2
766 ,p_segment5 in varchar2 default hr_api.g_varchar2
767 ,p_segment6 in varchar2 default hr_api.g_varchar2
768 ,p_segment7 in varchar2 default hr_api.g_varchar2
769 ,p_segment8 in varchar2 default hr_api.g_varchar2
770 ,p_segment9 in varchar2 default hr_api.g_varchar2
771 ,p_segment10 in varchar2 default hr_api.g_varchar2
772 ,p_segment11 in varchar2 default hr_api.g_varchar2
773 ,p_segment12 in varchar2 default hr_api.g_varchar2
774 ,p_segment13 in varchar2 default hr_api.g_varchar2
775 ,p_segment14 in varchar2 default hr_api.g_varchar2
776 ,p_segment15 in varchar2 default hr_api.g_varchar2
777 ,p_segment16 in varchar2 default hr_api.g_varchar2
778 ,p_segment17 in varchar2 default hr_api.g_varchar2
779 ,p_segment18 in varchar2 default hr_api.g_varchar2
780 ,p_segment19 in varchar2 default hr_api.g_varchar2
781 ,p_segment20 in varchar2 default hr_api.g_varchar2
782 ,p_segment21 in varchar2 default hr_api.g_varchar2
783 ,p_segment22 in varchar2 default hr_api.g_varchar2
784 ,p_segment23 in varchar2 default hr_api.g_varchar2
785 ,p_segment24 in varchar2 default hr_api.g_varchar2
786 ,p_segment25 in varchar2 default hr_api.g_varchar2
787 ,p_segment26 in varchar2 default hr_api.g_varchar2
788 ,p_segment27 in varchar2 default hr_api.g_varchar2
789 ,p_segment28 in varchar2 default hr_api.g_varchar2
790 ,p_segment29 in varchar2 default hr_api.g_varchar2
791 ,p_segment30 in varchar2 default hr_api.g_varchar2
792 ,p_value_1 in varchar2 default hr_api.g_varchar2
793 ,p_value_2 in varchar2 default hr_api.g_varchar2
794 ,p_value_3 in varchar2 default hr_api.g_varchar2
795 ,p_value_4 in varchar2 default hr_api.g_varchar2
796 ,p_value_5 in varchar2 default hr_api.g_varchar2
797 ,p_value_6 in varchar2 default hr_api.g_varchar2
801 ,p_value_10 in varchar2 default hr_api.g_varchar2
798 ,p_value_7 in varchar2 default hr_api.g_varchar2
799 ,p_value_8 in varchar2 default hr_api.g_varchar2
800 ,p_value_9 in varchar2 default hr_api.g_varchar2
802 ,p_value_11 in varchar2 default hr_api.g_varchar2
803 ,p_value_12 in varchar2 default hr_api.g_varchar2
804 ,p_value_13 in varchar2 default hr_api.g_varchar2
805 ,p_value_14 in varchar2 default hr_api.g_varchar2
806 ,p_value_15 in varchar2 default hr_api.g_varchar2
807 ,p_canonical_date_format in varchar2 default 'Y'
808 ,p_iv_all_internal_format in varchar2 default 'N'
809 );
810 --
811 -- ----------------------------------------------------------------------------
812 -- |----------------------------< update_batch_total >------------------------|
813 -- ----------------------------------------------------------------------------
814 --
815 -- {Start Of Comments}
816 /*#
817 * This API updates the batch control total information.
818 *
819 *
820 * <p><b>Licensing</b><br>
821 * This API is licensed for use with Human Resources.
822 *
823 * <p><b>Prerequisites</b><br>
824 * Batch Header.
825 *
826 * <p><b>Post Success</b><br>
827 * The batch control total will be successfully updated into the database.
828 *
829 * <p><b>Post Failure</b><br>
830 * The API does not update the batch control total and raises an error.
831 * @param p_validate If true, then validation alone will be performed and the
832 * database will remain unchanged. If false and all validation checks pass,
833 * then the database will be modified.
834 * @param p_session_date Applications effective date.
835 * @param p_batch_control_id Primary Key of the record.
836 * @param p_object_version_number Pass in the current version number of the
837 * batch control total to be updated. When the API completes if p_validate is
838 * false, will be set to the new version number of the updated batch control
839 * total. If p_validate is true will be set to the same value which was passed
840 * in.
841 * @param p_control_status Status of the batch control total.(BATCH_STATUS
842 * lookup type of HR_LOOKUPS)
843 * @param p_control_total Control total value.
844 * @param p_control_type Type of rows to be summed. (Lookup type of
845 * 'CONTROL_TYPE' within HR_LOOKUPS)
846 * @rep:displayname Update Batch Total
847 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
848 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
849 * @rep:scope public
850 * @rep:lifecycle active
851 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
852 */
853 --
854 -- {End Of Comments}
855 --
856 procedure update_batch_total
857 (p_validate in boolean default false
858 ,p_session_date in date
859 ,p_batch_control_id in number
860 ,p_object_version_number in out nocopy number
861 ,p_control_status in varchar2 default hr_api.g_varchar2
862 ,p_control_total in varchar2 default hr_api.g_varchar2
863 ,p_control_type in varchar2 default hr_api.g_varchar2
864 );
865 --
866 -- ----------------------------------------------------------------------------
867 -- |---------------------------< delete_batch_header >------------------------|
868 -- ----------------------------------------------------------------------------
869 --
870 -- {Start Of Comments}
871 /*#
872 * This API deletes the batch header.
873 *
874 *
875 * <p><b>Licensing</b><br>
876 * This API is licensed for use with Human Resources.
877 *
878 * <p><b>Prerequisites</b><br>
879 * The batch should exists.
880 *
881 * <p><b>Post Success</b><br>
882 * The batch header will be successfully deleted from the database.
883 *
884 * <p><b>Post Failure</b><br>
885 * The API does not delete the batch header and raises an error.
886 * @param p_validate If true, then validation alone will be performed and the
887 * database will remain unchanged. If false and all validation checks pass,
888 * then the database will be modified.
889 * @param p_batch_id Primary Key of the record.
890 * @param p_object_version_number Pass in the current version number of the
891 * batch header to be deleted. When the API completes if p_validate is false,
892 * will be set to the new version number of the deleted batch header. If
893 * p_validate is true will be set to the same value which was passed in.
894 * @rep:displayname Delete Batch Header
895 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
896 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
897 * @rep:scope public
898 * @rep:lifecycle active
899 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
900 */
901 --
902 -- {End Of Comments}
903 --
904 procedure delete_batch_header
905 (p_validate in boolean default false
906 ,p_batch_id in number
907 ,p_object_version_number in number
908 );
909 --
910 -- ----------------------------------------------------------------------------
911 -- |----------------------------< delete_batch_line >-------------------------|
912 -- ----------------------------------------------------------------------------
913 --
914 -- {Start Of Comments}
915 /*#
916 * This API deletes the batch line.
917 *
918 *
919 * <p><b>Licensing</b><br>
920 * This API is licensed for use with Human Resources.
921 *
922 * <p><b>Prerequisites</b><br>
923 * A Batch Header.
924 *
925 * <p><b>Post Success</b><br>
926 * The batch line will be successfully deleted from the database.
927 *
928 * <p><b>Post Failure</b><br>
929 * The API does not delete the batch line and raises an error.
930 * @param p_validate If true, then validation alone will be performed and the
931 * database will remain unchanged. If false and all validation checks pass,
932 * then the database will be modified.
933 * @param p_batch_line_id Primary Key of the record.
934 * @param p_object_version_number Pass in the current version number of the
935 * batch line to be deleted. When the API completes if p_validate is false,
936 * will be set to the new version number of the deleted batch line. If
937 * p_validate is true will be set to the same value which was passed in.
938 * @rep:displayname Delete Batch Line
939 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
940 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
941 * @rep:scope public
942 * @rep:lifecycle active
943 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
944 */
945 --
946 -- {End Of Comments}
947 --
948 procedure delete_batch_line
949 (p_validate in boolean default false
950 ,p_batch_line_id in number
951 ,p_object_version_number in number
952 );
953 --
954 -- ----------------------------------------------------------------------------
955 -- |----------------------------< delete_batch_total >------------------------|
956 -- ----------------------------------------------------------------------------
957 --
958 -- {Start Of Comments}
959 /*#
960 * This API deletes the batch control total.
961 *
962 *
963 * <p><b>Licensing</b><br>
964 * This API is licensed for use with Human Resources.
965 *
966 * <p><b>Prerequisites</b><br>
967 * Batch Header.
968 *
969 * <p><b>Post Success</b><br>
970 * The batch control total will be successfully deleted from the database.
971 *
972 * <p><b>Post Failure</b><br>
973 * The API does not delete the batch control total and raises an error.
974 * @param p_validate If true, then validation alone will be performed and the
975 * database will remain unchanged. If false and all validation checks pass,
976 * then the database will be modified.
977 * @param p_batch_control_id Primary Key of the record.
978 * @param p_object_version_number Pass in the current version number of the
979 * batch control total to be deleted. When the API completes if p_validate is
980 * false, will be set to the new version number of the deleted batch control
981 * total. If p_validate is true will be set to the same value which was passed
982 * in.
983 * @rep:displayname Delete Batch Total
984 * @rep:category BUSINESS_ENTITY PAY_BATCH_ELEMENT_ENTRY
985 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
986 * @rep:scope public
987 * @rep:lifecycle active
988 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
989 */
990 --
991 -- {End Of Comments}
992 --
993 procedure delete_batch_total
994 (p_validate in boolean default false
995 ,p_batch_control_id in number
996 ,p_object_version_number in number
997 );
998 --
999 end PAY_BATCH_ELEMENT_ENTRY_API;