1 Package hr_assignment_api AUTHID CURRENT_USER as
2 /* $Header: peasgapi.pkh 120.14.12020000.3 2013/02/07 09:34:50 sidsaxen ship $ */
3 /*#
4 * This package contains APIs for maintaining employee, applicant and
5 * contingent worker assignment details.
6 * @rep:scope public
7 * @rep:product per
8 * @rep:displayname Assignment
9 */
10 --
11 -- -----------------------------------------------------------------------------
12 -- |--------------------------< last_apl_asg >---------------------------------|
13 -- -----------------------------------------------------------------------------
14 --
15 -- {Start of Comments}
16 --
17 -- Description:
18 -- Determines if the assignment is the last applicant assignment on a given
19 -- date
20 --
21 -- Prerequisites:
22 -- None
23 --
24 -- In Parameters
25 -- Name Reqd Type Description
26 -- p_assignment_id Yes number Assignment id
27 -- p_effective_date Yes date Effective date
28 --
29 -- Post Success:
30 -- A boolean indicator signifying if the assignment is the last applicant
31 -- assignment on the effective date is returned.
32 --
33 -- Post Failure:
34 -- An error is raised
35 --
36 -- Access Status:
37 -- Internal Development Use Only
38 --
39 -- {End of Comments}
40 --
41 FUNCTION last_apl_asg
42 (p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
43 ,p_effective_date IN DATE
44 )
45 RETURN BOOLEAN;
46 --
47 -- ----------------------------------------------------------------------------
48 -- |--------------------------< activate_emp_asg >----------------------------|
49 -- ----------------------------------------------------------------------------
50 --
51 -- {Start Of Comments}
52 /*#
53 * This API updates the status of an employee assignment to an Active status.
54 *
55 *
56 * <p><b>Licensing</b><br>
57 * This API is licensed for use with Human Resources.
58 *
59 * <p><b>Prerequisites</b><br>
60 * The assignment must be an employee assignment. The assignment must exist as
61 * of the effective date of the change
62 *
63 * <p><b>Post Success</b><br>
64 * The employee assignment will be set to an active status
65 *
66 * <p><b>Post Failure</b><br>
67 * The status of the employee assignment will not be changed and an error will
68 * be raised
69 * @param p_validate If true, then validation alone will be performed and the
70 * database will remain unchanged. If false and all validation checks pass,
71 * then the database will be modified.
72 * @param p_effective_date Determines when the DateTrack operation comes into
73 * force.
74 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
75 * updating the record. You must set to either UPDATE, CORRECTION,
76 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
77 * particular record depend on the dates of previous record changes and the
78 * effective date of this change.
79 * @param p_assignment_id Identifies the assignment record to be modified.
80 * @param p_change_reason Reason for the assignment status change. If there is
81 * no change reason the parameter can be null. Valid values are defined in the
82 * EMP_ASSIGN_REASON lookup type.
83 * @param p_object_version_number Pass in the current version number of the
84 * assignment to be updated. When the API completes if p_validate is false,
85 * will be set to the new version number of the updated assignment. If
86 * p_validate is true will be set to the same value which was passed in.
87 * @param p_assignment_status_type_id The new assignment status must have a
88 * system assignment status of ACTIVE_ASSIGN. If the assignment status is
89 * already a type of ACTIVE_ASSIGN, this API can be used to set a different
90 * active status. If no value is supplied, this API uses the default
91 * ACTIVE_ASSIGN status for the business group in which this assignment exists.
92 * @param p_effective_start_date If p_validate is false, then set to the
93 * effective start date on the updated assignment row which now exists as of
94 * the effective date. If p_validate is true, then set to null.
95 * @param p_effective_end_date If p_validate is false, then set to the
96 * effective end date on the updated assignment row which now exists as of the
97 * effective date. If p_validate is true, then set to null.
98 * @rep:displayname Activate Employee Assignment
99 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
100 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
101 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
102 * @rep:scope public
103 * @rep:lifecycle active
104 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
105 */
106 --
107 -- {End Of Comments}
108 --
109 procedure activate_emp_asg
110 (p_validate in boolean default false
111 ,p_effective_date in date
112 ,p_datetrack_update_mode in varchar2
113 ,p_assignment_id in number
114 ,p_change_reason in varchar2 default hr_api.g_varchar2
115 ,p_object_version_number in out nocopy number
116 ,p_assignment_status_type_id in number default hr_api.g_number
117 ,p_effective_start_date out nocopy date
118 ,p_effective_end_date out nocopy date
119 );
120 --
121 -- ----------------------------------------------------------------------------
122 -- |--------------------------< activate_cwk_asg >----------------------------|
123 -- ----------------------------------------------------------------------------
124 --
125 -- {Start Of Comments}
126 /*#
127 * This API updates the status of a contingent worker assignment to an Active
128 * status.
129 *
130 *
131 * <p><b>Licensing</b><br>
132 * This API is licensed for use with Human Resources.
133 *
134 * <p><b>Prerequisites</b><br>
135 * The assignment must be an contingent worker assignment. The assignment must
136 * exist as of the effective date of the change
137 *
138 * <p><b>Post Success</b><br>
139 * The contingent worker assignment will be set to an active status
140 *
141 * <p><b>Post Failure</b><br>
142 * The status of the contingent worker assignment will not be changed and an
143 * error will be raised
144 * @param p_validate If true, then validation alone will be performed and the
145 * database will remain unchanged. If false and all validation checks pass,
146 * then the database will be modified.
147 * @param p_effective_date Determines when the DateTrack operation comes into
148 * force.
149 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
150 * updating the record. You must set to either UPDATE, CORRECTION,
151 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
152 * particular record depend on the dates of previous record changes and the
153 * effective date of this change.
154 * @param p_assignment_id Identifies the assignment record to be modified.
155 * @param p_change_reason Reason for the assignment status change. If there is
156 * no change reason the parameter can be null. Valid values are defined in the
157 * CWK_ASSIGN_REASON lookup_type.
158 * @param p_object_version_number Pass in the current version number of the
159 * assignment to be updated. When the API completes if p_validate is false,
160 * will be set to the new version number of the updated assignment. If
161 * p_validate is true will be set to the same value which was passed in.
162 * @param p_assignment_status_type_id The new assignment status must have a
163 * system assignment status of ACTIVE_CWK. If the assignment status is already
164 * a type of ACTIVE_CWK, this API can be used to set a different active status.
165 * If no value is supplied, this API uses the default ACTIVE_CWK status for the
166 * business group in which this assignment exists.
167 * @param p_effective_start_date If p_validate is false, then set to the
168 * effective start date on the updated assignment row which now exists as of
169 * the effective date. If p_validate is true, then set to null.
170 * @param p_effective_end_date If p_validate is false, then set to the
171 * effective end date on the updated assignment row which now exists as of the
172 * effective date. If p_validate is true, then set to null.
173 * @rep:displayname Activate Contingent Worker assignment
174 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
175 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
176 * @rep:scope public
177 * @rep:lifecycle active
178 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
179 */
180 --
181 -- {End Of Comments}
182 --
183 procedure activate_cwk_asg
184 (p_validate in boolean default false
185 ,p_effective_date in date
186 ,p_datetrack_update_mode in varchar2
187 ,p_assignment_id in number
188 ,p_change_reason in varchar2 default hr_api.g_varchar2
189 ,p_object_version_number in out nocopy number
190 ,p_assignment_status_type_id in number default hr_api.g_number
191 ,p_effective_start_date out nocopy date
192 ,p_effective_end_date out nocopy date
193 );
194 --
195 -- ----------------------------------------------------------------------------
196 -- |----------------------< actual_termination_emp_asg >----------------------|
197 -- ----------------------------------------------------------------------------
198 --
199 -- {Start Of Comments}
200 /*#
201 * This API updates the status of an employee assignment to a Termination
202 * status.
203 *
204 * This API covers the first step in terminating an employee assignment. When
205 * an employee has more than one assignment, this API will terminate any
206 * secondary assignment, but cannot terminate the primary assignment. The
207 * second step of the termination process should be performed using the API
208 * final_process_emp_asg. actual_termination_emp_asg is used to set the actual
209 * termination date and to change the assignment status to a type of
210 * TERM_ASSIGN. If you want to change the actual termination date after it has
211 * been entered, you must cancel the termination and then re-apply the
212 * termination as of the new date.
213 *
214 * <p><b>Licensing</b><br>
215 * This API is licensed for use with Human Resources.
216 *
217 * <p><b>Prerequisites</b><br>
218 * The assignment must be a secondary employee assignment, and must exist on
219 * the effective date.
220 *
221 * <p><b>Post Success</b><br>
222 * The API updates the assignment status. Using this API may have an effect on
223 * element entries. Element entries for the assignment that have an element
224 * termination rule of 'Actual Termination' are ended as of the actual
225 * termination date. Element entries for the assignment that have an element
226 * termination rule of 'Final Close' are not affected by this API. These
227 * entries are updated by the final_process_emp_asg API. In non-US
228 * legislations, element entries for the assignment that have an element
229 * termination rule of 'Last Standard Process' are ended. (In a US legislation,
230 * the element termination rule of 'Last Standard Process' is not used.) The
231 * date used depends on the payroll component of the employee's assignment.
232 * When the assignment does not include a payroll, the entries are ended as of
233 * the actual termination date. When the assignment includes a payroll, the
234 * entries are ended as of the end date of the payroll period in which the
235 * actual termination date occurs.
236 *
237 * <p><b>Post Failure</b><br>
238 * The API does not update the assignment or element entries and raises an
239 * error.
240 * @param p_validate If true, then validation alone will be performed and the
241 * database will remain unchanged. If false and all validation checks pass,
242 * then the database will be modified.
243 * @param p_assignment_id Identifies the assignment record to be modified.
244 * @param p_object_version_number Pass in the current version number of the
245 * assignment to be updated. When the API completes if p_validate is false,
246 * will be set to the new version number of the updated assignment. If
247 * p_validate is true will be set to the same value which was passed in.
248 * @param p_actual_termination_date Actual termination date
249 * @param p_assignment_status_type_id The new assignment status must have a
250 * system assignment status of TERM_ASSIGN. If no value is supplied, this API
251 * uses the default TERM_ASSIGN status for the business group in which this
252 * assignment exists.
253 * @param p_effective_start_date If p_validate is false, then set to the
254 * effective start date on the updated assignment row which now exists as of
255 * the effective date. If p_validate is true, then set to null.
256 * @param p_effective_end_date If p_validate is false, then set to the
257 * effective end date on the updated assignment row which now exists as of the
258 * effective date. If p_validate is true, then set to null.
259 * @param p_asg_future_changes_warning Set to true if at least one assignment
260 * change, after the actual termination date, has been overwritten with the new
261 * assignment status. Set to false when there were no changes in the future.
262 * @param p_entries_changed_warning This is set to 'Y', if at least one element
263 * entry was altered due to the assignment change. It is set to 'S', if at
264 * least one salary element entry was affected (This is a more specific case
265 * than 'Y').
266 * Otherwise set to 'N', if no element entries were changed.
267 * @param p_pay_proposal_warning Set to true if any salary proposal existing
268 * after the actual termination date has been deleted. Set to false when there
269 * are no salary proposals after actual termination date.
270 * @rep:displayname Actual Termination Employee Assignment
271 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
272 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
273 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
274 * @rep:scope public
275 * @rep:lifecycle active
276 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
277 */
278 --
279 -- {End Of Comments}
280 --
281 procedure actual_termination_emp_asg
282 (p_validate in boolean default false
283 ,p_assignment_id in number
284 ,p_object_version_number in out nocopy number
285 ,p_actual_termination_date in date
286 ,p_assignment_status_type_id in number default hr_api.g_number
287 ,p_effective_start_date out nocopy date
288 ,p_effective_end_date out nocopy date
289 ,p_asg_future_changes_warning out nocopy boolean
290 ,p_entries_changed_warning out nocopy varchar2
291 ,p_pay_proposal_warning out nocopy boolean
292 );
293 --
294 -- ----------------------------------------------------------------------------
295 -- |----------------------< actual_termination_cwk_asg >----------------------|
296 -- ----------------------------------------------------------------------------
297 -- {Start Of Comments}
298 --
299 -- Description:
300 -- This API covers the first step in terminating a placement
301 -- assignment. When a placement has more than one assignment, you can
302 -- use this API to terminate any assignment except the primary assignment.
303 --
304 -- Note: If the placement has only one assignment, or if you want to
305 -- terminate all current assignments, you should use the
306 -- hr_cwk_api.terminate_placement API.
307 -- Also, you cannot use this API to update an applicant or
308 -- employee assignment status.
309 --
310 -- The termination process has two distinct steps, using two
311 -- APIs. Use the actual_termination_cwk_asg API to set the actual
312 -- termination date and to change the assignment status to a type of
313 -- TERM_CWK_ASSIGN. Then use the final_process_cwk_asg API to date
314 -- effectively delete the assignment with effect from the final process
315 -- date.
316 --
317 -- The new assignment status must have a corresponding system status of
318 -- TERM_CWK_ASSIGN. If a status is not passed into the API, the default
319 -- TERM_CWK_ASSIGN status for the assignment's business group is used. The
320 -- new status takes affect on the day after the actual termination date.
321 --
322 -- If you want to change the actual termination date after it has been
323 -- entered, you must cancel the termination and then re-apply the termination
324 -- as of the new date.
325 --
326 -- Element entries for the assignment that have an element
327 -- termination rule of 'Actual Termination' are date effectively
328 -- deleted as of the actual termination date.
329 --
330 -- Element entries for the assignment that have an element
331 -- termination rule of 'Final Close' are not affected by this API.
332 -- These entries are updated by the 'final_process_cwk_asg' API.
333 --
334 -- In a US legislation, the element termination rule of 'Last Standard
335 -- Process' is not used.
336 --
337 -- In non-US legislations, element entries for the
338 -- assignment that have an element termination rule of 'Last Standard
339 -- Process' are date effectively deleted. The date used depends on
340 -- the payroll component of the contingent worker assignment.
341 -- When the assignment does not include a payroll, the entries are
342 -- deleted as of the actual termination date.
343 -- When the assignment includes a payroll, the entries are deleted
344 -- as of the end date of the payroll period in which the actual
345 -- termination date occurs.
346 --
347 -- Prerequisites:
348 -- The assignment record, identified by p_assignment_id and
349 -- p_object_version_number, must exist as a secondary contingent worker
350 -- assignment.
351 -- The assignment status type, identified by p_assignment_status_type_id,
352 -- must exist for the same business group as the assignment, must be active,
353 -- and must have a system status of TERM_CWK_ASSIGN. If no assignment status
354 -- is specified, the API uses the default user status for TERM_CWK_ASSIGN.
355 --
356 -- In Parameters:
357 -- Name Reqd Type Description
358 -- p_validate No boolean If true, the database
359 -- remains unchanged. If false
360 -- then the assignment and
361 -- element entries are
362 -- updated.
363 -- p_assignment_id Yes number ID of the assignment
364 -- p_object_version_number Yes number Version number of the
365 -- assignment record
366 -- p_actual_termination_date Yes date Actual termination date
367 -- p_assignment_status_type_id No number Assignment status type
368 --
369 -- Post Success:
370 -- The API updates the assignment, modifies the element entries, and sets
371 -- the following out parameters:
372 --
373 -- Name Type Description
374 -- p_object_version_number number If p_validate is false, set to
375 -- the new version number of the
376 -- actual termination date
377 -- assignment record. If p_validate
378 -- is true, set to the same value
379 -- you passed in.
380 -- p_effective_start_date date If p_validate is false, set to
381 -- the effective start date of the
382 -- actual termination date assignment
383 -- record. If p_validate is true set
384 -- to null.
385 -- p_effective_end_date date If p_validate is false, set to
386 -- the effective end date of the
387 -- actual termination date assignment
388 -- record. If p_validate is true set
389 -- to null.
390 -- p_asg_future_changes_warning boolean Set to true if at least one
391 -- assignment change, after the
392 -- actual termination date, has been
393 -- overwritten with the new
394 -- assignment status. Set to
395 -- false when there were no changes
396 -- in the future.
397 -- p_entries_changed_warning varchar2 Set to 'Y' if at least one
398 -- element entry was altered due to
399 -- the assignment change.
400 -- Set to 'S' if at least one salary
401 -- element entry was affected. (This
402 -- (is a more specific case than
403 -- 'Y'.) Otherwise set to 'N', if
404 -- no element entries were changed.
405 --
406 -- p_pay_proposal_warning boolean Set to true if any salary proposal
407 -- existing after the
408 -- actual_termination_date has been
409 -- deleted. Set to false when there
410 -- are no salary proposals after actual_
411 -- termination_date.
412 -- Post Failure:
413 -- The API does not update the assignment or element entries and raises an
414 -- error.
415 --
416 -- Access Status:
417 -- Public.
418 --
419 -- {End Of Comments}
420 --
421 procedure actual_termination_cwk_asg
422 (p_validate in boolean default false
423 ,p_assignment_id in number
424 ,p_object_version_number in out nocopy number
425 ,p_actual_termination_date in date
426 ,p_assignment_status_type_id in number default hr_api.g_number
427 ,p_effective_start_date out nocopy date
428 ,p_effective_end_date out nocopy date
429 ,p_asg_future_changes_warning out nocopy boolean
430 ,p_entries_changed_warning out nocopy varchar2
431 ,p_pay_proposal_warning out nocopy boolean
432 );
433 --
434 -- ----------------------------------------------------------------------------
435 -- |-------------------------< final_process_cwk_asg >------------------------|
436 -- ----------------------------------------------------------------------------
437 -- {Start Of Comments}
438 --
439 -- Description:
440 -- This API covers the second step in terminating an individual cwk
441 -- assignment. You can use this API to terminate any assignment except
442 -- the primary assignment.
443 --
444 -- Note: If the person has only one assignment, or if you want to
445 -- terminate all current assignments, you should use the
446 -- 'terminate_placement' API.
447 --
448 -- The termination process has two distinct steps, using two APIs.
449 -- Use the actual_termination_cwk_asg API to set the actual termination
450 -- date and to change the assignment status to a type of TERM_CWK_ASSIGN.
451 -- Then use the final_process_cwk_asg API to date-effectively delete the
452 -- assignment with effect from the final process date.
453 --
454 -- Note: The cwk assignment must already have an actual termination
455 -- date. The actual termination date is not held on the assignment
456 -- record. It is derived from the date when the assignment status
457 -- first changes to a TERM_CWK_ASSIGN system status.
458 --
459 -- Element entries for the assignment that have an element
460 -- termination rule of 'Final Close' are date effectively deleted as
461 -- of the final process date.
462 --
463 -- Element entries for the assignment that have an element
464 -- termination rule of 'Last Standard Process' are date effectively
465 -- deleted as of the final process date, if the last standard process date
466 -- is later than the final process date.
467 --
468 -- Any cost allocations, grade step/point placements, cobra coverage benefits
469 -- and personal payment methods for this assignment are date effectively
470 -- deleted as of the final process date.
471 --
472 -- Prerequisites:
473 -- The assignment must be a secondary contingent worker assignment.
474 -- The assignment must already have an actual termination date.
475 -- The final process date cannot be earlier than the actual termination
476 -- date.
477 --
478 -- In Parameters:
479 -- Name Reqd Type Description
480 -- p_validate No boolean If true, the database
481 -- remains unchanged. If false
482 -- then the assignment and
483 -- element entries are
484 -- changed.
485 -- p_assignment_id Yes number ID of the assignment
486 -- p_object_version_number Yes number Version number of the
487 -- assignment record
488 -- p_final_process_date Yes date Final Process Date
489 --
490 -- Post Success:
491 -- The API date effectively deletes the assignment and element entries,
492 -- and sets the following out parameters:
493 --
494 -- Name Type Description
495 -- p_object_version_number number If p_validate is false, set to
496 -- the new version number of the
497 -- modified assignment record. If
498 -- p_validate is true, set to the
499 -- same value you passed in.
500 -- p_effective_start_date date If p_validate is false, set to
501 -- the effective start date for
502 -- this assignment change. If
503 -- p_validate is true set to null.
504 -- p_effective_end_date date If p_validate is false, set to
505 -- the effective end date for
506 -- this assignment change. If
507 -- p_validate is true set to null.
508 -- p_org_now_no_manager_warning boolean Set to true if this assignment
509 -- had the manager flag set to 'Y'
510 -- and there are no other managers
511 -- in the assignment's organization.
512 -- Set to false if there is another manager
513 -- in the assignment's organization
514 -- or if this assignment did not have
515 -- the manager flag set to 'Y'.
516 -- The warning value only applies as
517 -- of the final process date.
518 -- p_asg_future_changes_warning boolean Set to true if at least one
519 -- assignment change, after the final
520 -- process date, has been deleted
521 -- as a result of terminating the
522 -- assignment. (The only valid change after the
523 -- actual termination date is setting the
524 -- assignment status to another
525 -- TERM_CWK_ASSIGN status.) Set to false
526 -- when there were no changes after
527 -- final process date.
528 -- p_entries_changed_warning varchar2 Set to 'Y' when at least one
529 -- element entry was altered due to
530 -- the assignment change.
531 -- Set to 'S' if at least one salary
532 -- element entry was affected. (This
533 -- (is a more specific case than
534 -- 'Y'.) Otherwise set to 'N', when
535 -- no element entries were changed.
536 --
537 -- Post Failure:
538 -- The API does not update the assignment or element entries and raises an
539 -- error.
540 --
541 -- Access Status:
542 -- Public.
543 --
544 -- {End Of Comments}
545 --
546 procedure final_process_cwk_asg
547 (p_validate in boolean default false
548 ,p_assignment_id in number
549 ,p_object_version_number in out nocopy number
550 ,p_final_process_date in date
551 ,p_effective_start_date out nocopy date
552 ,p_effective_end_date out nocopy date
553 ,p_org_now_no_manager_warning out nocopy boolean
554 ,p_asg_future_changes_warning out nocopy boolean
555 ,p_entries_changed_warning out nocopy varchar2
556 );
557 --
558 -- ----------------------------------------------------------------------------
559 -- |---------------------------< suspend_cwk_asg >----------------------------|
560 -- ----------------------------------------------------------------------------
561 --
562 -- {Start Of Comments}
563 /*#
564 * This API changes the status of a contingent worker assignment to a Suspended
565 * status.
566 *
567 *
568 * <p><b>Licensing</b><br>
569 * This API is licensed for use with Human Resources.
570 *
571 * <p><b>Prerequisites</b><br>
572 * The assignment must be a contingent worker assignment, and must exist on the
573 * effective date.
574 *
575 * <p><b>Post Success</b><br>
576 * The contingent worker assignment will be set to a suspended status.
577 *
578 * <p><b>Post Failure</b><br>
579 * The API does not update the assignment and raises an error.
580 * @param p_validate If true, then validation alone will be performed and the
581 * database will remain unchanged. If false and all validation checks pass,
582 * then the database will be modified.
583 * @param p_effective_date Determines when the DateTrack operation comes into
584 * force.
585 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
586 * updating the record. You must set to either UPDATE, CORRECTION,
587 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
588 * particular record depend on the dates of previous record changes and the
589 * effective date of this change.
590 * @param p_assignment_id Identifies the assignment record to be modified.
591 * @param p_change_reason Reason for the assignment status change. If there is
592 * no change reason the parameter can be null. Valid values are defined in the
593 * CWK_ASSIGN_REASON lookup_type.
594 * @param p_object_version_number Pass in the current version number of the
595 * assignment to be updated. When the API completes if p_validate is false,
596 * will be set to the new version number of the updated assignment. If
597 * p_validate is true will be set to the same value which was passed in.
598 * @param p_assignment_status_type_id The new assignment status. The new status
599 * must have a system status of SUSP_CWK_ASG. If the assignment status is
600 * already a type of SUSP_CWK_ASG this API can be used to set a different
601 * suspend status. If this parameter is not explicitly passed, the API uses the
602 * default SUSP_CWK_ASG status for the assignment's business group.
603 * @param p_effective_start_date If p_validate is false, then set to the
604 * effective start date on the updated assignment row which now exists as of
605 * the effective date. If p_validate is true, then set to null.
606 * @param p_effective_end_date If p_validate is false, then set to the
607 * effective end date on the updated assignment row which now exists as of the
608 * effective date. If p_validate is true, then set to null.
609 * @rep:displayname Suspend Contingent Worker assignment
610 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
611 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
612 * @rep:scope public
613 * @rep:lifecycle active
614 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
615 */
616 --
617 -- {End Of Comments}
618 --
619 procedure suspend_cwk_asg
620 (p_validate in boolean default false
621 ,p_effective_date in date
622 ,p_datetrack_update_mode in varchar2
623 ,p_assignment_id in number
624 ,p_change_reason in varchar2 default hr_api.g_varchar2
625 ,p_object_version_number in out nocopy number
626 ,p_assignment_status_type_id in number default hr_api.g_number
627 ,p_effective_start_date out nocopy date
628 ,p_effective_end_date out nocopy date
629 );
630 --
631 -- ----------------------------------------------------------------------------
632 -- |-------------------------< create_secondary_emp_asg >---------------------|
633 -- ----------------------------------------------------------------------------
634 --
635 -- This version of the API is now out-of-date however it has been provided to
636 -- you for backward compatibility support and will be removed in the future.
637 -- Oracle recommends you to modify existing calling programs in advance of the
638 -- support being withdrawn thus avoiding any potential disruption.
639 --
640 procedure create_secondary_emp_asg
641 (p_validate in boolean default false
642 ,p_effective_date in date
643 ,p_person_id in number
644 ,p_organization_id in number
645 ,p_grade_id in number default null
646 ,p_position_id in number default null
647 ,p_job_id in number default null
648 ,p_assignment_status_type_id in number default null
649 ,p_payroll_id in number default null
650 ,p_location_id in number default null
651 ,p_supervisor_id in number default null
652 ,p_special_ceiling_step_id in number default null
653 ,p_pay_basis_id in number default null
654 ,p_assignment_number in out nocopy varchar2
655 ,p_change_reason in varchar2 default null
656 ,p_comments in varchar2 default null
657 ,p_date_probation_end in date default null
658 ,p_default_code_comb_id in number default null
659 ,p_employment_category in varchar2 default null
660 ,p_frequency in varchar2 default null
661 ,p_internal_address_line in varchar2 default null
662 ,p_manager_flag in varchar2 default null
663 ,p_normal_hours in number default null
664 ,p_perf_review_period in number default null
665 ,p_perf_review_period_frequency in varchar2 default null
666 ,p_probation_period in number default null
667 ,p_probation_unit in varchar2 default null
668 ,p_sal_review_period in number default null
669 ,p_sal_review_period_frequency in varchar2 default null
670 ,p_set_of_books_id in number default null
671 ,p_source_type in varchar2 default null
672 ,p_time_normal_finish in varchar2 default null
673 ,p_time_normal_start in varchar2 default null
674 ,p_bargaining_unit_code in varchar2 default null
675 ,p_labour_union_member_flag in varchar2 default 'N'
676 ,p_hourly_salaried_code in varchar2 default null
677 ,p_ass_attribute_category in varchar2 default null
678 ,p_ass_attribute1 in varchar2 default null
679 ,p_ass_attribute2 in varchar2 default null
680 ,p_ass_attribute3 in varchar2 default null
681 ,p_ass_attribute4 in varchar2 default null
682 ,p_ass_attribute5 in varchar2 default null
683 ,p_ass_attribute6 in varchar2 default null
684 ,p_ass_attribute7 in varchar2 default null
685 ,p_ass_attribute8 in varchar2 default null
686 ,p_ass_attribute9 in varchar2 default null
687 ,p_ass_attribute10 in varchar2 default null
688 ,p_ass_attribute11 in varchar2 default null
689 ,p_ass_attribute12 in varchar2 default null
690 ,p_ass_attribute13 in varchar2 default null
691 ,p_ass_attribute14 in varchar2 default null
692 ,p_ass_attribute15 in varchar2 default null
693 ,p_ass_attribute16 in varchar2 default null
694 ,p_ass_attribute17 in varchar2 default null
695 ,p_ass_attribute18 in varchar2 default null
696 ,p_ass_attribute19 in varchar2 default null
697 ,p_ass_attribute20 in varchar2 default null
698 ,p_ass_attribute21 in varchar2 default null
699 ,p_ass_attribute22 in varchar2 default null
700 ,p_ass_attribute23 in varchar2 default null
701 ,p_ass_attribute24 in varchar2 default null
702 ,p_ass_attribute25 in varchar2 default null
703 ,p_ass_attribute26 in varchar2 default null
704 ,p_ass_attribute27 in varchar2 default null
705 ,p_ass_attribute28 in varchar2 default null
706 ,p_ass_attribute29 in varchar2 default null
707 ,p_ass_attribute30 in varchar2 default null
708 ,p_title in varchar2 default null
709 ,p_scl_segment1 in varchar2 default null
710 ,p_scl_segment2 in varchar2 default null
711 ,p_scl_segment3 in varchar2 default null
712 ,p_scl_segment4 in varchar2 default null
713 ,p_scl_segment5 in varchar2 default null
714 ,p_scl_segment6 in varchar2 default null
715 ,p_scl_segment7 in varchar2 default null
716 ,p_scl_segment8 in varchar2 default null
717 ,p_scl_segment9 in varchar2 default null
718 ,p_scl_segment10 in varchar2 default null
719 ,p_scl_segment11 in varchar2 default null
720 ,p_scl_segment12 in varchar2 default null
721 ,p_scl_segment13 in varchar2 default null
722 ,p_scl_segment14 in varchar2 default null
723 ,p_scl_segment15 in varchar2 default null
724 ,p_scl_segment16 in varchar2 default null
725 ,p_scl_segment17 in varchar2 default null
726 ,p_scl_segment18 in varchar2 default null
727 ,p_scl_segment19 in varchar2 default null
728 ,p_scl_segment20 in varchar2 default null
729 ,p_scl_segment21 in varchar2 default null
730 ,p_scl_segment22 in varchar2 default null
731 ,p_scl_segment23 in varchar2 default null
732 ,p_scl_segment24 in varchar2 default null
733 ,p_scl_segment25 in varchar2 default null
734 ,p_scl_segment26 in varchar2 default null
735 ,p_scl_segment27 in varchar2 default null
736 ,p_scl_segment28 in varchar2 default null
737 ,p_scl_segment29 in varchar2 default null
738 ,p_scl_segment30 in varchar2 default null
739 -- Bug 944911
740 -- Added scl_concat_segments and amended scl_concatenated_segments
741 -- to be an out instead of in out
742 ,p_scl_concat_segments in varchar2 default null
743 ,p_pgp_segment1 in varchar2 default null
744 ,p_pgp_segment2 in varchar2 default null
745 ,p_pgp_segment3 in varchar2 default null
746 ,p_pgp_segment4 in varchar2 default null
747 ,p_pgp_segment5 in varchar2 default null
748 ,p_pgp_segment6 in varchar2 default null
749 ,p_pgp_segment7 in varchar2 default null
750 ,p_pgp_segment8 in varchar2 default null
751 ,p_pgp_segment9 in varchar2 default null
752 ,p_pgp_segment10 in varchar2 default null
753 ,p_pgp_segment11 in varchar2 default null
754 ,p_pgp_segment12 in varchar2 default null
755 ,p_pgp_segment13 in varchar2 default null
756 ,p_pgp_segment14 in varchar2 default null
757 ,p_pgp_segment15 in varchar2 default null
758 ,p_pgp_segment16 in varchar2 default null
759 ,p_pgp_segment17 in varchar2 default null
760 ,p_pgp_segment18 in varchar2 default null
761 ,p_pgp_segment19 in varchar2 default null
762 ,p_pgp_segment20 in varchar2 default null
763 ,p_pgp_segment21 in varchar2 default null
764 ,p_pgp_segment22 in varchar2 default null
765 ,p_pgp_segment23 in varchar2 default null
766 ,p_pgp_segment24 in varchar2 default null
767 ,p_pgp_segment25 in varchar2 default null
768 ,p_pgp_segment26 in varchar2 default null
769 ,p_pgp_segment27 in varchar2 default null
770 ,p_pgp_segment28 in varchar2 default null
771 ,p_pgp_segment29 in varchar2 default null
772 ,p_pgp_segment30 in varchar2 default null
773 -- Bug 944911
774 -- Changed this to out
775 -- Added new param p_concat_segments in for non sec asg
776 -- else added p_pgp_concat_segments
777 ,p_pgp_concat_segments in varchar2 default null
778 ,p_supervisor_assignment_id in number default null
779 ,p_group_name out nocopy varchar2
780 -- Bug 944911
781 -- Added scl_concat_segments and amended scl_concatenated_segments
782 -- to be an out instead of in out
783 -- Amended this to be p_concatenated_segments
784 ,p_concatenated_segments out nocopy varchar2
785 ,p_assignment_id out nocopy number
786 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
787 ,p_people_group_id in out nocopy number -- bug 2359997
788 ,p_object_version_number out nocopy number
789 ,p_effective_start_date out nocopy date
790 ,p_effective_end_date out nocopy date
791 ,p_assignment_sequence out nocopy number
792 ,p_comment_id out nocopy number
793 ,p_other_manager_warning out nocopy boolean
794 );
795
796 --
797 -- ----------------------------------------------------------------------------
798 -- |-------------------------< create_secondary_emp_asg >---------------------|
799 -- ----------------------------------------------------------------------------
800 --
801 -- This version of the API is now out-of-date however it has been provided to
802 -- you for backward compatibility support and will be removed in the future.
803 -- Oracle recommends you to modify existing calling programs in advance of the
804 -- support being withdrawn thus avoiding any potential disruption.
805 --
806 procedure create_secondary_emp_asg
807 (p_validate in boolean default false
808 ,p_effective_date in date
809 ,p_person_id in number
810 ,p_organization_id in number
811 ,p_grade_id in number default null
812 ,p_position_id in number default null
813 ,p_job_id in number default null
814 ,p_assignment_status_type_id in number default null
815 ,p_payroll_id in number default null
816 ,p_location_id in number default null
817 ,p_supervisor_id in number default null
818 ,p_special_ceiling_step_id in number default null
819 ,p_pay_basis_id in number default null
820 ,p_assignment_number in out nocopy varchar2
821 ,p_change_reason in varchar2 default null
822 ,p_comments in varchar2 default null
823 ,p_date_probation_end in date default null
824 ,p_default_code_comb_id in number default null
825 ,p_employment_category in varchar2 default null
826 ,p_frequency in varchar2 default null
827 ,p_internal_address_line in varchar2 default null
828 ,p_manager_flag in varchar2 default null
829 ,p_normal_hours in number default null
830 ,p_perf_review_period in number default null
831 ,p_perf_review_period_frequency in varchar2 default null
832 ,p_probation_period in number default null
833 ,p_probation_unit in varchar2 default null
834 ,p_sal_review_period in number default null
835 ,p_sal_review_period_frequency in varchar2 default null
836 ,p_set_of_books_id in number default null
837 ,p_source_type in varchar2 default null
838 ,p_time_normal_finish in varchar2 default null
839 ,p_time_normal_start in varchar2 default null
840 ,p_bargaining_unit_code in varchar2 default null
841 ,p_labour_union_member_flag in varchar2 default 'N'
842 ,p_hourly_salaried_code in varchar2 default null
843 ,p_ass_attribute_category in varchar2 default null
844 ,p_ass_attribute1 in varchar2 default null
845 ,p_ass_attribute2 in varchar2 default null
846 ,p_ass_attribute3 in varchar2 default null
847 ,p_ass_attribute4 in varchar2 default null
848 ,p_ass_attribute5 in varchar2 default null
849 ,p_ass_attribute6 in varchar2 default null
850 ,p_ass_attribute7 in varchar2 default null
851 ,p_ass_attribute8 in varchar2 default null
852 ,p_ass_attribute9 in varchar2 default null
853 ,p_ass_attribute10 in varchar2 default null
854 ,p_ass_attribute11 in varchar2 default null
855 ,p_ass_attribute12 in varchar2 default null
856 ,p_ass_attribute13 in varchar2 default null
857 ,p_ass_attribute14 in varchar2 default null
858 ,p_ass_attribute15 in varchar2 default null
859 ,p_ass_attribute16 in varchar2 default null
860 ,p_ass_attribute17 in varchar2 default null
861 ,p_ass_attribute18 in varchar2 default null
862 ,p_ass_attribute19 in varchar2 default null
863 ,p_ass_attribute20 in varchar2 default null
864 ,p_ass_attribute21 in varchar2 default null
865 ,p_ass_attribute22 in varchar2 default null
866 ,p_ass_attribute23 in varchar2 default null
867 ,p_ass_attribute24 in varchar2 default null
868 ,p_ass_attribute25 in varchar2 default null
869 ,p_ass_attribute26 in varchar2 default null
870 ,p_ass_attribute27 in varchar2 default null
871 ,p_ass_attribute28 in varchar2 default null
872 ,p_ass_attribute29 in varchar2 default null
873 ,p_ass_attribute30 in varchar2 default null
874 ,p_title in varchar2 default null
875 ,p_scl_segment1 in varchar2 default null
876 ,p_scl_segment2 in varchar2 default null
877 ,p_scl_segment3 in varchar2 default null
878 ,p_scl_segment4 in varchar2 default null
879 ,p_scl_segment5 in varchar2 default null
880 ,p_scl_segment6 in varchar2 default null
881 ,p_scl_segment7 in varchar2 default null
882 ,p_scl_segment8 in varchar2 default null
883 ,p_scl_segment9 in varchar2 default null
884 ,p_scl_segment10 in varchar2 default null
885 ,p_scl_segment11 in varchar2 default null
886 ,p_scl_segment12 in varchar2 default null
887 ,p_scl_segment13 in varchar2 default null
888 ,p_scl_segment14 in varchar2 default null
889 ,p_scl_segment15 in varchar2 default null
890 ,p_scl_segment16 in varchar2 default null
891 ,p_scl_segment17 in varchar2 default null
892 ,p_scl_segment18 in varchar2 default null
893 ,p_scl_segment19 in varchar2 default null
894 ,p_scl_segment20 in varchar2 default null
895 ,p_scl_segment21 in varchar2 default null
896 ,p_scl_segment22 in varchar2 default null
897 ,p_scl_segment23 in varchar2 default null
898 ,p_scl_segment24 in varchar2 default null
899 ,p_scl_segment25 in varchar2 default null
900 ,p_scl_segment26 in varchar2 default null
901 ,p_scl_segment27 in varchar2 default null
902 ,p_scl_segment28 in varchar2 default null
903 ,p_scl_segment29 in varchar2 default null
904 ,p_scl_segment30 in varchar2 default null
905 -- Bug 944911
906 -- Added scl_concat_segments and amended scl_concatenated_segments
907 -- to be an out instead of in out
908 ,p_scl_concat_segments in varchar2 default null
909 ,p_pgp_segment1 in varchar2 default null
910 ,p_pgp_segment2 in varchar2 default null
911 ,p_pgp_segment3 in varchar2 default null
912 ,p_pgp_segment4 in varchar2 default null
913 ,p_pgp_segment5 in varchar2 default null
914 ,p_pgp_segment6 in varchar2 default null
915 ,p_pgp_segment7 in varchar2 default null
916 ,p_pgp_segment8 in varchar2 default null
917 ,p_pgp_segment9 in varchar2 default null
918 ,p_pgp_segment10 in varchar2 default null
919 ,p_pgp_segment11 in varchar2 default null
920 ,p_pgp_segment12 in varchar2 default null
921 ,p_pgp_segment13 in varchar2 default null
922 ,p_pgp_segment14 in varchar2 default null
923 ,p_pgp_segment15 in varchar2 default null
924 ,p_pgp_segment16 in varchar2 default null
925 ,p_pgp_segment17 in varchar2 default null
926 ,p_pgp_segment18 in varchar2 default null
927 ,p_pgp_segment19 in varchar2 default null
928 ,p_pgp_segment20 in varchar2 default null
929 ,p_pgp_segment21 in varchar2 default null
930 ,p_pgp_segment22 in varchar2 default null
931 ,p_pgp_segment23 in varchar2 default null
932 ,p_pgp_segment24 in varchar2 default null
933 ,p_pgp_segment25 in varchar2 default null
934 ,p_pgp_segment26 in varchar2 default null
935 ,p_pgp_segment27 in varchar2 default null
936 ,p_pgp_segment28 in varchar2 default null
937 ,p_pgp_segment29 in varchar2 default null
938 ,p_pgp_segment30 in varchar2 default null
939 -- Bug 944911
940 -- Changed this to out
941 -- Added new param p_concat_segments in for non sec asg
942 -- else added p_pgp_concat_segments
943 ,p_pgp_concat_segments in varchar2 default null
944 ,p_contract_id in number default null
945 ,p_establishment_id in number default null
946 ,p_collective_agreement_id in number default null
947 ,p_cagr_id_flex_num in number default null
948 ,p_cag_segment1 in varchar2 default null
949 ,p_cag_segment2 in varchar2 default null
950 ,p_cag_segment3 in varchar2 default null
951 ,p_cag_segment4 in varchar2 default null
952 ,p_cag_segment5 in varchar2 default null
953 ,p_cag_segment6 in varchar2 default null
954 ,p_cag_segment7 in varchar2 default null
955 ,p_cag_segment8 in varchar2 default null
956 ,p_cag_segment9 in varchar2 default null
957 ,p_cag_segment10 in varchar2 default null
958 ,p_cag_segment11 in varchar2 default null
959 ,p_cag_segment12 in varchar2 default null
960 ,p_cag_segment13 in varchar2 default null
961 ,p_cag_segment14 in varchar2 default null
962 ,p_cag_segment15 in varchar2 default null
963 ,p_cag_segment16 in varchar2 default null
964 ,p_cag_segment17 in varchar2 default null
965 ,p_cag_segment18 in varchar2 default null
966 ,p_cag_segment19 in varchar2 default null
967 ,p_cag_segment20 in varchar2 default null
968 ,p_notice_period in number default null
969 ,p_notice_period_uom in varchar2 default null
970 ,p_employee_category in varchar2 default null
971 ,p_work_at_home in varchar2 default null
972 ,p_job_post_source_name in varchar2 default null
973 ,p_grade_ladder_pgm_id in number default null
974 ,p_supervisor_assignment_id in number default null
975 ,p_group_name out nocopy varchar2
976 -- Bug 944911
977 -- Added scl_concat_segments and amended scl_concatenated_segments
978 -- to be an out instead of in out
979 -- Amended this to be p_concatenated_segments
980 ,p_concatenated_segments out nocopy varchar2
981 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
982 ,p_cagr_concatenated_segments out nocopy varchar2
983 ,p_assignment_id out nocopy number
984 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
985 ,p_people_group_id in out nocopy number -- bug 2359997
986 ,p_object_version_number out nocopy number
987 ,p_effective_start_date out nocopy date
988 ,p_effective_end_date out nocopy date
989 ,p_assignment_sequence out nocopy number
990 ,p_comment_id out nocopy number
991 ,p_other_manager_warning out nocopy boolean
992 );
993 --
994 -- ----------------------------------------------------------------------------
995 -- |-------------------------< create_secondary_emp_asg >---------------------|
996 -- ----------------------------------------------------------------------------
997 --
998 -- This version of the API is now out-of-date however it has been provided to
999 -- you for backward compatibility support and will be removed in the future.
1000 -- Oracle recommends you to modify existing calling programs in advance of the
1001 -- support being withdrawn thus avoiding any potential disruption.
1002 --
1003 procedure create_secondary_emp_asg
1004 (p_validate in boolean default false
1005 ,p_effective_date in date
1006 ,p_person_id in number
1007 ,p_organization_id in number
1008 ,p_grade_id in number default null
1009 ,p_position_id in number default null
1010 ,p_job_id in number default null
1011 ,p_assignment_status_type_id in number default null
1012 ,p_payroll_id in number default null
1013 ,p_location_id in number default null
1014 ,p_supervisor_id in number default null
1015 ,p_special_ceiling_step_id in number default null
1016 ,p_pay_basis_id in number default null
1017 ,p_assignment_number in out nocopy varchar2
1018 ,p_change_reason in varchar2 default null
1019 ,p_comments in varchar2 default null
1020 ,p_date_probation_end in date default null
1021 ,p_default_code_comb_id in number default null
1022 ,p_employment_category in varchar2 default null
1023 ,p_frequency in varchar2 default null
1024 ,p_internal_address_line in varchar2 default null
1025 ,p_manager_flag in varchar2 default null
1026 ,p_normal_hours in number default null
1027 ,p_perf_review_period in number default null
1028 ,p_perf_review_period_frequency in varchar2 default null
1029 ,p_probation_period in number default null
1030 ,p_probation_unit in varchar2 default null
1031 ,p_sal_review_period in number default null
1032 ,p_sal_review_period_frequency in varchar2 default null
1033 ,p_set_of_books_id in number default null
1034 ,p_source_type in varchar2 default null
1035 ,p_time_normal_finish in varchar2 default null
1036 ,p_time_normal_start in varchar2 default null
1037 ,p_bargaining_unit_code in varchar2 default null
1038 ,p_labour_union_member_flag in varchar2 default 'N'
1039 ,p_hourly_salaried_code in varchar2 default null
1040 ,p_ass_attribute_category in varchar2 default null
1041 ,p_ass_attribute1 in varchar2 default null
1042 ,p_ass_attribute2 in varchar2 default null
1043 ,p_ass_attribute3 in varchar2 default null
1044 ,p_ass_attribute4 in varchar2 default null
1045 ,p_ass_attribute5 in varchar2 default null
1046 ,p_ass_attribute6 in varchar2 default null
1047 ,p_ass_attribute7 in varchar2 default null
1048 ,p_ass_attribute8 in varchar2 default null
1049 ,p_ass_attribute9 in varchar2 default null
1050 ,p_ass_attribute10 in varchar2 default null
1051 ,p_ass_attribute11 in varchar2 default null
1052 ,p_ass_attribute12 in varchar2 default null
1053 ,p_ass_attribute13 in varchar2 default null
1054 ,p_ass_attribute14 in varchar2 default null
1055 ,p_ass_attribute15 in varchar2 default null
1056 ,p_ass_attribute16 in varchar2 default null
1057 ,p_ass_attribute17 in varchar2 default null
1058 ,p_ass_attribute18 in varchar2 default null
1059 ,p_ass_attribute19 in varchar2 default null
1060 ,p_ass_attribute20 in varchar2 default null
1061 ,p_ass_attribute21 in varchar2 default null
1062 ,p_ass_attribute22 in varchar2 default null
1063 ,p_ass_attribute23 in varchar2 default null
1064 ,p_ass_attribute24 in varchar2 default null
1065 ,p_ass_attribute25 in varchar2 default null
1066 ,p_ass_attribute26 in varchar2 default null
1067 ,p_ass_attribute27 in varchar2 default null
1068 ,p_ass_attribute28 in varchar2 default null
1069 ,p_ass_attribute29 in varchar2 default null
1070 ,p_ass_attribute30 in varchar2 default null
1071 ,p_title in varchar2 default null
1072 ,p_scl_segment1 in varchar2 default null
1073 ,p_scl_segment2 in varchar2 default null
1074 ,p_scl_segment3 in varchar2 default null
1075 ,p_scl_segment4 in varchar2 default null
1076 ,p_scl_segment5 in varchar2 default null
1077 ,p_scl_segment6 in varchar2 default null
1078 ,p_scl_segment7 in varchar2 default null
1079 ,p_scl_segment8 in varchar2 default null
1080 ,p_scl_segment9 in varchar2 default null
1081 ,p_scl_segment10 in varchar2 default null
1082 ,p_scl_segment11 in varchar2 default null
1083 ,p_scl_segment12 in varchar2 default null
1084 ,p_scl_segment13 in varchar2 default null
1085 ,p_scl_segment14 in varchar2 default null
1086 ,p_scl_segment15 in varchar2 default null
1087 ,p_scl_segment16 in varchar2 default null
1088 ,p_scl_segment17 in varchar2 default null
1089 ,p_scl_segment18 in varchar2 default null
1090 ,p_scl_segment19 in varchar2 default null
1091 ,p_scl_segment20 in varchar2 default null
1092 ,p_scl_segment21 in varchar2 default null
1093 ,p_scl_segment22 in varchar2 default null
1094 ,p_scl_segment23 in varchar2 default null
1095 ,p_scl_segment24 in varchar2 default null
1096 ,p_scl_segment25 in varchar2 default null
1097 ,p_scl_segment26 in varchar2 default null
1098 ,p_scl_segment27 in varchar2 default null
1099 ,p_scl_segment28 in varchar2 default null
1100 ,p_scl_segment29 in varchar2 default null
1101 ,p_scl_segment30 in varchar2 default null
1102 -- Bug 944911
1103 -- Added scl_concat_segments and amended scl_concatenated_segments
1104 -- to be an out instead of in out
1105 ,p_scl_concat_segments in varchar2 default null
1106 ,p_pgp_segment1 in varchar2 default null
1107 ,p_pgp_segment2 in varchar2 default null
1108 ,p_pgp_segment3 in varchar2 default null
1109 ,p_pgp_segment4 in varchar2 default null
1110 ,p_pgp_segment5 in varchar2 default null
1111 ,p_pgp_segment6 in varchar2 default null
1112 ,p_pgp_segment7 in varchar2 default null
1113 ,p_pgp_segment8 in varchar2 default null
1114 ,p_pgp_segment9 in varchar2 default null
1115 ,p_pgp_segment10 in varchar2 default null
1116 ,p_pgp_segment11 in varchar2 default null
1117 ,p_pgp_segment12 in varchar2 default null
1118 ,p_pgp_segment13 in varchar2 default null
1119 ,p_pgp_segment14 in varchar2 default null
1120 ,p_pgp_segment15 in varchar2 default null
1121 ,p_pgp_segment16 in varchar2 default null
1122 ,p_pgp_segment17 in varchar2 default null
1123 ,p_pgp_segment18 in varchar2 default null
1124 ,p_pgp_segment19 in varchar2 default null
1125 ,p_pgp_segment20 in varchar2 default null
1126 ,p_pgp_segment21 in varchar2 default null
1127 ,p_pgp_segment22 in varchar2 default null
1128 ,p_pgp_segment23 in varchar2 default null
1129 ,p_pgp_segment24 in varchar2 default null
1130 ,p_pgp_segment25 in varchar2 default null
1131 ,p_pgp_segment26 in varchar2 default null
1132 ,p_pgp_segment27 in varchar2 default null
1133 ,p_pgp_segment28 in varchar2 default null
1134 ,p_pgp_segment29 in varchar2 default null
1135 ,p_pgp_segment30 in varchar2 default null
1136 -- Bug 944911
1137 -- Changed this to out
1138 -- Added new param p_concat_segments in for non sec asg
1139 -- else added p_pgp_concat_segments
1140 ,p_pgp_concat_segments in varchar2 default null
1141 ,p_contract_id in number default null
1142 ,p_establishment_id in number default null
1143 ,p_collective_agreement_id in number default null
1144 ,p_cagr_id_flex_num in number default null
1145 ,p_cag_segment1 in varchar2 default null
1146 ,p_cag_segment2 in varchar2 default null
1147 ,p_cag_segment3 in varchar2 default null
1148 ,p_cag_segment4 in varchar2 default null
1149 ,p_cag_segment5 in varchar2 default null
1150 ,p_cag_segment6 in varchar2 default null
1151 ,p_cag_segment7 in varchar2 default null
1152 ,p_cag_segment8 in varchar2 default null
1153 ,p_cag_segment9 in varchar2 default null
1154 ,p_cag_segment10 in varchar2 default null
1155 ,p_cag_segment11 in varchar2 default null
1156 ,p_cag_segment12 in varchar2 default null
1157 ,p_cag_segment13 in varchar2 default null
1158 ,p_cag_segment14 in varchar2 default null
1159 ,p_cag_segment15 in varchar2 default null
1160 ,p_cag_segment16 in varchar2 default null
1161 ,p_cag_segment17 in varchar2 default null
1162 ,p_cag_segment18 in varchar2 default null
1163 ,p_cag_segment19 in varchar2 default null
1164 ,p_cag_segment20 in varchar2 default null
1165 ,p_notice_period in number default null
1166 ,p_notice_period_uom in varchar2 default null
1167 ,p_employee_category in varchar2 default null
1168 ,p_work_at_home in varchar2 default null
1169 ,p_job_post_source_name in varchar2 default null
1170 ,p_grade_ladder_pgm_id in number default null
1171 ,p_supervisor_assignment_id in number default null
1172 ,p_group_name out nocopy varchar2
1173 -- Bug 944911
1174 -- Added scl_concat_segments and amended scl_concatenated_segments
1175 -- to be an out instead of in out
1176 -- Amended this to be p_concatenated_segments
1177 ,p_concatenated_segments out nocopy varchar2
1178 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
1179 ,p_cagr_concatenated_segments out nocopy varchar2
1180 ,p_assignment_id out nocopy number
1181 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
1182 ,p_people_group_id in out nocopy number -- bug 2359997
1183 ,p_object_version_number out nocopy number
1184 ,p_effective_start_date out nocopy date
1185 ,p_effective_end_date out nocopy date
1186 ,p_assignment_sequence out nocopy number
1187 ,p_comment_id out nocopy number
1188 ,p_other_manager_warning out nocopy boolean
1189 ,p_hourly_salaried_warning out nocopy boolean
1190 );
1191 --
1192 -- ----------------------------------------------------------------------------
1193 -- |-------------------------< create_secondary_emp_asg >---------------------|
1194 -- ----------------------------------------------------------------------------
1195 --
1196 -- {Start Of Comments}
1197 /*#
1198 * This API creates a new secondary assignment for an employee.
1199 *
1200 * This API cannot create a primary assignment.
1201 *
1202 * <p><b>Licensing</b><br>
1203 * This API is licensed for use with Human Resources.
1204 *
1205 * <p><b>Prerequisites</b><br>
1206 * The person and organization must exist at the effective start date of the
1207 * assignment.
1208 *
1209 * <p><b>Post Success</b><br>
1210 * A new secondary assignment is created for the employee
1211 *
1212 * <p><b>Post Failure</b><br>
1213 * The API does not create the secondary assignment and raises an error.
1214 * @param p_validate If true, then validation alone will be performed and the
1215 * database will remain unchanged. If false and all validation checks pass,
1216 * then the database will be modified.
1217 * @param p_effective_date Determines when the DateTrack operation comes into
1218 * force.
1219 * @param p_person_id Identifies the person for whom you create the secondary
1220 * assignment record
1221 * @param p_organization_id Identifies the organization of the secondary
1222 * assignment
1223 * @param p_grade_id Identifies the grade of the secondary assignment
1224 * @param p_position_id Identifies the position of the secondary assignment
1225 * @param p_job_id Identifies the job of the secondary assignment
1226 * @param p_assignment_status_type_id Identifies the assignment status of the
1227 * secondary assignment.
1228 * @param p_payroll_id Identifies the payroll for the secondary assignment
1229 * @param p_location_id Identifies the location of the secondary assignment
1230 * @param p_supervisor_id Identifies the supervisor for the secondary
1231 * assignment. The value refers to the supervisor's person record.
1232 * @param p_special_ceiling_step_id Highest allowed step for the grade scale
1233 * associated with the grade of the secondary assignment.
1234 * @param p_pay_basis_id Salary basis for the secondary assignment
1235 * @param p_assignment_number If a value is passed in, this is used as the
1236 * assignment number. If no value is passed in an assignment number is
1237 * generated.
1238 * @param p_change_reason Reason for the assignment status change. If there is
1239 * no change reason the parameter can be null. Valid values are defined in the
1240 * EMP_ASSIGN_REASON lookup type.
1241 * @param p_comments Comment text.
1242 * @param p_date_probation_end End date of probation period
1243 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
1244 * Flexfield combination that applies to this assignment
1245 * @param p_employment_category Employment category. Valid values are defined
1246 * in the EMP_CAT lookup type.
1247 * @param p_frequency Frequency associated with the defined normal working
1248 * hours. Valid values are defined in the FREQUENCY lookup type.
1249 * @param p_internal_address_line Internal address identified with the
1250 * secondary assignment.
1251 * @param p_manager_flag Indicates whether the employee is a manager
1252 * @param p_normal_hours Normal working hours for this assignment
1253 * @param p_perf_review_period Length of performance review period.
1254 * @param p_perf_review_period_frequency Units of performance review period.
1255 * Valid values are defined in the FREQUENCY lookup type.
1256 * @param p_probation_period Length of probation period
1257 * @param p_probation_unit Units of probation period. Valid values are defined
1258 * in the QUALIFYING_UNITS lookup type.
1259 * @param p_sal_review_period Length of salary review period
1260 * @param p_sal_review_period_frequency Units of salary review period. Valid
1261 * values are defined in the FREQUENCY lookup type.
1262 * @param p_set_of_books_id Identifies General Ledger set of books.
1263 * @param p_source_type Recruitment activity which this assignment is sourced
1264 * from. Valid values are defined in the REC_TYPE lookup type.
1265 * @param p_time_normal_finish Normal work finish time
1266 * @param p_time_normal_start Normal work start time
1267 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
1268 * defined in the BARGAINING_UNIT_CODE lookup type.
1269 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
1270 * union member. Other values indicate not a member.
1271 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
1272 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
1273 * @param p_ass_attribute_category This context value determines which
1274 * Flexfield Structure to use with the Descriptive flexfield segments.
1275 * @param p_ass_attribute1 Descriptive flexfield segment
1276 * @param p_ass_attribute2 Descriptive flexfield segment
1277 * @param p_ass_attribute3 Descriptive flexfield segment
1278 * @param p_ass_attribute4 Descriptive flexfield segment
1279 * @param p_ass_attribute5 Descriptive flexfield segment
1280 * @param p_ass_attribute6 Descriptive flexfield segment
1281 * @param p_ass_attribute7 Descriptive flexfield segment
1282 * @param p_ass_attribute8 Descriptive flexfield segment
1283 * @param p_ass_attribute9 Descriptive flexfield segment
1284 * @param p_ass_attribute10 Descriptive flexfield segment
1285 * @param p_ass_attribute11 Descriptive flexfield segment
1286 * @param p_ass_attribute12 Descriptive flexfield segment
1287 * @param p_ass_attribute13 Descriptive flexfield segment
1288 * @param p_ass_attribute14 Descriptive flexfield segment
1289 * @param p_ass_attribute15 Descriptive flexfield segment
1290 * @param p_ass_attribute16 Descriptive flexfield segment
1291 * @param p_ass_attribute17 Descriptive flexfield segment
1292 * @param p_ass_attribute18 Descriptive flexfield segment
1293 * @param p_ass_attribute19 Descriptive flexfield segment
1294 * @param p_ass_attribute20 Descriptive flexfield segment
1295 * @param p_ass_attribute21 Descriptive flexfield segment
1296 * @param p_ass_attribute22 Descriptive flexfield segment
1297 * @param p_ass_attribute23 Descriptive flexfield segment
1298 * @param p_ass_attribute24 Descriptive flexfield segment
1299 * @param p_ass_attribute25 Descriptive flexfield segment
1300 * @param p_ass_attribute26 Descriptive flexfield segment
1301 * @param p_ass_attribute27 Descriptive flexfield segment
1302 * @param p_ass_attribute28 Descriptive flexfield segment
1303 * @param p_ass_attribute29 Descriptive flexfield segment
1304 * @param p_ass_attribute30 Descriptive flexfield segment
1305 * @param p_title Obsolete parameter, do not use.
1306 * @param p_scl_segment1 Soft Coded key flexfield segment
1307 * @param p_scl_segment2 Soft Coded key flexfield segment
1308 * @param p_scl_segment3 Soft Coded key flexfield segment
1309 * @param p_scl_segment4 Soft Coded key flexfield segment
1310 * @param p_scl_segment5 Soft Coded key flexfield segment
1311 * @param p_scl_segment6 Soft Coded key flexfield segment
1312 * @param p_scl_segment7 Soft Coded key flexfield segment
1313 * @param p_scl_segment8 Soft Coded key flexfield segment
1314 * @param p_scl_segment9 Soft Coded key flexfield segment
1315 * @param p_scl_segment10 Soft Coded key flexfield segment
1316 * @param p_scl_segment11 Soft Coded key flexfield segment
1317 * @param p_scl_segment12 Soft Coded key flexfield segment
1318 * @param p_scl_segment13 Soft Coded key flexfield segment
1319 * @param p_scl_segment14 Soft Coded key flexfield segment
1320 * @param p_scl_segment15 Soft Coded key flexfield segment
1321 * @param p_scl_segment16 Soft Coded key flexfield segment
1322 * @param p_scl_segment17 Soft Coded key flexfield segment
1323 * @param p_scl_segment18 Soft Coded key flexfield segment
1324 * @param p_scl_segment19 Soft Coded key flexfield segment
1325 * @param p_scl_segment20 Soft Coded key flexfield segment
1326 * @param p_scl_segment21 Soft Coded key flexfield segment
1327 * @param p_scl_segment22 Soft Coded key flexfield segment
1328 * @param p_scl_segment23 Soft Coded key flexfield segment
1329 * @param p_scl_segment24 Soft Coded key flexfield segment
1330 * @param p_scl_segment25 Soft Coded key flexfield segment
1331 * @param p_scl_segment26 Soft Coded key flexfield segment
1332 * @param p_scl_segment27 Soft Coded key flexfield segment
1333 * @param p_scl_segment28 Soft Coded key flexfield segment
1334 * @param p_scl_segment29 Soft Coded key flexfield segment
1335 * @param p_scl_segment30 Soft Coded key flexfield segment
1336 * @param p_scl_concat_segments Concatenated segments for Soft Coded Key
1337 * Flexfield. Concatenated segments can be supplied instead of individual
1338 * segments.
1339 * @param p_pgp_segment1 People group key flexfield segment
1340 * @param p_pgp_segment2 People group key flexfield segment
1341 * @param p_pgp_segment3 People group key flexfield segment
1342 * @param p_pgp_segment4 People group key flexfield segment
1343 * @param p_pgp_segment5 People group key flexfield segment
1344 * @param p_pgp_segment6 People group key flexfield segment
1345 * @param p_pgp_segment7 People group key flexfield segment
1346 * @param p_pgp_segment8 People group key flexfield segment
1347 * @param p_pgp_segment9 People group key flexfield segment
1348 * @param p_pgp_segment10 People group key flexfield segment
1349 * @param p_pgp_segment11 People group key flexfield segment
1350 * @param p_pgp_segment12 People group key flexfield segment
1351 * @param p_pgp_segment13 People group key flexfield segment
1352 * @param p_pgp_segment14 People group key flexfield segment
1353 * @param p_pgp_segment15 People group key flexfield segment
1354 * @param p_pgp_segment16 People group key flexfield segment
1355 * @param p_pgp_segment17 People group key flexfield segment
1356 * @param p_pgp_segment18 People group key flexfield segment
1357 * @param p_pgp_segment19 People group key flexfield segment
1358 * @param p_pgp_segment20 People group key flexfield segment
1359 * @param p_pgp_segment21 People group key flexfield segment
1360 * @param p_pgp_segment22 People group key flexfield segment
1361 * @param p_pgp_segment23 People group key flexfield segment
1362 * @param p_pgp_segment24 People group key flexfield segment
1363 * @param p_pgp_segment25 People group key flexfield segment
1364 * @param p_pgp_segment26 People group key flexfield segment
1365 * @param p_pgp_segment27 People group key flexfield segment
1366 * @param p_pgp_segment28 People group key flexfield segment
1367 * @param p_pgp_segment29 People group key flexfield segment
1368 * @param p_pgp_segment30 People group key flexfield segment
1369 * @param p_pgp_concat_segments Concatenated segments for People Group Key
1370 * Flexfield. Concatenated segments can be supplied instead of individual
1371 * segments.
1372 * @param p_contract_id Contract associated with this assignment
1373 * @param p_establishment_id For French business groups, this identifies the
1374 * Establishment Legal Entity for this assignment.
1375 * @param p_collective_agreement_id Collective Agreement that applies to this
1376 * assignment
1377 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
1378 * flexfield to use for this assignment
1379 * @param p_cag_segment1 CAGR Key Flexfield segment
1380 * @param p_cag_segment2 CAGR Key Flexfield segment
1381 * @param p_cag_segment3 CAGR Key Flexfield segment
1382 * @param p_cag_segment4 CAGR Key Flexfield segment
1383 * @param p_cag_segment5 CAGR Key Flexfield segment
1384 * @param p_cag_segment6 CAGR Key Flexfield segment
1385 * @param p_cag_segment7 CAGR Key Flexfield segment
1386 * @param p_cag_segment8 CAGR Key Flexfield segment
1387 * @param p_cag_segment9 CAGR Key Flexfield segment
1388 * @param p_cag_segment10 CAGR Key Flexfield segment
1389 * @param p_cag_segment11 CAGR Key Flexfield segment
1390 * @param p_cag_segment12 CAGR Key Flexfield segment
1391 * @param p_cag_segment13 CAGR Key Flexfield segment
1392 * @param p_cag_segment14 CAGR Key Flexfield segment
1393 * @param p_cag_segment15 CAGR Key Flexfield segment
1394 * @param p_cag_segment16 CAGR Key Flexfield segment
1395 * @param p_cag_segment17 CAGR Key Flexfield segment
1396 * @param p_cag_segment18 CAGR Key Flexfield segment
1397 * @param p_cag_segment19 CAGR Key Flexfield segment
1398 * @param p_cag_segment20 CAGR Key Flexfield segment
1399 * @param p_notice_period Length of notice period
1400 * @param p_notice_period_uom Units for notice period. Valid values are defined
1401 * in the QUALIFYING_UNITS lookup type.
1402 * @param p_employee_category Employee Category. Valid values are defined in
1403 * the EMPLOYEE_CATG lookup type.
1404 * @param p_work_at_home Indicate whether this assignment is to work at home.
1405 * Valid values are defined in the YES_NO lookup type.
1406 * @param p_job_post_source_name The source of the job posting that was
1407 * answered for this assignment.
1408 * @param p_grade_ladder_pgm_id Grade Ladder for this assignment
1409 * @param p_supervisor_assignment_id Supervisor's assignment that is
1410 * responsible for supervising this assignment.
1411 * @param p_group_name If p_validate is false, set to the People Group Key
1412 * Flexfield concatenated segments. If p_validate is true, set to null.
1413 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
1414 * Flexfield concatenated segments, if p_validate is true, set to null.
1415 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
1416 * identifies an existing CAGR Key Flexfield combination to associate with the
1417 * assignment, and segment values are ignored. If a value is not passed in,
1418 * then the individual CAGR Key Flexfield segments supplied will be used to
1419 * choose an existing combination or create a new combination. When the API
1420 * completes, if p_validate is false, then this uniquely identifies the
1421 * associated combination of the CAGR Key flexfield for this assignment. If
1422 * p_validate is true, then set to null.
1423 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
1424 * @param p_assignment_id If p_validate is false, then this uniquely identifies
1425 * the created assignment. If p_validate is true, then set to null.
1426 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
1427 * it identifies an existing Soft Coded Key Flexfield combination to associate
1428 * with the assignment, and segment values are ignored. If a value is not
1429 * passed in, then the individual Soft Coded Key Flexfield segments supplied
1430 * will be used to choose an existing combination or create a new combination.
1431 * When the API completes, if p_validate is false, then this uniquely
1432 * identifies the associated combination of the Soft Coded Key flexfield for
1433 * this assignment. If p_validate is true, then set to null.
1434 * @param p_people_group_id If a value is passed in for this parameter, it
1435 * identifies an existing People Group Key Flexfield combination to associate
1436 * with the assignment, and segment values are ignored. If a value is not
1437 * passed in, then the individual People Group Key Flexfield segments supplied
1438 * will be used to choose an existing combination or create a new combination.
1439 * When the API completes, if p_validate is false, then this uniquely
1440 * identifies the associated combination of the People Group Key flexfield for
1441 * this assignment. If p_validate is true, then set to null.
1442 * @param p_object_version_number If p_validate is false, then set to the
1443 * version number of the created assignment. If p_validate is true, then the
1444 * value will be null.
1445 * @param p_effective_start_date If p_validate is false, then set to the
1446 * earliest effective start date for the created assignment. If p_validate is
1447 * true, then set to null.
1448 * @param p_effective_end_date If p_validate is false, then set to the
1449 * effective end date for the created assignment. If p_validate is true, then
1450 * set to null.
1451 * @param p_assignment_sequence If p_validate is false, then an automatically
1452 * incremented number is associated with this assignment, depending on the
1453 * number of assignment which already exist. If p_validate is true then set to
1454 * null.
1455 * @param p_comment_id If p_validate is false and comment text was provided,
1456 * then will be set to the identifier of the created assignment comment record.
1457 * If p_validate is true or no comment text was provided, then will be null.
1458 * @param p_other_manager_warning If set to true, then a manager existed in the
1459 * organization prior to calling this API and the manager flag has been set to
1460 * 'Y' for yes.
1461 * @param p_hourly_salaried_warning Set to true if values entered for Salary
1462 * Basis and Hourly Salaried Code are invalid as of p_effective_date.
1463 * @param p_gsp_post_process_warning Set to the name of a warning message from
1464 * the Message Dictionary if any Grade Ladder related errors have been
1465 * encountered while running this API.
1466 * @rep:displayname Create Secondary Employee Assignment
1467 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
1468 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
1469 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
1470 * @rep:scope public
1471 * @rep:lifecycle active
1472 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
1473 */
1474 --
1475 -- {End Of Comments}
1476 --
1477 procedure create_secondary_emp_asg
1478 (p_validate in boolean default false
1479 ,p_effective_date in date
1480 ,p_person_id in number
1481 ,p_organization_id in number
1482 ,p_grade_id in number default null
1483 ,p_position_id in number default null
1484 ,p_job_id in number default null
1485 ,p_assignment_status_type_id in number default null
1486 ,p_payroll_id in number default null
1487 ,p_location_id in number default null
1488 ,p_supervisor_id in number default null
1489 ,p_special_ceiling_step_id in number default null
1490 ,p_pay_basis_id in number default null
1491 ,p_assignment_number in out nocopy varchar2
1492 ,p_change_reason in varchar2 default null
1493 ,p_comments in varchar2 default null
1494 ,p_date_probation_end in date default null
1495 ,p_default_code_comb_id in number default null
1496 ,p_employment_category in varchar2 default null
1497 ,p_frequency in varchar2 default null
1498 ,p_internal_address_line in varchar2 default null
1499 ,p_manager_flag in varchar2 default null
1500 ,p_normal_hours in number default null
1501 ,p_perf_review_period in number default null
1502 ,p_perf_review_period_frequency in varchar2 default null
1503 ,p_probation_period in number default null
1504 ,p_probation_unit in varchar2 default null
1505 ,p_sal_review_period in number default null
1506 ,p_sal_review_period_frequency in varchar2 default null
1507 ,p_set_of_books_id in number default null
1508 ,p_source_type in varchar2 default null
1509 ,p_time_normal_finish in varchar2 default null
1510 ,p_time_normal_start in varchar2 default null
1511 ,p_bargaining_unit_code in varchar2 default null
1512 ,p_labour_union_member_flag in varchar2 default 'N'
1513 ,p_hourly_salaried_code in varchar2 default null
1514 ,p_ass_attribute_category in varchar2 default null
1515 ,p_ass_attribute1 in varchar2 default null
1516 ,p_ass_attribute2 in varchar2 default null
1517 ,p_ass_attribute3 in varchar2 default null
1518 ,p_ass_attribute4 in varchar2 default null
1519 ,p_ass_attribute5 in varchar2 default null
1520 ,p_ass_attribute6 in varchar2 default null
1521 ,p_ass_attribute7 in varchar2 default null
1522 ,p_ass_attribute8 in varchar2 default null
1523 ,p_ass_attribute9 in varchar2 default null
1524 ,p_ass_attribute10 in varchar2 default null
1525 ,p_ass_attribute11 in varchar2 default null
1526 ,p_ass_attribute12 in varchar2 default null
1527 ,p_ass_attribute13 in varchar2 default null
1528 ,p_ass_attribute14 in varchar2 default null
1529 ,p_ass_attribute15 in varchar2 default null
1530 ,p_ass_attribute16 in varchar2 default null
1531 ,p_ass_attribute17 in varchar2 default null
1532 ,p_ass_attribute18 in varchar2 default null
1533 ,p_ass_attribute19 in varchar2 default null
1534 ,p_ass_attribute20 in varchar2 default null
1535 ,p_ass_attribute21 in varchar2 default null
1536 ,p_ass_attribute22 in varchar2 default null
1537 ,p_ass_attribute23 in varchar2 default null
1538 ,p_ass_attribute24 in varchar2 default null
1539 ,p_ass_attribute25 in varchar2 default null
1540 ,p_ass_attribute26 in varchar2 default null
1541 ,p_ass_attribute27 in varchar2 default null
1542 ,p_ass_attribute28 in varchar2 default null
1543 ,p_ass_attribute29 in varchar2 default null
1544 ,p_ass_attribute30 in varchar2 default null
1545 ,p_title in varchar2 default null
1546 ,p_scl_segment1 in varchar2 default null
1547 ,p_scl_segment2 in varchar2 default null
1548 ,p_scl_segment3 in varchar2 default null
1549 ,p_scl_segment4 in varchar2 default null
1550 ,p_scl_segment5 in varchar2 default null
1551 ,p_scl_segment6 in varchar2 default null
1552 ,p_scl_segment7 in varchar2 default null
1553 ,p_scl_segment8 in varchar2 default null
1554 ,p_scl_segment9 in varchar2 default null
1555 ,p_scl_segment10 in varchar2 default null
1556 ,p_scl_segment11 in varchar2 default null
1557 ,p_scl_segment12 in varchar2 default null
1558 ,p_scl_segment13 in varchar2 default null
1559 ,p_scl_segment14 in varchar2 default null
1560 ,p_scl_segment15 in varchar2 default null
1561 ,p_scl_segment16 in varchar2 default null
1562 ,p_scl_segment17 in varchar2 default null
1563 ,p_scl_segment18 in varchar2 default null
1564 ,p_scl_segment19 in varchar2 default null
1565 ,p_scl_segment20 in varchar2 default null
1566 ,p_scl_segment21 in varchar2 default null
1567 ,p_scl_segment22 in varchar2 default null
1568 ,p_scl_segment23 in varchar2 default null
1569 ,p_scl_segment24 in varchar2 default null
1570 ,p_scl_segment25 in varchar2 default null
1571 ,p_scl_segment26 in varchar2 default null
1572 ,p_scl_segment27 in varchar2 default null
1573 ,p_scl_segment28 in varchar2 default null
1574 ,p_scl_segment29 in varchar2 default null
1575 ,p_scl_segment30 in varchar2 default null
1576 -- Bug 944911
1577 -- Added scl_concat_segments and amended scl_concatenated_segments
1578 -- to be an out instead of in out
1579 ,p_scl_concat_segments in varchar2 default null
1580 ,p_pgp_segment1 in varchar2 default null
1581 ,p_pgp_segment2 in varchar2 default null
1582 ,p_pgp_segment3 in varchar2 default null
1583 ,p_pgp_segment4 in varchar2 default null
1584 ,p_pgp_segment5 in varchar2 default null
1585 ,p_pgp_segment6 in varchar2 default null
1586 ,p_pgp_segment7 in varchar2 default null
1587 ,p_pgp_segment8 in varchar2 default null
1588 ,p_pgp_segment9 in varchar2 default null
1589 ,p_pgp_segment10 in varchar2 default null
1590 ,p_pgp_segment11 in varchar2 default null
1591 ,p_pgp_segment12 in varchar2 default null
1592 ,p_pgp_segment13 in varchar2 default null
1593 ,p_pgp_segment14 in varchar2 default null
1594 ,p_pgp_segment15 in varchar2 default null
1595 ,p_pgp_segment16 in varchar2 default null
1596 ,p_pgp_segment17 in varchar2 default null
1597 ,p_pgp_segment18 in varchar2 default null
1598 ,p_pgp_segment19 in varchar2 default null
1599 ,p_pgp_segment20 in varchar2 default null
1600 ,p_pgp_segment21 in varchar2 default null
1601 ,p_pgp_segment22 in varchar2 default null
1602 ,p_pgp_segment23 in varchar2 default null
1603 ,p_pgp_segment24 in varchar2 default null
1604 ,p_pgp_segment25 in varchar2 default null
1605 ,p_pgp_segment26 in varchar2 default null
1606 ,p_pgp_segment27 in varchar2 default null
1607 ,p_pgp_segment28 in varchar2 default null
1608 ,p_pgp_segment29 in varchar2 default null
1609 ,p_pgp_segment30 in varchar2 default null
1610 -- Bug 944911
1611 -- Changed this to out
1612 -- Added new param p_concat_segments in for non sec asg
1613 -- else added p_pgp_concat_segments
1614 ,p_pgp_concat_segments in varchar2 default null
1615 ,p_contract_id in number default null
1616 ,p_establishment_id in number default null
1617 ,p_collective_agreement_id in number default null
1618 ,p_cagr_id_flex_num in number default null
1619 ,p_cag_segment1 in varchar2 default null
1620 ,p_cag_segment2 in varchar2 default null
1621 ,p_cag_segment3 in varchar2 default null
1622 ,p_cag_segment4 in varchar2 default null
1623 ,p_cag_segment5 in varchar2 default null
1624 ,p_cag_segment6 in varchar2 default null
1625 ,p_cag_segment7 in varchar2 default null
1626 ,p_cag_segment8 in varchar2 default null
1627 ,p_cag_segment9 in varchar2 default null
1628 ,p_cag_segment10 in varchar2 default null
1629 ,p_cag_segment11 in varchar2 default null
1630 ,p_cag_segment12 in varchar2 default null
1631 ,p_cag_segment13 in varchar2 default null
1632 ,p_cag_segment14 in varchar2 default null
1633 ,p_cag_segment15 in varchar2 default null
1634 ,p_cag_segment16 in varchar2 default null
1635 ,p_cag_segment17 in varchar2 default null
1636 ,p_cag_segment18 in varchar2 default null
1637 ,p_cag_segment19 in varchar2 default null
1638 ,p_cag_segment20 in varchar2 default null
1639 ,p_notice_period in number default null
1640 ,p_notice_period_uom in varchar2 default null
1641 ,p_employee_category in varchar2 default null
1642 ,p_work_at_home in varchar2 default null
1643 ,p_job_post_source_name in varchar2 default null
1644 ,p_grade_ladder_pgm_id in number default null
1645 ,p_supervisor_assignment_id in number default null
1646 ,p_group_name out nocopy varchar2
1647 -- Bug 944911
1648 -- Added scl_concat_segments and amended scl_concatenated_segments
1649 -- to be an out instead of in out
1650 -- Amended this to be p_concatenated_segments
1651 ,p_concatenated_segments out nocopy varchar2
1652 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
1653 ,p_cagr_concatenated_segments out nocopy varchar2
1654 ,p_assignment_id out nocopy number
1655 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
1656 ,p_people_group_id in out nocopy number -- bug 2359997
1657 ,p_object_version_number out nocopy number
1658 ,p_effective_start_date out nocopy date
1659 ,p_effective_end_date out nocopy date
1660 ,p_assignment_sequence out nocopy number
1661 ,p_comment_id out nocopy number
1662 ,p_other_manager_warning out nocopy boolean
1663 ,p_hourly_salaried_warning out nocopy boolean
1664 ,p_gsp_post_process_warning out nocopy varchar2
1665 );
1666 --
1667 -- ----------------------------------------------------------------------------
1668 -- |-------------------------< create_secondary_cwk_asg >---------------------|
1669 -- ----------------------------------------------------------------------------
1670 --
1671 -- {Start Of Comments}
1672 /*#
1673 * This API creates a new secondary assignment for a contingent worker.
1674 *
1675 * This API cannot create a primary assignment
1676 *
1677 * <p><b>Licensing</b><br>
1678 * This API is licensed for use with Human Resources.
1679 *
1680 * <p><b>Prerequisites</b><br>
1681 * The person and organization must exist at the effective start date of the
1682 * assignment.
1683 *
1684 * <p><b>Post Success</b><br>
1685 * A new secondary assignment is created for the contingent worker
1686 *
1687 * <p><b>Post Failure</b><br>
1688 * The API does not create the secondary assignment and raises an error.
1689 * @param p_validate If true, then validation alone will be performed and the
1690 * database will remain unchanged. If false and all validation checks pass,
1691 * then the database will be modified.
1692 * @param p_effective_date Determines when the DateTrack operation comes into
1693 * force.
1694 * @param p_business_group_id The business group associated with this
1695 * assignment. This should be the same as the business group associated with
1696 * the contingent worker
1697 * @param p_person_id Identifies the person for whom you create the secondary
1698 * assignment record
1699 * @param p_organization_id Identifies the organization of the secondary
1700 * assignment
1701 * @param p_assignment_number If a value is passed in, this is used as the
1702 * assignment number. If no value is passed in an assignment number is
1703 * generated.
1704 * @param p_assignment_category Identifies the assignment category for the
1705 * secondary contingent worker assignment. Valid values are defined in the
1706 * CWK_ASG_CATEGORY lookup type.
1707 * @param p_assignment_status_type_id Identifies the assignment status for the
1708 * secondary assignment.
1709 * @param p_change_reason Reason for the assignment status change. If there is
1710 * no change reason the parameter can be null. Valid values are defined in the
1711 * CWK_ASSIGN_REASON lookup_type.
1712 * @param p_comments Comment text.
1713 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
1714 * Flexfield combination which applies to this assignment
1715 * @param p_establishment_id For French business groups, this identifies the
1716 * Establishment Legal Entity for this assignment.
1717 * @param p_frequency Frequency associated with the defined normal working
1718 * hours. Valid values are defined in the FREQUENCY lookup type.
1719 * @param p_internal_address_line Internal address identified with this
1720 * assignment.
1721 * @param p_job_id Identifies the job of the secondary assignment
1722 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
1723 * union member. Other values indicate not a member.
1724 * @param p_location_id Identifies the location of the secondary assignment
1725 * @param p_manager_flag Indicates whether the contingent worker is a manager
1726 * @param p_normal_hours Normal working hours for this assignment
1727 * @param p_position_id Identifies the position of the secondary assignment
1728 * @param p_grade_id Identifies the grade of the secondary assignment
1729 * @param p_project_title Name of the project for which the contingent worker
1730 * is engaged on this assignment.
1731 * @param p_set_of_books_id Identifies General Ledger set of books.
1732 * @param p_source_type Recruitment activity that this assignment is sourced
1733 * from. Valid values are defined in the REC_TYPE lookup type.
1734 * @param p_supervisor_id Supervisor for this assignment. The value refers to
1735 * the supervisor's person record.
1736 * @param p_time_normal_finish Normal work finish time
1737 * @param p_time_normal_start Normal work start time
1738 * @param p_title Obsolete parameter, do not use.
1739 * @param p_vendor_assignment_number Identification number given by the
1740 * supplier to the contingent worker's assignment
1741 * @param p_vendor_employee_number Identification number given by the supplier
1742 * to the contingent worker
1743 * @param p_vendor_id Identifier of the Supplier of the contingent worker from
1744 * iProcurement
1745 * @param p_vendor_site_id Identifier of the Supplier site of the contingent
1746 * worker from iProcurement
1747 * @param p_po_header_id Identifier of the Purchase Order under which this
1748 * contingent workers assignment is being paid, from iProcurement
1749 * @param p_po_line_id Identifier of the Purchase Order Line under which this
1750 * contingent worker's assignment is being paid, from iProcurement
1751 * @param p_projected_assignment_end Projected end date of this assignment.
1752 * @param p_attribute_category This context value determines which flexfield
1753 * structure to use with the descriptive flexfield segments.
1754 * @param p_attribute1 Descriptive flexfield segment.
1755 * @param p_attribute2 Descriptive flexfield segment.
1756 * @param p_attribute3 Descriptive flexfield segment.
1757 * @param p_attribute4 Descriptive flexfield segment.
1758 * @param p_attribute5 Descriptive flexfield segment.
1759 * @param p_attribute6 Descriptive flexfield segment.
1760 * @param p_attribute7 Descriptive flexfield segment.
1761 * @param p_attribute8 Descriptive flexfield segment.
1762 * @param p_attribute9 Descriptive flexfield segment.
1763 * @param p_attribute10 Descriptive flexfield segment.
1764 * @param p_attribute11 Descriptive flexfield segment.
1765 * @param p_attribute12 Descriptive flexfield segment.
1766 * @param p_attribute13 Descriptive flexfield segment.
1767 * @param p_attribute14 Descriptive flexfield segment.
1768 * @param p_attribute15 Descriptive flexfield segment.
1769 * @param p_attribute16 Descriptive flexfield segment.
1770 * @param p_attribute17 Descriptive flexfield segment.
1771 * @param p_attribute18 Descriptive flexfield segment.
1772 * @param p_attribute19 Descriptive flexfield segment.
1773 * @param p_attribute20 Descriptive flexfield segment.
1774 * @param p_attribute21 Descriptive flexfield segment.
1775 * @param p_attribute22 Descriptive flexfield segment.
1776 * @param p_attribute23 Descriptive flexfield segment.
1777 * @param p_attribute24 Descriptive flexfield segment.
1778 * @param p_attribute25 Descriptive flexfield segment.
1779 * @param p_attribute26 Descriptive flexfield segment.
1780 * @param p_attribute27 Descriptive flexfield segment.
1781 * @param p_attribute28 Descriptive flexfield segment.
1782 * @param p_attribute29 Descriptive flexfield segment.
1783 * @param p_attribute30 Descriptive flexfield segment.
1784 * @param p_pgp_segment1 People group key flexfield segment
1785 * @param p_pgp_segment2 People group key flexfield segment
1786 * @param p_pgp_segment3 People group key flexfield segment
1787 * @param p_pgp_segment4 People group key flexfield segment
1788 * @param p_pgp_segment5 People group key flexfield segment
1789 * @param p_pgp_segment6 People group key flexfield segment
1790 * @param p_pgp_segment7 People group key flexfield segment
1791 * @param p_pgp_segment8 People group key flexfield segment
1792 * @param p_pgp_segment9 People group key flexfield segment
1793 * @param p_pgp_segment10 People group key flexfield segment
1794 * @param p_pgp_segment11 People group key flexfield segment
1795 * @param p_pgp_segment12 People group key flexfield segment
1796 * @param p_pgp_segment13 People group key flexfield segment
1797 * @param p_pgp_segment14 People group key flexfield segment
1798 * @param p_pgp_segment15 People group key flexfield segment
1799 * @param p_pgp_segment16 People group key flexfield segment
1800 * @param p_pgp_segment17 People group key flexfield segment
1801 * @param p_pgp_segment18 People group key flexfield segment
1802 * @param p_pgp_segment19 People group key flexfield segment
1803 * @param p_pgp_segment20 People group key flexfield segment
1804 * @param p_pgp_segment21 People group key flexfield segment
1805 * @param p_pgp_segment22 People group key flexfield segment
1806 * @param p_pgp_segment23 People group key flexfield segment
1807 * @param p_pgp_segment24 People group key flexfield segment
1808 * @param p_pgp_segment25 People group key flexfield segment
1809 * @param p_pgp_segment26 People group key flexfield segment
1810 * @param p_pgp_segment27 People group key flexfield segment
1811 * @param p_pgp_segment28 People group key flexfield segment
1812 * @param p_pgp_segment29 People group key flexfield segment
1813 * @param p_pgp_segment30 People group key flexfield segment
1814 * @param p_scl_segment1 Soft Coded key flexfield segment
1815 * @param p_scl_segment2 Soft Coded key flexfield segment
1816 * @param p_scl_segment3 Soft Coded key flexfield segment
1817 * @param p_scl_segment4 Soft Coded key flexfield segment
1818 * @param p_scl_segment5 Soft Coded key flexfield segment
1819 * @param p_scl_segment6 Soft Coded key flexfield segment
1820 * @param p_scl_segment7 Soft Coded key flexfield segment
1821 * @param p_scl_segment8 Soft Coded key flexfield segment
1822 * @param p_scl_segment9 Soft Coded key flexfield segment
1823 * @param p_scl_segment10 Soft Coded key flexfield segment
1824 * @param p_scl_segment11 Soft Coded key flexfield segment
1825 * @param p_scl_segment12 Soft Coded key flexfield segment
1826 * @param p_scl_segment13 Soft Coded key flexfield segment
1827 * @param p_scl_segment14 Soft Coded key flexfield segment
1828 * @param p_scl_segment15 Soft Coded key flexfield segment
1829 * @param p_scl_segment16 Soft Coded key flexfield segment
1830 * @param p_scl_segment17 Soft Coded key flexfield segment
1831 * @param p_scl_segment18 Soft Coded key flexfield segment
1832 * @param p_scl_segment19 Soft Coded key flexfield segment
1833 * @param p_scl_segment20 Soft Coded key flexfield segment
1834 * @param p_scl_segment21 Soft Coded key flexfield segment
1835 * @param p_scl_segment22 Soft Coded key flexfield segment
1836 * @param p_scl_segment23 Soft Coded key flexfield segment
1837 * @param p_scl_segment24 Soft Coded key flexfield segment
1838 * @param p_scl_segment25 Soft Coded key flexfield segment
1839 * @param p_scl_segment26 Soft Coded key flexfield segment
1840 * @param p_scl_segment27 Soft Coded key flexfield segment
1841 * @param p_scl_segment28 Soft Coded key flexfield segment
1842 * @param p_scl_segment29 Soft Coded key flexfield segment
1843 * @param p_scl_segment30 Soft Coded key flexfield segment
1844 * @param p_scl_concat_segments Concatenated segments for Soft Coded Key
1845 * Flexfield. Concatenated segments can be supplied instead of individual
1846 * segments.
1847 * @param p_pgp_concat_segments Concatenated segments for People Group Key
1848 * Flexfield. Concatenated segments can be supplied instead of individual
1849 * segments.
1850 * @param p_supervisor_assignment_id Supervisor's assignment that is
1851 * responsible for supervising this assignment.
1852 * @param p_assignment_id If p_validate is false, then this uniquely identifies
1853 * the created assignment. If p_validate is true, then set to null.
1854 * @param p_object_version_number If p_validate is false, then set to the
1855 * version number of the created assignment. If p_validate is true, then the
1856 * value will be null.
1857 * @param p_effective_start_date If p_validate is false, then set to the
1858 * earliest effective start date for the created assignment. If p_validate is
1859 * true, then set to null.
1860 * @param p_effective_end_date If p_validate is false, then set to the
1861 * effective end date for the created assignment. If p_validate is true, then
1862 * set to null.
1863 * @param p_assignment_sequence If p_validate is false, then an automatically
1864 * incremented number is associated with this assignment, depending on the
1865 * number of assignment that already exist. If p_validate is true then set to
1866 * null.
1867 * @param p_comment_id If p_validate is false and comment text was provided,
1868 * then will be set to the identifier of the created assignment comment record.
1869 * If p_validate is true or no comment text was provided, then will be null.
1870 * @param p_people_group_id If p_validate is false, then this uniquely
1871 * identifies the associated combination of the People Group Key flexfield for
1872 * this assignment. If p_validate is true, then set to null.
1873 * @param p_people_group_name If p_validate is false, set to the People Group
1874 * Key Flexfield concatenated segments. If p_validate is true, set to null.
1875 * @param p_other_manager_warning If set to true, then a manager existed in the
1876 * organization prior to calling this API and the manager flag has been set to
1877 * 'Y' for yes.
1878 * @param p_hourly_salaried_warning Set to true if values entered for Salary
1879 * Basis and Hourly Salaried Code are invalid as of p_effective_date.
1880 * @param p_soft_coding_keyflex_id If p_validate is false, then this uniquely
1881 * identifies the associated combination of the Soft Coded Key flexfield for
1882 * this assignment. If p_validate is true, then set to null.
1883 * @rep:displayname Create Secondary Contingent Worker Assignment
1884 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
1885 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
1886 * @rep:scope public
1887 * @rep:lifecycle active
1888 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
1889 */
1890 --
1891 -- {End Of Comments}
1892 --
1893 procedure create_secondary_cwk_asg
1894 (p_validate in boolean default false
1895 ,p_effective_date in date
1896 ,p_business_group_id in number
1897 ,p_person_id in number
1898 ,p_organization_id in number
1899 ,p_assignment_number in out nocopy varchar2
1900 ,p_assignment_category in varchar2 default null
1901 ,p_assignment_status_type_id in number default null
1902 ,p_change_reason in varchar2 default null
1903 ,p_comments in varchar2 default null
1904 ,p_default_code_comb_id in number default null
1905 ,p_establishment_id in number default null
1906 ,p_frequency in varchar2 default null
1907 ,p_internal_address_line in varchar2 default null
1908 ,p_job_id in number default null
1909 ,p_labour_union_member_flag in varchar2 default 'N'
1910 ,p_location_id in number default null
1911 ,p_manager_flag in varchar2 default null
1912 ,p_normal_hours in number default null
1913 ,p_position_id in number default null
1914 ,p_grade_id in number default null
1915 ,p_project_title in varchar2 default null
1916 ,p_set_of_books_id in number default null
1917 ,p_source_type in varchar2 default null
1918 ,p_supervisor_id in number default null
1919 ,p_time_normal_finish in varchar2 default null
1920 ,p_time_normal_start in varchar2 default null
1921 ,p_title in varchar2 default null
1922 ,p_vendor_assignment_number in varchar2 default null
1923 ,p_vendor_employee_number in varchar2 default null
1924 ,p_vendor_id in number default null
1925 ,p_vendor_site_id in number default null
1926 ,p_po_header_id in number default null
1927 ,p_po_line_id in number default null
1928 ,p_projected_assignment_end in date default null
1929 ,p_attribute_category in varchar2 default null
1930 ,p_attribute1 in varchar2 default null
1931 ,p_attribute2 in varchar2 default null
1932 ,p_attribute3 in varchar2 default null
1933 ,p_attribute4 in varchar2 default null
1934 ,p_attribute5 in varchar2 default null
1935 ,p_attribute6 in varchar2 default null
1936 ,p_attribute7 in varchar2 default null
1937 ,p_attribute8 in varchar2 default null
1938 ,p_attribute9 in varchar2 default null
1939 ,p_attribute10 in varchar2 default null
1940 ,p_attribute11 in varchar2 default null
1941 ,p_attribute12 in varchar2 default null
1942 ,p_attribute13 in varchar2 default null
1943 ,p_attribute14 in varchar2 default null
1944 ,p_attribute15 in varchar2 default null
1945 ,p_attribute16 in varchar2 default null
1946 ,p_attribute17 in varchar2 default null
1947 ,p_attribute18 in varchar2 default null
1948 ,p_attribute19 in varchar2 default null
1949 ,p_attribute20 in varchar2 default null
1950 ,p_attribute21 in varchar2 default null
1951 ,p_attribute22 in varchar2 default null
1952 ,p_attribute23 in varchar2 default null
1953 ,p_attribute24 in varchar2 default null
1954 ,p_attribute25 in varchar2 default null
1955 ,p_attribute26 in varchar2 default null
1956 ,p_attribute27 in varchar2 default null
1957 ,p_attribute28 in varchar2 default null
1958 ,p_attribute29 in varchar2 default null
1959 ,p_attribute30 in varchar2 default null
1960 ,p_pgp_segment1 in varchar2 default null
1961 ,p_pgp_segment2 in varchar2 default null
1962 ,p_pgp_segment3 in varchar2 default null
1963 ,p_pgp_segment4 in varchar2 default null
1964 ,p_pgp_segment5 in varchar2 default null
1965 ,p_pgp_segment6 in varchar2 default null
1966 ,p_pgp_segment7 in varchar2 default null
1967 ,p_pgp_segment8 in varchar2 default null
1968 ,p_pgp_segment9 in varchar2 default null
1969 ,p_pgp_segment10 in varchar2 default null
1970 ,p_pgp_segment11 in varchar2 default null
1971 ,p_pgp_segment12 in varchar2 default null
1972 ,p_pgp_segment13 in varchar2 default null
1973 ,p_pgp_segment14 in varchar2 default null
1974 ,p_pgp_segment15 in varchar2 default null
1975 ,p_pgp_segment16 in varchar2 default null
1976 ,p_pgp_segment17 in varchar2 default null
1977 ,p_pgp_segment18 in varchar2 default null
1978 ,p_pgp_segment19 in varchar2 default null
1979 ,p_pgp_segment20 in varchar2 default null
1980 ,p_pgp_segment21 in varchar2 default null
1981 ,p_pgp_segment22 in varchar2 default null
1982 ,p_pgp_segment23 in varchar2 default null
1983 ,p_pgp_segment24 in varchar2 default null
1984 ,p_pgp_segment25 in varchar2 default null
1985 ,p_pgp_segment26 in varchar2 default null
1986 ,p_pgp_segment27 in varchar2 default null
1987 ,p_pgp_segment28 in varchar2 default null
1988 ,p_pgp_segment29 in varchar2 default null
1989 ,p_pgp_segment30 in varchar2 default null
1990 ,p_scl_segment1 in varchar2 default null
1991 ,p_scl_segment2 in varchar2 default null
1992 ,p_scl_segment3 in varchar2 default null
1993 ,p_scl_segment4 in varchar2 default null
1994 ,p_scl_segment5 in varchar2 default null
1995 ,p_scl_segment6 in varchar2 default null
1996 ,p_scl_segment7 in varchar2 default null
1997 ,p_scl_segment8 in varchar2 default null
1998 ,p_scl_segment9 in varchar2 default null
1999 ,p_scl_segment10 in varchar2 default null
2000 ,p_scl_segment11 in varchar2 default null
2001 ,p_scl_segment12 in varchar2 default null
2002 ,p_scl_segment13 in varchar2 default null
2003 ,p_scl_segment14 in varchar2 default null
2004 ,p_scl_segment15 in varchar2 default null
2005 ,p_scl_segment16 in varchar2 default null
2006 ,p_scl_segment17 in varchar2 default null
2007 ,p_scl_segment18 in varchar2 default null
2008 ,p_scl_segment19 in varchar2 default null
2009 ,p_scl_segment20 in varchar2 default null
2010 ,p_scl_segment21 in varchar2 default null
2011 ,p_scl_segment22 in varchar2 default null
2012 ,p_scl_segment23 in varchar2 default null
2013 ,p_scl_segment24 in varchar2 default null
2014 ,p_scl_segment25 in varchar2 default null
2015 ,p_scl_segment26 in varchar2 default null
2016 ,p_scl_segment27 in varchar2 default null
2017 ,p_scl_segment28 in varchar2 default null
2018 ,p_scl_segment29 in varchar2 default null
2019 ,p_scl_segment30 in varchar2 default null
2020 ,p_scl_concat_segments in varchar2 default null
2021 ,p_pgp_concat_segments in varchar2 default null
2022 ,p_supervisor_assignment_id in number default null
2023 ,p_assignment_id out nocopy number
2024 ,p_object_version_number out nocopy number
2025 ,p_effective_start_date out nocopy date
2026 ,p_effective_end_date out nocopy date
2027 ,p_assignment_sequence out nocopy number
2028 ,p_comment_id out nocopy number
2029 ,p_people_group_id out nocopy number
2030 ,p_people_group_name out nocopy varchar2
2031 ,p_other_manager_warning out nocopy boolean
2032 ,p_hourly_salaried_warning out nocopy boolean
2033 ,p_soft_coding_keyflex_id out nocopy number);
2034 --
2035 -- ----------------------------------------------------------------------------
2036 -- |---------------------< get_supplier_info_for_po >--------------------------|
2037 -- ----------------------------------------------------------------------------
2038 --
2039 -- {Start Of Comments}
2040 --
2041 -- Description:
2042 -- This API returns the Supplier and Supplier given a Purchase Order.
2043 --
2044 -- Prerequisites:
2045 -- This procedure assumes that the Purchase Order passed in is valid. The
2046 -- procedure will not error if the PO is not valid but the OUT parameters
2047 -- will be null.
2048 --
2049 -- In Parameters:
2050 -- Name Reqd Type Description
2051 -- p_po_header_id Yes number Purchase Order Header
2052 -- reference.
2053 -- Post Success:
2054 -- The API sets the following out parameters:
2055 --
2056 -- Name Type Description
2057 -- p_vendor_id number ID of the Supplier.
2058 -- p_vendor_site_id number ID of the Supplier site.
2059 --
2060 -- Post Failure:
2061 -- The API does not error and returns the OUT parameters as NULL.
2062 --
2063 -- Access Status:
2064 -- Public.
2065 --
2066 -- {End Of Comments}
2067 --
2068 PROCEDURE get_supplier_info_for_po
2069 (p_po_header_id IN NUMBER
2070 ,p_vendor_id OUT NOCOPY NUMBER
2071 ,p_vendor_site_id OUT NOCOPY NUMBER);
2072 --
2073 -- ----------------------------------------------------------------------------
2074 -- |---------------------< get_supplier_for_site >-----------------------------|
2075 -- ----------------------------------------------------------------------------
2076 --
2077 -- {Start Of Comments}
2078 --
2079 -- Description:
2080 -- This API returns the Supplier given a Supplier Site.
2081 --
2082 -- Prerequisites:
2083 -- This procedure assumes that the Supplier Site is valid. The
2084 -- procedure will not error if the Site is not valid but the function
2085 -- will return null.
2086 --
2087 -- In Parameters:
2088 -- Name Reqd Type Description
2089 -- p_vendor_site_id Yes number ID of Supplier Site.
2090 --
2091 -- Post Success:
2092 -- The API returns a number indicating the ID of the Supplier.
2093 --
2094 -- Post Failure:
2095 -- The API does not error and returns NULL.
2096 --
2097 -- Access Status:
2098 -- Public.
2099 --
2100 -- {End Of Comments}
2101 --
2102 FUNCTION get_supplier_for_site
2103 (p_vendor_site_id IN NUMBER)
2104 RETURN NUMBER;
2105 --
2106 -- ----------------------------------------------------------------------------
2107 -- |---------------------< get_po_for_line >-----------------------------------|
2108 -- ----------------------------------------------------------------------------
2109 --
2110 -- {Start Of Comments}
2111 --
2112 -- Description:
2113 -- This API returns the Purchase Order (PO) given a PO Line.
2114 --
2115 -- Prerequisites:
2116 -- This procedure assumes that the PO Line is valid. The procedure
2117 -- will not error if the PO Line is not valid but the function
2118 -- will return null.
2119 --
2120 -- In Parameters:
2121 -- Name Reqd Type Description
2122 -- p_po_line_id Yes number ID of PO Line.
2123 --
2124 -- Post Success:
2125 -- The API returns a number indicating the Purchase Order Header ID.
2126 --
2127 -- Post Failure:
2128 -- The API does not error and returns NULL.
2129 --
2130 -- Access Status:
2131 -- Public.
2132 --
2133 -- {End Of Comments}
2134 --
2135 FUNCTION get_po_for_line
2136 (p_po_line_id IN NUMBER)
2137 RETURN NUMBER;
2138 --
2139 -- ----------------------------------------------------------------------------
2140 -- |---------------------< get_job_for_po_line >-------------------------------|
2141 -- ----------------------------------------------------------------------------
2142 --
2143 -- {Start Of Comments}
2144 --
2145 -- Description:
2146 -- This API returns the Job given a PO Line.
2147 --
2148 -- Prerequisites:
2149 -- This procedure assumes that the PO Line is valid. The procedure
2150 -- will not error if the PO Line is not valid but the function
2151 -- will return null.
2152 --
2153 -- In Parameters:
2154 -- Name Reqd Type Description
2155 -- p_po_line_id Yes number ID of PO Line.
2156 --
2157 -- Post Success:
2158 -- The API returns a number indicating the job_id on the PO Line.
2159 --
2160 -- Post Failure:
2161 -- The API does not error and returns NULL.
2162 --
2163 -- Access Status:
2164 -- Public.
2165 --
2166 -- {End Of Comments}
2167 --
2168 FUNCTION get_job_for_po_line
2169 (p_po_line_id IN NUMBER)
2170 RETURN NUMBER;
2171 --
2172 -- ----------------------------------------------------------------------------
2173 -- |-----------------------< create_gb_secondary_emp_asg >--------------------|
2174 -- ----------------------------------------------------------------------------
2175 --
2176 -- This version of the API is now out-of-date however it has been provided to
2177 -- you for backward compatibility support and will be removed in the future.
2178 -- Oracle recommends you to modify existing calling programs in advance of the
2179 -- support being withdrawn thus avoiding any potential disruption.
2180 --
2181 procedure create_gb_secondary_emp_asg
2182 (p_validate in boolean default false
2183 ,p_effective_date in date
2184 ,p_person_id in number
2185 ,p_organization_id in number
2186 ,p_grade_id in number default null
2187 ,p_position_id in number default null
2188 ,p_job_id in number default null
2189 ,p_assignment_status_type_id in number default null
2190 ,p_payroll_id in number default null
2191 ,p_location_id in number default null
2192 ,p_supervisor_id in number default null
2193 ,p_special_ceiling_step_id in number default null
2194 ,p_pay_basis_id in number default null
2195 ,p_assignment_number in out nocopy varchar2
2196 ,p_change_reason in varchar2 default null
2197 ,p_comments in varchar2 default null
2198 ,p_date_probation_end in date default null
2199 ,p_default_code_comb_id in number default null
2200 ,p_employment_category in varchar2 default null
2201 ,p_frequency in varchar2 default null
2202 ,p_internal_address_line in varchar2 default null
2203 ,p_manager_flag in varchar2 default null
2204 ,p_normal_hours in number default null
2205 ,p_perf_review_period in number default null
2206 ,p_perf_review_period_frequency in varchar2 default null
2207 ,p_probation_period in number default null
2208 ,p_probation_unit in varchar2 default null
2209 ,p_sal_review_period in number default null
2210 ,p_sal_review_period_frequency in varchar2 default null
2211 ,p_set_of_books_id in number default null
2212 ,p_source_type in varchar2 default null
2213 ,p_time_normal_finish in varchar2 default null
2214 ,p_time_normal_start in varchar2 default null
2215 ,p_bargaining_unit_code in varchar2 default null
2216 ,p_labour_union_member_flag in varchar2 default 'N'
2217 ,p_hourly_salaried_code in varchar2 default null
2218 ,p_ass_attribute_category in varchar2 default null
2219 ,p_ass_attribute1 in varchar2 default null
2220 ,p_ass_attribute2 in varchar2 default null
2221 ,p_ass_attribute3 in varchar2 default null
2222 ,p_ass_attribute4 in varchar2 default null
2223 ,p_ass_attribute5 in varchar2 default null
2224 ,p_ass_attribute6 in varchar2 default null
2225 ,p_ass_attribute7 in varchar2 default null
2226 ,p_ass_attribute8 in varchar2 default null
2227 ,p_ass_attribute9 in varchar2 default null
2228 ,p_ass_attribute10 in varchar2 default null
2229 ,p_ass_attribute11 in varchar2 default null
2230 ,p_ass_attribute12 in varchar2 default null
2231 ,p_ass_attribute13 in varchar2 default null
2232 ,p_ass_attribute14 in varchar2 default null
2233 ,p_ass_attribute15 in varchar2 default null
2234 ,p_ass_attribute16 in varchar2 default null
2235 ,p_ass_attribute17 in varchar2 default null
2236 ,p_ass_attribute18 in varchar2 default null
2237 ,p_ass_attribute19 in varchar2 default null
2238 ,p_ass_attribute20 in varchar2 default null
2239 ,p_ass_attribute21 in varchar2 default null
2240 ,p_ass_attribute22 in varchar2 default null
2241 ,p_ass_attribute23 in varchar2 default null
2242 ,p_ass_attribute24 in varchar2 default null
2243 ,p_ass_attribute25 in varchar2 default null
2244 ,p_ass_attribute26 in varchar2 default null
2245 ,p_ass_attribute27 in varchar2 default null
2246 ,p_ass_attribute28 in varchar2 default null
2247 ,p_ass_attribute29 in varchar2 default null
2248 ,p_ass_attribute30 in varchar2 default null
2249 ,p_title in varchar2 default null
2250 ,p_pgp_segment1 in varchar2 default null
2251 ,p_pgp_segment2 in varchar2 default null
2252 ,p_pgp_segment3 in varchar2 default null
2253 ,p_pgp_segment4 in varchar2 default null
2254 ,p_pgp_segment5 in varchar2 default null
2255 ,p_pgp_segment6 in varchar2 default null
2256 ,p_pgp_segment7 in varchar2 default null
2257 ,p_pgp_segment8 in varchar2 default null
2258 ,p_pgp_segment9 in varchar2 default null
2259 ,p_pgp_segment10 in varchar2 default null
2260 ,p_pgp_segment11 in varchar2 default null
2261 ,p_pgp_segment12 in varchar2 default null
2262 ,p_pgp_segment13 in varchar2 default null
2263 ,p_pgp_segment14 in varchar2 default null
2264 ,p_pgp_segment15 in varchar2 default null
2265 ,p_pgp_segment16 in varchar2 default null
2266 ,p_pgp_segment17 in varchar2 default null
2267 ,p_pgp_segment18 in varchar2 default null
2268 ,p_pgp_segment19 in varchar2 default null
2269 ,p_pgp_segment20 in varchar2 default null
2270 ,p_pgp_segment21 in varchar2 default null
2271 ,p_pgp_segment22 in varchar2 default null
2272 ,p_pgp_segment23 in varchar2 default null
2273 ,p_pgp_segment24 in varchar2 default null
2274 ,p_pgp_segment25 in varchar2 default null
2275 ,p_pgp_segment26 in varchar2 default null
2276 ,p_pgp_segment27 in varchar2 default null
2277 ,p_pgp_segment28 in varchar2 default null
2278 ,p_pgp_segment29 in varchar2 default null
2279 ,p_pgp_segment30 in varchar2 default null
2280 -- Bug 944911
2281 -- Amended p_group_name to out
2282 -- Added new param p_pgp_concat_segments - for sec asg procs
2283 -- for others added p_concat_segments
2284 ,p_pgp_concat_segments in varchar2 default null
2285 ,p_supervisor_assignment_id in number default null
2286 ,p_group_name out nocopy varchar2
2287 ,p_assignment_id out nocopy number
2288 ,p_people_group_id out nocopy number
2289 ,p_object_version_number out nocopy number
2290 ,p_effective_start_date out nocopy date
2291 ,p_effective_end_date out nocopy date
2292 ,p_assignment_sequence out nocopy number
2293 ,p_comment_id out nocopy number
2294 ,p_other_manager_warning out nocopy boolean
2295 );
2296
2297 --
2298 -- ----------------------------------------------------------------------------
2299 -- |-----------------------< create_gb_secondary_emp_asg >--------------------|
2300 -- ----------------------------------------------------------------------------
2301 --
2302 -- {Start Of Comments}
2303 /*#
2304 * This API creates a secondary employee assignment for an employee in a United
2305 * Kingdom business group.
2306 *
2307 * This API cannot create a primary assignment.
2308 *
2309 * <p><b>Licensing</b><br>
2310 * This API is licensed for use with Human Resources.
2311 *
2312 * <p><b>Prerequisites</b><br>
2313 * The person and organization must exist at the effective start date of the
2314 * assignment. The business group should be set to a United Kingdom
2315 * legislation.
2316 *
2317 * <p><b>Post Success</b><br>
2318 * A new secondary assignment is created for the employee
2319 *
2320 * <p><b>Post Failure</b><br>
2321 * The API does not create the secondary assignment and raises an error.
2322 * @param p_validate If true, then validation alone will be performed and the
2323 * database will remain unchanged. If false and all validation checks pass,
2324 * then the database will be modified.
2325 * @param p_effective_date Determines when the DateTrack operation comes into
2326 * force.
2327 * @param p_person_id Identifies the person for whom you create the secondary
2328 * assignment record
2329 * @param p_organization_id Identifies the organization of the secondary
2330 * assignment
2331 * @param p_grade_id Identifies the grade of the secondary assignment
2332 * @param p_position_id Identifies the position of the secondary assignment
2333 * @param p_job_id Identifies the job of the secondary assignment
2334 * @param p_assignment_status_type_id Identifies the assignment status of the
2335 * secondary assignment.
2336 * @param p_payroll_id Identifies the payroll for the secondary assignment
2337 * @param p_location_id Identifies the location of the secondary assignment
2338 * @param p_supervisor_id Supervisor for the secondary assignment. The value
2339 * refers to the supervisor's person record.
2340 * @param p_special_ceiling_step_id Highest allowed step for the grade scale
2341 * associated with the grade of the secondary assignment.
2342 * @param p_pay_basis_id Salary basis for the secondary assignment
2343 * @param p_assignment_number If a value is passed in, this is used as the
2344 * assignment number. If no value is passed in an assignment number is
2345 * generated.
2346 * @param p_change_reason Reason for the assignment status change. If there is
2347 * no change reason the parameter can be null. Valid values are defined in the
2348 * EMP_ASSIGN_REASON lookup type.
2349 * @param p_comments Comment text.
2350 * @param p_date_probation_end End date of probation period
2351 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
2352 * Flexfield combination which applies to this assignment
2353 * @param p_employment_category Employment category. Valid values are defined
2354 * in the EMP_CAT lookup type.
2355 * @param p_frequency Frequency associated with the defined normal working
2356 * hours. Valid values are defined in the FREQUENCY lookup type.
2357 * @param p_internal_address_line Internal address identified with this
2358 * assignment.
2359 * @param p_manager_flag Indicates whether the employee is a manager
2360 * @param p_normal_hours Normal working hours for this assignment
2361 * @param p_perf_review_period Length of performance review period
2362 * @param p_perf_review_period_frequency Units of performance review period.
2363 * Valid values are defined in the FREQUENCY lookup type.
2364 * @param p_probation_period Length of probation period
2365 * @param p_probation_unit Units of probation period. Valid values are defined
2366 * in the QUALIFYING_UNITS lookup type.
2367 * @param p_sal_review_period Length of salary review period
2368 * @param p_sal_review_period_frequency Units of salary review period. Valid
2369 * values are defined in the FREQUENCY lookup type.
2370 * @param p_set_of_books_id Identifies General Ledger set of books.
2371 * @param p_source_type Recruitment activity that this assignment is sourced
2372 * from. Valid values are defined in the REC_TYPE lookup type.
2373 * @param p_time_normal_finish Normal work finish time
2374 * @param p_time_normal_start Normal work start time
2375 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
2376 * defined in the BARGAINING_UNIT_CODE lookup type.
2377 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
2378 * union member. Other values indicate not a member.
2379 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
2380 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
2381 * @param p_ass_attribute_category This context value determines which
2382 * Flexfield Structure to use with the Descriptive flexfield segments.
2383 * @param p_ass_attribute1 Descriptive flexfield segment
2384 * @param p_ass_attribute2 Descriptive flexfield segment
2385 * @param p_ass_attribute3 Descriptive flexfield segment
2386 * @param p_ass_attribute4 Descriptive flexfield segment
2387 * @param p_ass_attribute5 Descriptive flexfield segment
2388 * @param p_ass_attribute6 Descriptive flexfield segment
2389 * @param p_ass_attribute7 Descriptive flexfield segment
2390 * @param p_ass_attribute8 Descriptive flexfield segment
2391 * @param p_ass_attribute9 Descriptive flexfield segment
2392 * @param p_ass_attribute10 Descriptive flexfield segment
2393 * @param p_ass_attribute11 Descriptive flexfield segment
2394 * @param p_ass_attribute12 Descriptive flexfield segment
2395 * @param p_ass_attribute13 Descriptive flexfield segment
2396 * @param p_ass_attribute14 Descriptive flexfield segment
2397 * @param p_ass_attribute15 Descriptive flexfield segment
2398 * @param p_ass_attribute16 Descriptive flexfield segment
2399 * @param p_ass_attribute17 Descriptive flexfield segment
2400 * @param p_ass_attribute18 Descriptive flexfield segment
2401 * @param p_ass_attribute19 Descriptive flexfield segment
2402 * @param p_ass_attribute20 Descriptive flexfield segment
2403 * @param p_ass_attribute21 Descriptive flexfield segment
2404 * @param p_ass_attribute22 Descriptive flexfield segment
2405 * @param p_ass_attribute23 Descriptive flexfield segment
2406 * @param p_ass_attribute24 Descriptive flexfield segment
2407 * @param p_ass_attribute25 Descriptive flexfield segment
2408 * @param p_ass_attribute26 Descriptive flexfield segment
2409 * @param p_ass_attribute27 Descriptive flexfield segment
2410 * @param p_ass_attribute28 Descriptive flexfield segment
2411 * @param p_ass_attribute29 Descriptive flexfield segment
2412 * @param p_ass_attribute30 Descriptive flexfield segment
2413 * @param p_title Obsolete parameter, do not use.
2414 * @param p_pgp_segment1 People group key flexfield segment
2415 * @param p_pgp_segment2 People group key flexfield segment
2416 * @param p_pgp_segment3 People group key flexfield segment
2417 * @param p_pgp_segment4 People group key flexfield segment
2418 * @param p_pgp_segment5 People group key flexfield segment
2419 * @param p_pgp_segment6 People group key flexfield segment
2420 * @param p_pgp_segment7 People group key flexfield segment
2421 * @param p_pgp_segment8 People group key flexfield segment
2422 * @param p_pgp_segment9 People group key flexfield segment
2423 * @param p_pgp_segment10 People group key flexfield segment
2424 * @param p_pgp_segment11 People group key flexfield segment
2425 * @param p_pgp_segment12 People group key flexfield segment
2426 * @param p_pgp_segment13 People group key flexfield segment
2427 * @param p_pgp_segment14 People group key flexfield segment
2428 * @param p_pgp_segment15 People group key flexfield segment
2429 * @param p_pgp_segment16 People group key flexfield segment
2430 * @param p_pgp_segment17 People group key flexfield segment
2431 * @param p_pgp_segment18 People group key flexfield segment
2432 * @param p_pgp_segment19 People group key flexfield segment
2433 * @param p_pgp_segment20 People group key flexfield segment
2434 * @param p_pgp_segment21 People group key flexfield segment
2435 * @param p_pgp_segment22 People group key flexfield segment
2436 * @param p_pgp_segment23 People group key flexfield segment
2437 * @param p_pgp_segment24 People group key flexfield segment
2438 * @param p_pgp_segment25 People group key flexfield segment
2439 * @param p_pgp_segment26 People group key flexfield segment
2440 * @param p_pgp_segment27 People group key flexfield segment
2441 * @param p_pgp_segment28 People group key flexfield segment
2442 * @param p_pgp_segment29 People group key flexfield segment
2443 * @param p_pgp_segment30 People group key flexfield segment
2444 * @param p_pgp_concat_segments Concatenated segments for People Group Key
2445 * Flexfield. Concatenated segments can be supplied instead of individual
2446 * segments.
2447 * @param p_supervisor_assignment_id Supervisor's assignment that is
2448 * responsible for supervising this assignment.
2449 * @param p_group_name If p_validate is false, set to the People Group Key
2450 * Flexfield concatenated segments. If p_validate is true, set to null.
2451 * @param p_assignment_id If p_validate is false, then this uniquely identifies
2452 * the created assignment. If p_validate is true, then set to null.
2453 * @param p_people_group_id If p_validate is false, then this uniquely
2454 * identifies the associated combination of the People Group Key flexfield for
2455 * this assignment. If p_validate is true, then set to null.
2456 * @param p_object_version_number If p_validate is false, then set to the
2457 * version number of the created assignment. If p_validate is true, then the
2458 * value will be null.
2459 * @param p_effective_start_date If p_validate is false, then set to the
2460 * earliest effective start date for the created assignment. If p_validate is
2461 * true, then set to null.
2462 * @param p_effective_end_date If p_validate is false, then set to the
2463 * effective end date for the created assignment. If p_validate is true, then
2464 * set to null.
2465 * @param p_assignment_sequence If p_validate is false, then an automatically
2466 * incremented number is associated with this assignment, depending on the
2467 * number of assignment which already exist. If p_validate is true then set to
2468 * null.
2469 * @param p_comment_id If p_validate is false and comment text was provided,
2470 * then will be set to the identifier of the created assignment comment record.
2471 * If p_validate is true or no comment text was provided, then will be null.
2472 * @param p_other_manager_warning If set to true, then a manager existed in the
2473 * organization prior to calling this API and the manager flag has been set to
2474 * 'Y' for yes.
2475 * @param p_hourly_salaried_warning Set to true if values entered for Salary
2476 * Basis and Hourly Salaried Code are invalid as of p_effective_date.
2477 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
2478 * identifies an existing CAGR Key Flexfield combination to associate with the
2479 * assignment, and segment values are ignored. If a value is not passed in,
2480 * then the individual CAGR Key Flexfield segments supplied will be used to
2481 * choose an existing combination or create a new combination. When the API
2482 * completes, if p_validate is false, then this uniquely identifies the
2483 * associated combination of the CAGR Key flexfield for this assignment. If
2484 * p_validate is true, then set to null.
2485 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
2486 * @rep:displayname Create Secondary Employee Assignment for United Kingdom
2487 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
2488 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
2489 * @rep:scope public
2490 * @rep:lifecycle active
2491 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
2492 */
2493 --
2494 -- {End Of Comments}
2495 --
2496 procedure create_gb_secondary_emp_asg
2497 (p_validate in boolean default false
2498 ,p_effective_date in date
2499 ,p_person_id in number
2500 ,p_organization_id in number
2501 ,p_grade_id in number default null
2502 ,p_position_id in number default null
2503 ,p_job_id in number default null
2504 ,p_assignment_status_type_id in number default null
2505 ,p_payroll_id in number default null
2506 ,p_location_id in number default null
2507 ,p_supervisor_id in number default null
2508 ,p_special_ceiling_step_id in number default null
2509 ,p_pay_basis_id in number default null
2510 ,p_assignment_number in out nocopy varchar2
2511 ,p_change_reason in varchar2 default null
2512 ,p_comments in varchar2 default null
2513 ,p_date_probation_end in date default null
2514 ,p_default_code_comb_id in number default null
2515 ,p_employment_category in varchar2 default null
2516 ,p_frequency in varchar2 default null
2517 ,p_internal_address_line in varchar2 default null
2518 ,p_manager_flag in varchar2 default null
2519 ,p_normal_hours in number default null
2520 ,p_perf_review_period in number default null
2521 ,p_perf_review_period_frequency in varchar2 default null
2522 ,p_probation_period in number default null
2523 ,p_probation_unit in varchar2 default null
2524 ,p_sal_review_period in number default null
2525 ,p_sal_review_period_frequency in varchar2 default null
2526 ,p_set_of_books_id in number default null
2527 ,p_source_type in varchar2 default null
2528 ,p_time_normal_finish in varchar2 default null
2529 ,p_time_normal_start in varchar2 default null
2530 ,p_bargaining_unit_code in varchar2 default null
2531 ,p_labour_union_member_flag in varchar2 default 'N'
2532 ,p_hourly_salaried_code in varchar2 default null
2533 ,p_ass_attribute_category in varchar2 default null
2534 ,p_ass_attribute1 in varchar2 default null
2535 ,p_ass_attribute2 in varchar2 default null
2536 ,p_ass_attribute3 in varchar2 default null
2537 ,p_ass_attribute4 in varchar2 default null
2538 ,p_ass_attribute5 in varchar2 default null
2539 ,p_ass_attribute6 in varchar2 default null
2540 ,p_ass_attribute7 in varchar2 default null
2541 ,p_ass_attribute8 in varchar2 default null
2542 ,p_ass_attribute9 in varchar2 default null
2543 ,p_ass_attribute10 in varchar2 default null
2544 ,p_ass_attribute11 in varchar2 default null
2545 ,p_ass_attribute12 in varchar2 default null
2546 ,p_ass_attribute13 in varchar2 default null
2547 ,p_ass_attribute14 in varchar2 default null
2548 ,p_ass_attribute15 in varchar2 default null
2549 ,p_ass_attribute16 in varchar2 default null
2550 ,p_ass_attribute17 in varchar2 default null
2551 ,p_ass_attribute18 in varchar2 default null
2552 ,p_ass_attribute19 in varchar2 default null
2553 ,p_ass_attribute20 in varchar2 default null
2554 ,p_ass_attribute21 in varchar2 default null
2555 ,p_ass_attribute22 in varchar2 default null
2556 ,p_ass_attribute23 in varchar2 default null
2557 ,p_ass_attribute24 in varchar2 default null
2558 ,p_ass_attribute25 in varchar2 default null
2559 ,p_ass_attribute26 in varchar2 default null
2560 ,p_ass_attribute27 in varchar2 default null
2561 ,p_ass_attribute28 in varchar2 default null
2562 ,p_ass_attribute29 in varchar2 default null
2563 ,p_ass_attribute30 in varchar2 default null
2564 ,p_title in varchar2 default null
2565 ,p_pgp_segment1 in varchar2 default null
2566 ,p_pgp_segment2 in varchar2 default null
2567 ,p_pgp_segment3 in varchar2 default null
2568 ,p_pgp_segment4 in varchar2 default null
2569 ,p_pgp_segment5 in varchar2 default null
2570 ,p_pgp_segment6 in varchar2 default null
2571 ,p_pgp_segment7 in varchar2 default null
2572 ,p_pgp_segment8 in varchar2 default null
2573 ,p_pgp_segment9 in varchar2 default null
2574 ,p_pgp_segment10 in varchar2 default null
2575 ,p_pgp_segment11 in varchar2 default null
2576 ,p_pgp_segment12 in varchar2 default null
2577 ,p_pgp_segment13 in varchar2 default null
2578 ,p_pgp_segment14 in varchar2 default null
2579 ,p_pgp_segment15 in varchar2 default null
2580 ,p_pgp_segment16 in varchar2 default null
2581 ,p_pgp_segment17 in varchar2 default null
2582 ,p_pgp_segment18 in varchar2 default null
2583 ,p_pgp_segment19 in varchar2 default null
2584 ,p_pgp_segment20 in varchar2 default null
2585 ,p_pgp_segment21 in varchar2 default null
2586 ,p_pgp_segment22 in varchar2 default null
2587 ,p_pgp_segment23 in varchar2 default null
2588 ,p_pgp_segment24 in varchar2 default null
2589 ,p_pgp_segment25 in varchar2 default null
2590 ,p_pgp_segment26 in varchar2 default null
2591 ,p_pgp_segment27 in varchar2 default null
2592 ,p_pgp_segment28 in varchar2 default null
2593 ,p_pgp_segment29 in varchar2 default null
2594 ,p_pgp_segment30 in varchar2 default null
2595 -- Bug 944911
2596 -- Amended p_group_name to out
2597 -- Added new param p_pgp_concat_segments - for sec asg procs
2598 -- for others added p_concat_segments
2599 ,p_pgp_concat_segments in varchar2 default null
2600 ,p_supervisor_assignment_id in number default null
2601 ,p_group_name out nocopy varchar2
2602 ,p_assignment_id out nocopy number
2603 ,p_people_group_id out nocopy number
2604 ,p_object_version_number out nocopy number
2605 ,p_effective_start_date out nocopy date
2606 ,p_effective_end_date out nocopy date
2607 ,p_assignment_sequence out nocopy number
2608 ,p_comment_id out nocopy number
2609 ,p_other_manager_warning out nocopy boolean
2610 ,p_hourly_salaried_warning out nocopy boolean
2611 ,p_cagr_grade_def_id out nocopy number
2612 ,p_cagr_concatenated_segments out nocopy varchar2
2613 );
2614
2615 --
2616 -- ----------------------------------------------------------------------------
2617 -- |-----------------------< create_us_secondary_emp_asg >--------------------|
2618 -- ----------------------------------------------------------------------------
2619 --
2620 -- This version of the API is now out-of-date however it has been provided to
2621 -- you for backward compatibility support and will be removed in the future.
2622 -- Oracle recommends you to modify existing calling programs in advance of the
2623 -- support being withdrawn thus avoiding any potential disruption.
2624 --
2625 procedure create_us_secondary_emp_asg
2626 (p_validate in boolean default false
2627 ,p_effective_date in date
2628 ,p_person_id in number
2629 ,p_organization_id in number
2630 ,p_grade_id in number default null
2631 ,p_position_id in number default null
2632 ,p_job_id in number default null
2633 ,p_assignment_status_type_id in number default null
2634 ,p_payroll_id in number default null
2635 ,p_location_id in number default null
2636 ,p_supervisor_id in number default null
2637 ,p_special_ceiling_step_id in number default null
2638 ,p_pay_basis_id in number default null
2639 ,p_assignment_number in out nocopy varchar2
2640 ,p_change_reason in varchar2 default null
2641 ,p_comments in varchar2 default null
2642 ,p_date_probation_end in date default null
2643 ,p_default_code_comb_id in number default null
2644 ,p_employment_category in varchar2 default null
2645 ,p_frequency in varchar2 default null
2646 ,p_internal_address_line in varchar2 default null
2647 ,p_manager_flag in varchar2 default null
2648 ,p_normal_hours in number default null
2649 ,p_perf_review_period in number default null
2650 ,p_perf_review_period_frequency in varchar2 default null
2651 ,p_probation_period in number default null
2652 ,p_probation_unit in varchar2 default null
2653 ,p_sal_review_period in number default null
2654 ,p_sal_review_period_frequency in varchar2 default null
2655 ,p_set_of_books_id in number default null
2656 ,p_source_type in varchar2 default null
2657 ,p_time_normal_finish in varchar2 default null
2658 ,p_time_normal_start in varchar2 default null
2659 ,p_bargaining_unit_code in varchar2 default null
2660 ,p_labour_union_member_flag in varchar2 default 'N'
2661 ,p_hourly_salaried_code in varchar2 default null
2662 ,p_ass_attribute_category in varchar2 default null
2663 ,p_ass_attribute1 in varchar2 default null
2664 ,p_ass_attribute2 in varchar2 default null
2665 ,p_ass_attribute3 in varchar2 default null
2666 ,p_ass_attribute4 in varchar2 default null
2667 ,p_ass_attribute5 in varchar2 default null
2668 ,p_ass_attribute6 in varchar2 default null
2669 ,p_ass_attribute7 in varchar2 default null
2670 ,p_ass_attribute8 in varchar2 default null
2671 ,p_ass_attribute9 in varchar2 default null
2672 ,p_ass_attribute10 in varchar2 default null
2673 ,p_ass_attribute11 in varchar2 default null
2674 ,p_ass_attribute12 in varchar2 default null
2675 ,p_ass_attribute13 in varchar2 default null
2676 ,p_ass_attribute14 in varchar2 default null
2677 ,p_ass_attribute15 in varchar2 default null
2678 ,p_ass_attribute16 in varchar2 default null
2679 ,p_ass_attribute17 in varchar2 default null
2680 ,p_ass_attribute18 in varchar2 default null
2681 ,p_ass_attribute19 in varchar2 default null
2682 ,p_ass_attribute20 in varchar2 default null
2683 ,p_ass_attribute21 in varchar2 default null
2684 ,p_ass_attribute22 in varchar2 default null
2685 ,p_ass_attribute23 in varchar2 default null
2686 ,p_ass_attribute24 in varchar2 default null
2687 ,p_ass_attribute25 in varchar2 default null
2688 ,p_ass_attribute26 in varchar2 default null
2689 ,p_ass_attribute27 in varchar2 default null
2690 ,p_ass_attribute28 in varchar2 default null
2691 ,p_ass_attribute29 in varchar2 default null
2692 ,p_ass_attribute30 in varchar2 default null
2693 ,p_title in varchar2 default null
2694 ,p_tax_unit in varchar2 default null
2695 ,p_timecard_approver in varchar2 default null
2696 ,p_timecard_required in varchar2 default null
2697 ,p_work_schedule in varchar2 default null
2698 ,p_shift in varchar2 default null
2699 ,p_spouse_salary in varchar2 default null
2700 ,p_legal_representative in varchar2 default null
2701 ,p_wc_override_code in varchar2 default null
2702 ,p_eeo_1_establishment in varchar2 default null
2703 ,p_pgp_segment1 in varchar2 default null
2704 ,p_pgp_segment2 in varchar2 default null
2705 ,p_pgp_segment3 in varchar2 default null
2706 ,p_pgp_segment4 in varchar2 default null
2707 ,p_pgp_segment5 in varchar2 default null
2708 ,p_pgp_segment6 in varchar2 default null
2709 ,p_pgp_segment7 in varchar2 default null
2710 ,p_pgp_segment8 in varchar2 default null
2711 ,p_pgp_segment9 in varchar2 default null
2712 ,p_pgp_segment10 in varchar2 default null
2713 ,p_pgp_segment11 in varchar2 default null
2714 ,p_pgp_segment12 in varchar2 default null
2715 ,p_pgp_segment13 in varchar2 default null
2716 ,p_pgp_segment14 in varchar2 default null
2717 ,p_pgp_segment15 in varchar2 default null
2718 ,p_pgp_segment16 in varchar2 default null
2719 ,p_pgp_segment17 in varchar2 default null
2720 ,p_pgp_segment18 in varchar2 default null
2721 ,p_pgp_segment19 in varchar2 default null
2722 ,p_pgp_segment20 in varchar2 default null
2723 ,p_pgp_segment21 in varchar2 default null
2724 ,p_pgp_segment22 in varchar2 default null
2725 ,p_pgp_segment23 in varchar2 default null
2726 ,p_pgp_segment24 in varchar2 default null
2727 ,p_pgp_segment25 in varchar2 default null
2728 ,p_pgp_segment26 in varchar2 default null
2729 ,p_pgp_segment27 in varchar2 default null
2730 ,p_pgp_segment28 in varchar2 default null
2731 ,p_pgp_segment29 in varchar2 default null
2732 ,p_pgp_segment30 in varchar2 default null
2733 -- Bug 944911
2734 -- Amended p_group_name to out
2735 -- Added new param p_pgp_concat_segments - for sec asg procs
2736 -- for others added p_concat_segments
2737 ,p_pgp_concat_segments in varchar2 default null
2738 ,p_supervisor_assignment_id in number default null
2739 ,p_group_name out nocopy varchar2
2740 ,p_assignment_id out nocopy number
2741 ,p_soft_coding_keyflex_id out nocopy number
2742 ,p_people_group_id out nocopy number
2743 ,p_object_version_number out nocopy number
2744 ,p_effective_start_date out nocopy date
2745 ,p_effective_end_date out nocopy date
2746 ,p_assignment_sequence out nocopy number
2747 ,p_comment_id out nocopy number
2748 -- Bug 944911
2749 -- Changed concatenated_segments to be out from in out
2750 -- added new param p_concat_segments ( in )
2751 ,p_concatenated_segments out nocopy varchar2
2752 ,p_concat_segments in varchar2 default null
2753 ,p_other_manager_warning out nocopy boolean
2754 );
2755
2756 --
2757 -- ----------------------------------------------------------------------------
2758 -- |-----------------------< create_us_secondary_emp_asg >--------------------|
2759 -- ----------------------------------------------------------------------------
2760 --
2761 -- {Start Of Comments}
2762 /*#
2763 * This API creates a secondary employee assignment for an employee in a United
2764 * States business group.
2765 *
2766 * This API cannot create a primary assignment.
2767 *
2768 * <p><b>Licensing</b><br>
2769 * This API is licensed for use with Human Resources.
2770 *
2771 * <p><b>Prerequisites</b><br>
2772 * The person and organization must exist at the effective start date of the
2773 * assignment. The business group should be in a United States legislation.
2774 *
2775 * <p><b>Post Success</b><br>
2776 * A new secondary assignment is created for the employee
2777 *
2778 * <p><b>Post Failure</b><br>
2779 * The API does not create the assignment and raises an error.
2780 * @param p_validate If true, then validation alone will be performed and the
2781 * database will remain unchanged. If false and all validation checks pass,
2782 * then the database will be modified.
2783 * @param p_effective_date Determines when the DateTrack operation comes into
2784 * force.
2785 * @param p_person_id Identifies the person for whom you create the secondary
2786 * assignment record
2787 * @param p_organization_id Identifies the organization of the secondary
2788 * assignment
2789 * @param p_grade_id Identifies the grade of the secondary assignment
2790 * @param p_position_id Identifies the position of the secondary assignment
2791 * @param p_job_id Identifies the job of the secondary assignment
2792 * @param p_assignment_status_type_id Identifies the assignment status of the
2793 * secondary assignment.
2794 * @param p_payroll_id Identifies the payroll for the secondary assignment
2795 * @param p_location_id Identifies the location of the secondary assignment
2796 * @param p_supervisor_id Supervisor for the assignment. The value refers to
2797 * the supervisor's person record.
2798 * @param p_special_ceiling_step_id Highest allowed step for the grade scale
2799 * associated with the grade of the secondary assignment.
2800 * @param p_pay_basis_id Salary basis for the secondary assignment
2801 * @param p_assignment_number If a value is passed in, this is used as the
2802 * assignment number. If no value is passed in an assignment number is
2803 * generated.
2804 * @param p_change_reason Reason for the assignment status change. If there is
2805 * no change reason the parameter can be null. Valid values are defined in the
2806 * EMP_ASSIGN_REASON lookup type.
2807 * @param p_comments Comment text.
2808 * @param p_date_probation_end End date of probation period
2809 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
2810 * Flexfield combination that applies to this assignment
2811 * @param p_employment_category Employment category. Valid values are defined
2812 * in the EMP_CAT lookup type.
2813 * @param p_frequency Frequency associated with the defined normal working
2814 * hours. Valid values are defined in the FREQUENCY lookup type.
2815 * @param p_internal_address_line Internal address identified with this
2816 * assignment.
2817 * @param p_manager_flag Indicates whether the employee is a manager
2818 * @param p_normal_hours Normal working hours for this assignment
2819 * @param p_perf_review_period Length of performance review period
2820 * @param p_perf_review_period_frequency Units of performance review period.
2821 * Valid values are defined in the FREQUENCY lookup type.
2822 * @param p_probation_period Length of probation period
2823 * @param p_probation_unit Units of probation period. Valid values are defined
2824 * in the QUALIFYING_UNITS lookup type.
2825 * @param p_sal_review_period Length of salary review period
2826 * @param p_sal_review_period_frequency Units of salary review period. Valid
2827 * values are defined in the FREQUENCY lookup type.
2828 * @param p_set_of_books_id Identifies General Ledger set of books.
2829 * @param p_source_type Recruitment activity that this assignment is sourced
2830 * from. Valid values are defined in the REC_TYPE lookup type.
2831 * @param p_time_normal_finish Normal work finish time
2832 * @param p_time_normal_start Normal work start time
2833 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
2834 * defined in the BARGAINING_UNIT_CODE lookup type.
2835 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
2836 * union member. Other values indicate not a member.
2837 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
2838 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
2839 * @param p_ass_attribute_category This context value determines which
2840 * Flexfield Structure to use with the Descriptive flexfield segments.
2841 * @param p_ass_attribute1 Descriptive flexfield segment
2842 * @param p_ass_attribute2 Descriptive flexfield segment
2843 * @param p_ass_attribute3 Descriptive flexfield segment
2844 * @param p_ass_attribute4 Descriptive flexfield segment
2845 * @param p_ass_attribute5 Descriptive flexfield segment
2846 * @param p_ass_attribute6 Descriptive flexfield segment
2847 * @param p_ass_attribute7 Descriptive flexfield segment
2848 * @param p_ass_attribute8 Descriptive flexfield segment
2849 * @param p_ass_attribute9 Descriptive flexfield segment
2850 * @param p_ass_attribute10 Descriptive flexfield segment
2851 * @param p_ass_attribute11 Descriptive flexfield segment
2852 * @param p_ass_attribute12 Descriptive flexfield segment
2853 * @param p_ass_attribute13 Descriptive flexfield segment
2854 * @param p_ass_attribute14 Descriptive flexfield segment
2855 * @param p_ass_attribute15 Descriptive flexfield segment
2856 * @param p_ass_attribute16 Descriptive flexfield segment
2857 * @param p_ass_attribute17 Descriptive flexfield segment
2858 * @param p_ass_attribute18 Descriptive flexfield segment
2859 * @param p_ass_attribute19 Descriptive flexfield segment
2860 * @param p_ass_attribute20 Descriptive flexfield segment
2861 * @param p_ass_attribute21 Descriptive flexfield segment
2862 * @param p_ass_attribute22 Descriptive flexfield segment
2863 * @param p_ass_attribute23 Descriptive flexfield segment
2864 * @param p_ass_attribute24 Descriptive flexfield segment
2865 * @param p_ass_attribute25 Descriptive flexfield segment
2866 * @param p_ass_attribute26 Descriptive flexfield segment
2867 * @param p_ass_attribute27 Descriptive flexfield segment
2868 * @param p_ass_attribute28 Descriptive flexfield segment
2869 * @param p_ass_attribute29 Descriptive flexfield segment
2870 * @param p_ass_attribute30 Descriptive flexfield segment
2871 * @param p_title Obsolete parameter, do not use.
2872 * @param p_tax_unit Identifies the Government Reporting Entity (GRE)
2873 * associated with this secondary assignment.
2874 * @param p_timecard_approver Timecard Approver
2875 * @param p_timecard_required Indicates whether timecard is required
2876 * @param p_work_schedule Indicates the pattern of work for the secondary
2877 * assignment
2878 * @param p_shift Defines the shift information for this assignment. Valid
2879 * values are defined in US_SHIFTS lookup type.
2880 * @param p_spouse_salary Spouse's Salary
2881 * @param p_legal_representative Indicates if employee is a legal
2882 * representative
2883 * @param p_wc_override_code Workers Comp Override Code
2884 * @param p_eeo_1_establishment Reporting Establishment
2885 * @param p_pgp_segment1 People group key flexfield segment
2886 * @param p_pgp_segment2 People group key flexfield segment
2887 * @param p_pgp_segment3 People group key flexfield segment
2888 * @param p_pgp_segment4 People group key flexfield segment
2889 * @param p_pgp_segment5 People group key flexfield segment
2890 * @param p_pgp_segment6 People group key flexfield segment
2891 * @param p_pgp_segment7 People group key flexfield segment
2892 * @param p_pgp_segment8 People group key flexfield segment
2893 * @param p_pgp_segment9 People group key flexfield segment
2894 * @param p_pgp_segment10 People group key flexfield segment
2895 * @param p_pgp_segment11 People group key flexfield segment
2896 * @param p_pgp_segment12 People group key flexfield segment
2897 * @param p_pgp_segment13 People group key flexfield segment
2898 * @param p_pgp_segment14 People group key flexfield segment
2899 * @param p_pgp_segment15 People group key flexfield segment
2900 * @param p_pgp_segment16 People group key flexfield segment
2901 * @param p_pgp_segment17 People group key flexfield segment
2902 * @param p_pgp_segment18 People group key flexfield segment
2903 * @param p_pgp_segment19 People group key flexfield segment
2904 * @param p_pgp_segment20 People group key flexfield segment
2905 * @param p_pgp_segment21 People group key flexfield segment
2906 * @param p_pgp_segment22 People group key flexfield segment
2907 * @param p_pgp_segment23 People group key flexfield segment
2908 * @param p_pgp_segment24 People group key flexfield segment
2909 * @param p_pgp_segment25 People group key flexfield segment
2910 * @param p_pgp_segment26 People group key flexfield segment
2911 * @param p_pgp_segment27 People group key flexfield segment
2912 * @param p_pgp_segment28 People group key flexfield segment
2913 * @param p_pgp_segment29 People group key flexfield segment
2914 * @param p_pgp_segment30 People group key flexfield segment
2915 * @param p_pgp_concat_segments Concatenated segments for People Group Key
2916 * Flexfield. Concatenated segments can be supplied instead of individual
2917 * segments.
2918 * @param p_supervisor_assignment_id Supervisor's assignment which is
2919 * responsible for supervising this assignment.
2920 * @param p_group_name If p_validate is false, set to the People Group Key
2921 * Flexfield concatenated segments. If p_validate is true, set to null.
2922 * @param p_assignment_id If p_validate is false, then this uniquely identifies
2923 * the created assignment. If p_validate is true, then set to null.
2924 * @param p_soft_coding_keyflex_id If p_validate is false, then this uniquely
2925 * identifies the associated combination of the Soft Coded Key flexfield for
2926 * this assignment. If p_validate is true, then set to null.
2927 * @param p_people_group_id If p_validate is false, then this uniquely
2928 * identifies the associated combination of the People Group Key flexfield for
2929 * this assignment. If p_validate is true, then set to null.
2930 * @param p_object_version_number If p_validate is false, then set to the
2931 * version number of the created assignment. If p_validate is true, then the
2932 * value will be null.
2933 * @param p_effective_start_date If p_validate is false, then set to the
2934 * earliest effective start date for the created assignment. If p_validate is
2935 * true, then set to null.
2936 * @param p_effective_end_date If p_validate is false, then set to the
2937 * effective end date for the created assignment. If p_validate is true, then
2938 * set to null.
2939 * @param p_assignment_sequence If p_validate is false, then an automatically
2940 * incremented number is associated with this assignment, depending on the
2941 * number of assignment which already exist. If p_validate is true then set to
2942 * null.
2943 * @param p_comment_id If p_validate is false and comment text was provided,
2944 * then will be set to the identifier of the created assignment comment record.
2945 * If p_validate is true or no comment text was provided, then will be null.
2946 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
2947 * Flexfield concatenated segments, if p_validate is true, set to null.
2948 * @param p_concat_segments Concatenated segments for Soft Coded Key Flexfield.
2949 * Concatenated segments can be supplied instead of individual segments.
2950 * @param p_other_manager_warning If set to true, then a manager existed in the
2951 * organization prior to calling this API and the manager flag has been set to
2952 * 'Y' for yes.
2953 * @param p_hourly_salaried_warning Set to true if values entered for Salary
2954 * Basis and Hourly Salaried Code are invalid as of p_effective_date.
2955 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
2956 * identifies an existing CAGR Key Flexfield combination to associate with the
2957 * assignment, and segment values are ignored. If a value is not passed in,
2958 * then the individual CAGR Key Flexfield segments supplied will be used to
2959 * choose an existing combination or create a new combination. When the API
2960 * completes, if p_validate is false, then this uniquely identifies the
2961 * associated combination of the CAGR Key flexfield for this assignment. If
2962 * p_validate is true, then set to null.
2963 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
2964 * @rep:displayname Create Secondary Employee Assignment for United States
2965 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
2966 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
2967 * @rep:scope public
2968 * @rep:lifecycle active
2969 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
2970 */
2971 --
2972 -- {End Of Comments}
2973 --
2974 procedure create_us_secondary_emp_asg
2975 (p_validate in boolean default false
2976 ,p_effective_date in date
2977 ,p_person_id in number
2978 ,p_organization_id in number
2979 ,p_grade_id in number default null
2980 ,p_position_id in number default null
2981 ,p_job_id in number default null
2982 ,p_assignment_status_type_id in number default null
2983 ,p_payroll_id in number default null
2984 ,p_location_id in number default null
2985 ,p_supervisor_id in number default null
2986 ,p_special_ceiling_step_id in number default null
2987 ,p_pay_basis_id in number default null
2988 ,p_assignment_number in out nocopy varchar2
2989 ,p_change_reason in varchar2 default null
2990 ,p_comments in varchar2 default null
2991 ,p_date_probation_end in date default null
2992 ,p_default_code_comb_id in number default null
2993 ,p_employment_category in varchar2 default null
2994 ,p_frequency in varchar2 default null
2995 ,p_internal_address_line in varchar2 default null
2996 ,p_manager_flag in varchar2 default null
2997 ,p_normal_hours in number default null
2998 ,p_perf_review_period in number default null
2999 ,p_perf_review_period_frequency in varchar2 default null
3000 ,p_probation_period in number default null
3001 ,p_probation_unit in varchar2 default null
3002 ,p_sal_review_period in number default null
3003 ,p_sal_review_period_frequency in varchar2 default null
3004 ,p_set_of_books_id in number default null
3005 ,p_source_type in varchar2 default null
3006 ,p_time_normal_finish in varchar2 default null
3007 ,p_time_normal_start in varchar2 default null
3008 ,p_bargaining_unit_code in varchar2 default null
3009 ,p_labour_union_member_flag in varchar2 default 'N'
3010 ,p_hourly_salaried_code in varchar2 default null
3011 ,p_ass_attribute_category in varchar2 default null
3012 ,p_ass_attribute1 in varchar2 default null
3013 ,p_ass_attribute2 in varchar2 default null
3014 ,p_ass_attribute3 in varchar2 default null
3015 ,p_ass_attribute4 in varchar2 default null
3016 ,p_ass_attribute5 in varchar2 default null
3017 ,p_ass_attribute6 in varchar2 default null
3018 ,p_ass_attribute7 in varchar2 default null
3019 ,p_ass_attribute8 in varchar2 default null
3020 ,p_ass_attribute9 in varchar2 default null
3021 ,p_ass_attribute10 in varchar2 default null
3022 ,p_ass_attribute11 in varchar2 default null
3023 ,p_ass_attribute12 in varchar2 default null
3024 ,p_ass_attribute13 in varchar2 default null
3025 ,p_ass_attribute14 in varchar2 default null
3026 ,p_ass_attribute15 in varchar2 default null
3027 ,p_ass_attribute16 in varchar2 default null
3028 ,p_ass_attribute17 in varchar2 default null
3029 ,p_ass_attribute18 in varchar2 default null
3030 ,p_ass_attribute19 in varchar2 default null
3031 ,p_ass_attribute20 in varchar2 default null
3032 ,p_ass_attribute21 in varchar2 default null
3033 ,p_ass_attribute22 in varchar2 default null
3034 ,p_ass_attribute23 in varchar2 default null
3035 ,p_ass_attribute24 in varchar2 default null
3036 ,p_ass_attribute25 in varchar2 default null
3037 ,p_ass_attribute26 in varchar2 default null
3038 ,p_ass_attribute27 in varchar2 default null
3039 ,p_ass_attribute28 in varchar2 default null
3040 ,p_ass_attribute29 in varchar2 default null
3041 ,p_ass_attribute30 in varchar2 default null
3042 ,p_title in varchar2 default null
3043 ,p_tax_unit in varchar2 default null
3044 ,p_timecard_approver in varchar2 default null
3045 ,p_timecard_required in varchar2 default null
3046 ,p_work_schedule in varchar2 default null
3047 ,p_shift in varchar2 default null
3048 ,p_spouse_salary in varchar2 default null
3049 ,p_legal_representative in varchar2 default null
3050 ,p_wc_override_code in varchar2 default null
3051 ,p_eeo_1_establishment in varchar2 default null
3052 ,p_pgp_segment1 in varchar2 default null
3053 ,p_pgp_segment2 in varchar2 default null
3054 ,p_pgp_segment3 in varchar2 default null
3055 ,p_pgp_segment4 in varchar2 default null
3056 ,p_pgp_segment5 in varchar2 default null
3057 ,p_pgp_segment6 in varchar2 default null
3058 ,p_pgp_segment7 in varchar2 default null
3059 ,p_pgp_segment8 in varchar2 default null
3060 ,p_pgp_segment9 in varchar2 default null
3061 ,p_pgp_segment10 in varchar2 default null
3062 ,p_pgp_segment11 in varchar2 default null
3063 ,p_pgp_segment12 in varchar2 default null
3064 ,p_pgp_segment13 in varchar2 default null
3065 ,p_pgp_segment14 in varchar2 default null
3066 ,p_pgp_segment15 in varchar2 default null
3067 ,p_pgp_segment16 in varchar2 default null
3068 ,p_pgp_segment17 in varchar2 default null
3069 ,p_pgp_segment18 in varchar2 default null
3070 ,p_pgp_segment19 in varchar2 default null
3071 ,p_pgp_segment20 in varchar2 default null
3072 ,p_pgp_segment21 in varchar2 default null
3073 ,p_pgp_segment22 in varchar2 default null
3074 ,p_pgp_segment23 in varchar2 default null
3075 ,p_pgp_segment24 in varchar2 default null
3076 ,p_pgp_segment25 in varchar2 default null
3077 ,p_pgp_segment26 in varchar2 default null
3078 ,p_pgp_segment27 in varchar2 default null
3079 ,p_pgp_segment28 in varchar2 default null
3080 ,p_pgp_segment29 in varchar2 default null
3081 ,p_pgp_segment30 in varchar2 default null
3082 -- Bug 944911
3083 -- Amended p_group_name to out
3084 -- Added new param p_pgp_concat_segments - for sec asg procs
3085 -- for others added p_concat_segments
3086 ,p_pgp_concat_segments in varchar2 default null
3087 ,p_supervisor_assignment_id in number default null
3088 ,p_group_name out nocopy varchar2
3089 ,p_assignment_id out nocopy number
3090 ,p_soft_coding_keyflex_id out nocopy number
3091 ,p_people_group_id out nocopy number
3092 ,p_object_version_number out nocopy number
3093 ,p_effective_start_date out nocopy date
3094 ,p_effective_end_date out nocopy date
3095 ,p_assignment_sequence out nocopy number
3096 ,p_comment_id out nocopy number
3097 -- Bug 944911
3098 -- Changed concatenated_segments to be out from in out
3099 -- added new param p_concat_segments ( in )
3100 ,p_concatenated_segments out nocopy varchar2
3101 ,p_concat_segments in varchar2 default null
3102 ,p_other_manager_warning out nocopy boolean
3103 ,p_hourly_salaried_warning out nocopy boolean
3104 ,p_cagr_grade_def_id out nocopy number
3105 ,p_cagr_concatenated_segments out nocopy varchar2
3106 );
3107
3108 --
3109 -- ----------------------------------------------------------------------------
3110 -- |--------------------------< final_process_emp_asg >-----------------------|
3111 -- ----------------------------------------------------------------------------
3112 --
3113 -- {Start Of Comments}
3114 /*#
3115 * This API terminates any assignment except the primary assignment.
3116 *
3117 * This API carries out the second step in terminating an individual employee
3118 * assignment. The employee assignment must already have an actual termination
3119 * date. The actual termination date is derived from the date when the
3120 * assignment status first changes to a TERM_ASSIGN system status. Element
3121 * entries for the assignment that have an element termination rule of 'Final
3122 * Close' are ended as of the final process date. Element entries for the
3123 * assignment that have an element termination rule of 'Last Standard Process'
3124 * are ended as of the final process date, if the last standard process date is
3125 * later than the final process date. Any cost allocations, grade step/point
3126 * placements, cobra coverage benefits and personal payment methods for this
3127 * assignment are ended as of the final process date.
3128 *
3129 * <p><b>Licensing</b><br>
3130 * This API is licensed for use with Human Resources.
3131 *
3132 * <p><b>Prerequisites</b><br>
3133 * The assignment must be a secondary employee assignment. The assignment must
3134 * already have been terminated by a previous call to
3135 * actual_termination_emp_asg.
3136 *
3137 * <p><b>Post Success</b><br>
3138 * The API ends the assignment on the final process date and ends any
3139 * associated element entries.
3140 *
3141 * <p><b>Post Failure</b><br>
3142 * The API does not end the assignment or element entries and raises an error.
3143 * @param p_validate If true, then validation alone will be performed and the
3144 * database will remain unchanged. If false and all validation checks pass,
3145 * then the database will be modified.
3146 * @param p_assignment_id Identifies the assignment record to be modified.
3147 * @param p_object_version_number Pass in the current version number of the
3148 * assignment to be updated. When the API completes if p_validate is false,
3149 * will be set to the new version number of the updated assignment. If
3150 * p_validate is true will be set to the same value which was passed in.
3151 * @param p_final_process_date The last date on which the assignment should
3152 * exist.
3153 * @param p_effective_start_date If p_validate is false, then set to the
3154 * effective start date on the updated assignment row which now exists as of
3155 * the effective date. If p_validate is true, then set to null.
3156 * @param p_effective_end_date If p_validate is false, then set to the
3157 * effective end date on the updated assignment row which now exists as of the
3158 * effective date. If p_validate is true, then set to null.
3159 * @param p_org_now_no_manager_warning Set to true if this assignment had the
3160 * manager flag set to 'Y' and there are no other managers in the assignment's
3161 * organization. Set to false if there is another manager in the assignment's
3162 * organization or if this assignment did not have the manager flag set to 'Y'.
3163 * The warning value only applies as of the final process date.
3164 * @param p_asg_future_changes_warning Set to true if at least one assignment
3165 * change, after the final process date, has been deleted as a result of
3166 * terminating the assignment. (The only valid change after the actual
3167 * termination date is setting the assignment status to another TERM_ASSIGN
3168 * status.) Set to false when there were no changes after final process date.
3169 * @param p_entries_changed_warning Set to 'Y' when at least one element entry
3170 * was altered due to the assignment change. Set to 'S' if at least one salary
3171 * element entry was affected. This is a more specific case than 'Y'. Otherwise
3172 * set to 'N', when no element entries were changed.
3173 * @rep:displayname Final Process Employee Assignment
3174 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
3175 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
3176 * @rep:scope public
3177 * @rep:lifecycle active
3178 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
3179 */
3180 --
3181 -- {End Of Comments}
3182 --
3183 procedure final_process_emp_asg
3184 (p_validate in boolean default false
3185 ,p_assignment_id in number
3186 ,p_object_version_number in out nocopy number
3187 ,p_final_process_date in date
3188 ,p_effective_start_date out nocopy date
3189 ,p_effective_end_date out nocopy date
3190 ,p_org_now_no_manager_warning out nocopy boolean
3191 ,p_asg_future_changes_warning out nocopy boolean
3192 ,p_entries_changed_warning out nocopy varchar2
3193 );
3194 --
3195 -- ----------------------------------------------------------------------------
3196 -- |-----------------------------< suspend_emp_asg >--------------------------|
3197 -- ----------------------------------------------------------------------------
3198 --
3199 -- {Start Of Comments}
3200 /*#
3201 * This API changes the status of an employee assignment to a "Suspended"
3202 * status.
3203 *
3204 *
3205 * <p><b>Licensing</b><br>
3206 * This API is licensed for use with Human Resources.
3207 *
3208 * <p><b>Prerequisites</b><br>
3209 * The assignment must be an employee assignment, and must exist on the
3210 * effective date.
3211 *
3212 * <p><b>Post Success</b><br>
3213 * The employee assignment will be set to a suspended status.
3214 *
3215 * <p><b>Post Failure</b><br>
3216 * The API does not update the assignment and raises an error.
3217 * @param p_validate If true, then validation alone will be performed and the
3218 * database will remain unchanged. If false and all validation checks pass,
3219 * then the database will be modified.
3220 * @param p_effective_date Determines when the DateTrack operation comes into
3221 * force.
3222 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
3223 * updating the record. You must set to either UPDATE, CORRECTION,
3224 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
3225 * particular record depend on the dates of previous record changes and the
3226 * effective date of this change.
3227 * @param p_assignment_id Identifies the assignment record to be modified.
3228 * @param p_change_reason Reason for the assignment status change. If there is
3229 * no change reason the parameter can be null. Valid values are defined in the
3230 * EMP_ASSIGN_REASON lookup type.
3231 * @param p_object_version_number Pass in the current version number of the
3232 * assignment to be updated. When the API completes if p_validate is false,
3233 * will be set to the new version number of the updated assignment. If
3234 * p_validate is true will be set to the same value which was passed in.
3235 * @param p_assignment_status_type_id The new assignment status. The new status
3236 * must have a system status of SUSP_ASSIGN. If the assignment status is
3237 * already a type of SUSP_ASSIGN this API can be used to set a different
3238 * suspend status. If this parameter is not explicitly passed, the API uses the
3239 * default SUSP_ASSIGN status for the assignment's business group.
3240 * @param p_effective_start_date If p_validate is false, then set to the
3241 * effective start date on the updated assignment row which now exists as of
3242 * the effective date. If p_validate is true, then set to null.
3243 * @param p_effective_end_date If p_validate is false, then set to the
3244 * effective end date on the updated assignment row which now exists as of the
3245 * effective date. If p_validate is true, then set to null.
3246 * @rep:displayname Suspend Employee Assignment
3247 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
3248 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
3249 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
3250 * @rep:scope public
3251 * @rep:lifecycle active
3252 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
3253 */
3254 --
3255 -- {End Of Comments}
3256 --
3257 procedure suspend_emp_asg
3258 (p_validate in boolean default false
3259 ,p_effective_date in date
3260 ,p_datetrack_update_mode in varchar2
3261 ,p_assignment_id in number
3262 ,p_change_reason in varchar2 default hr_api.g_varchar2
3263 ,p_object_version_number in out nocopy number
3264 ,p_assignment_status_type_id in number default hr_api.g_number
3265 ,p_effective_start_date out nocopy date
3266 ,p_effective_end_date out nocopy date
3267 );
3268 --
3269 -- ----------------------------------------------------------------------------
3270 -- |------------------------------< update_cwk_asg >--------------------------|
3271 -- ----------------------------------------------------------------------------
3272 --
3273 -- {Start Of Comments}
3274 /*#
3275 * This API updates contingent worker assignment.
3276 *
3277 *
3278 * <p><b>Licensing</b><br>
3279 * This API is licensed for use with Human Resources.
3280 *
3281 * <p><b>Prerequisites</b><br>
3282 * The assignment must exist as of the effective date, and must be a contingent
3283 * worker assignment.
3284 *
3285 * <p><b>Post Success</b><br>
3286 * The API updates the assignment.
3287 *
3288 * <p><b>Post Failure</b><br>
3289 * The API does not update the assignment and raises an error.
3290 * @param p_validate If true, then validation alone will be performed and the
3291 * database will remain unchanged. If false and all validation checks pass,
3292 * then the database will be modified.
3293 * @param p_effective_date Determines when the DateTrack operation comes into
3294 * force.
3295 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
3296 * updating the record. You must set to either UPDATE, CORRECTION,
3297 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
3298 * particular record depend on the dates of previous record changes and the
3299 * effective date of this change.
3300 * @param p_assignment_id Identifies the assignment record to be updated.
3301 * @param p_object_version_number Pass in the current version number of the
3302 * assignment to be updated. When the API completes if p_validate is false,
3303 * will be set to the new version number of the updated assignment. If
3304 * p_validate is true will be set to the same value which was passed in.
3305 * @param p_assignment_category Assignment Category. Valid values are defined
3306 * in the CWK_ASG_CATEGORY lookup type.
3307 * @param p_assignment_number Assignment Number
3308 * @param p_change_reason Reason for the assignment status change. If there is
3309 * no change reason the parameter can be null. Valid values are defined in the
3310 * CWK_ASSIGN_REASON lookup_type.
3311 * @param p_comments Comment text.
3312 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
3313 * Flexfield combination that applies to this assignment
3314 * @param p_establishment_id For French business groups, this identifies the
3315 * Establishment Legal Entity for this assignment.
3316 * @param p_frequency Frequency associated with the defined normal working
3317 * hours. Valid values are defined in the FREQUENCY lookup type.
3318 * @param p_internal_address_line Internal address identified with this
3319 * assignment.
3320 * @param p_labour_union_member_flag Labour union member
3321 * @param p_manager_flag Indicates whether the contingent worker is a manager
3322 * @param p_normal_hours Normal working hours for this assignment
3323 * @param p_project_title Project title
3324 * @param p_set_of_books_id Identifies General Ledger set of books.
3325 * @param p_source_type Recruitment activity which this assignment is sourced
3326 * from. Valid values are defined in the REC_TYPE lookup type.
3327 * @param p_supervisor_id Supervisor for the assignment. The value refers to
3328 * the supervisor's person record.
3329 * @param p_time_normal_finish Normal work finish time
3330 * @param p_time_normal_start Normal work start time
3331 * @param p_title Obsolete parameter, do not use.
3332 * @param p_vendor_assignment_number Identification number given by the
3333 * supplier to the contingent worker's assignment
3334 * @param p_vendor_employee_number Identification number given by the supplier
3335 * to the contingent worker
3336 * @param p_vendor_id Identifier of the Supplier of the contingent worker from
3337 * iProcurement
3338 * @param p_vendor_site_id Identifier of the Supplier site of the contingent
3339 * worker from iProcurement
3340 * @param p_po_header_id Identifier of the Purchase Order under which this
3341 * contingent workers assignment is being paid, from iProcurement
3342 * @param p_po_line_id Identifier of the Purchase Order Line under which this
3343 * contingent workers assignment is being paid, from iProcurement
3344 * @param p_projected_assignment_end Projected end date of this assignment.
3345 * @param p_assignment_status_type_id Assignment status. The system status must
3346 * be the same as before the update. Otherwise one of the status change APIs
3347 * should be used.
3348 * @param p_concat_segments Concatenated segments for Soft Coded Key Flexfield.
3349 * Concatenated segments can be supplied instead of individual segments.
3350 * @param p_attribute_category This context value determines which flexfield
3351 * structure to use with the descriptive flexfield segments.
3352 * @param p_attribute1 Descriptive flexfield segment.
3353 * @param p_attribute2 Descriptive flexfield segment.
3354 * @param p_attribute3 Descriptive flexfield segment.
3355 * @param p_attribute4 Descriptive flexfield segment.
3356 * @param p_attribute5 Descriptive flexfield segment.
3357 * @param p_attribute6 Descriptive flexfield segment.
3358 * @param p_attribute7 Descriptive flexfield segment.
3359 * @param p_attribute8 Descriptive flexfield segment.
3360 * @param p_attribute9 Descriptive flexfield segment.
3361 * @param p_attribute10 Descriptive flexfield segment.
3362 * @param p_attribute11 Descriptive flexfield segment.
3363 * @param p_attribute12 Descriptive flexfield segment.
3364 * @param p_attribute13 Descriptive flexfield segment.
3365 * @param p_attribute14 Descriptive flexfield segment.
3366 * @param p_attribute15 Descriptive flexfield segment.
3367 * @param p_attribute16 Descriptive flexfield segment.
3368 * @param p_attribute17 Descriptive flexfield segment.
3369 * @param p_attribute18 Descriptive flexfield segment.
3370 * @param p_attribute19 Descriptive flexfield segment.
3371 * @param p_attribute20 Descriptive flexfield segment.
3372 * @param p_attribute21 Descriptive flexfield segment.
3373 * @param p_attribute22 Descriptive flexfield segment.
3374 * @param p_attribute23 Descriptive flexfield segment.
3375 * @param p_attribute24 Descriptive flexfield segment.
3376 * @param p_attribute25 Descriptive flexfield segment.
3377 * @param p_attribute26 Descriptive flexfield segment.
3378 * @param p_attribute27 Descriptive flexfield segment.
3379 * @param p_attribute28 Descriptive flexfield segment.
3380 * @param p_attribute29 Descriptive flexfield segment.
3381 * @param p_attribute30 Descriptive flexfield segment.
3382 * @param p_scl_segment1 Soft Coded key flexfield segment
3383 * @param p_scl_segment2 Soft Coded key flexfield segment
3384 * @param p_scl_segment3 Soft Coded key flexfield segment
3385 * @param p_scl_segment4 Soft Coded key flexfield segment
3386 * @param p_scl_segment5 Soft Coded key flexfield segment
3387 * @param p_scl_segment6 Soft Coded key flexfield segment
3388 * @param p_scl_segment7 Soft Coded key flexfield segment
3389 * @param p_scl_segment8 Soft Coded key flexfield segment
3390 * @param p_scl_segment9 Soft Coded key flexfield segment
3391 * @param p_scl_segment10 Soft Coded key flexfield segment
3392 * @param p_scl_segment11 Soft Coded key flexfield segment
3393 * @param p_scl_segment12 Soft Coded key flexfield segment
3394 * @param p_scl_segment13 Soft Coded key flexfield segment
3395 * @param p_scl_segment14 Soft Coded key flexfield segment
3396 * @param p_scl_segment15 Soft Coded key flexfield segment
3397 * @param p_scl_segment16 Soft Coded key flexfield segment
3398 * @param p_scl_segment17 Soft Coded key flexfield segment
3399 * @param p_scl_segment18 Soft Coded key flexfield segment
3400 * @param p_scl_segment19 Soft Coded key flexfield segment
3401 * @param p_scl_segment20 Soft Coded key flexfield segment
3402 * @param p_scl_segment21 Soft Coded key flexfield segment
3403 * @param p_scl_segment22 Soft Coded key flexfield segment
3404 * @param p_scl_segment23 Soft Coded key flexfield segment
3405 * @param p_scl_segment24 Soft Coded key flexfield segment
3406 * @param p_scl_segment25 Soft Coded key flexfield segment
3407 * @param p_scl_segment26 Soft Coded key flexfield segment
3408 * @param p_scl_segment27 Soft Coded key flexfield segment
3409 * @param p_scl_segment28 Soft Coded key flexfield segment
3410 * @param p_scl_segment29 Soft Coded key flexfield segment
3411 * @param p_scl_segment30 Soft Coded key flexfield segment
3412 * @param p_supervisor_assignment_id Supervisor's assignment that is
3413 * responsible for supervising this assignment.
3414 * @param p_org_now_no_manager_warning Set to true if as a result of the update
3415 * there is no manager in the organization. Otherwise set to false.
3416 * @param p_effective_start_date If p_validate is false, then set to the
3417 * earliest effective start date for the created assignment. If p_validate is
3418 * true, then set to null.
3419 * @param p_effective_end_date If p_validate is false, then set to the
3420 * effective end date for the created assignment. If p_validate is true, then
3421 * set to null.
3422 * @param p_comment_id If p_validate is false and comment text was provided,
3423 * then will be set to the identifier of the created assignment comment record.
3424 * If p_validate is true or no comment text was provided, then will be null.
3425 * @param p_no_managers_warning Set to true if as a result of the update there
3426 * is no manager in the organization. Otherwise set to false.
3427 * @param p_other_manager_warning If set to true, then a manager existed in the
3428 * organization prior to calling this API and the manager flag has been set to
3429 * 'Y' for yes.
3430 * @param p_soft_coding_keyflex_id If p_validate is false, then this uniquely
3431 * identifies the associated combination of the Soft Coded Key flexfield for
3432 * this assignment. If p_validate is true, then set to null.
3433 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
3434 * Flexfield concatenated segments, if p_validate is true, set to null.
3435 * @param p_hourly_salaried_warning Set to true if values entered for Salary
3436 * Basis and Hourly Salaried Code are invalid date as of p_effective_date.
3437 * @rep:displayname Update Contingent Worker Assignment
3438 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
3439 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
3440 * @rep:scope public
3441 * @rep:lifecycle active
3442 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
3443 */
3444 --
3445 -- {End Of Comments}
3446 --
3447 procedure update_cwk_asg
3448 (p_validate in boolean default false
3449 ,p_effective_date in date
3450 ,p_datetrack_update_mode in varchar2
3451 ,p_assignment_id in number
3452 ,p_object_version_number in out nocopy number
3453 ,p_assignment_category in varchar2 default hr_api.g_varchar2
3454 ,p_assignment_number in varchar2 default hr_api.g_varchar2
3455 ,p_change_reason in varchar2 default hr_api.g_varchar2
3456 ,p_comments in varchar2 default hr_api.g_varchar2
3457 ,p_default_code_comb_id in number default hr_api.g_number
3458 ,p_establishment_id in number default hr_api.g_number
3459 ,p_frequency in varchar2 default hr_api.g_varchar2
3460 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
3461 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
3462 ,p_manager_flag in varchar2 default hr_api.g_varchar2
3463 ,p_normal_hours in number default hr_api.g_number
3464 ,p_project_title in varchar2 default hr_api.g_varchar2
3465 ,p_set_of_books_id in number default hr_api.g_number
3466 ,p_source_type in varchar2 default hr_api.g_varchar2
3467 ,p_supervisor_id in number default hr_api.g_number
3468 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
3469 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
3470 ,p_title in varchar2 default hr_api.g_varchar2
3471 ,p_vendor_assignment_number in varchar2 default hr_api.g_varchar2
3472 ,p_vendor_employee_number in varchar2 default hr_api.g_varchar2
3473 ,p_vendor_id in number default hr_api.g_number
3474 ,p_vendor_site_id in number default hr_api.g_number
3475 ,p_po_header_id in number default hr_api.g_number
3476 ,p_po_line_id in number default hr_api.g_number
3477 ,p_projected_assignment_end in date default hr_api.g_date
3478 ,p_assignment_status_type_id in number default hr_api.g_number
3479 ,p_concat_segments in varchar2 default null
3480 ,p_attribute_category in varchar2 default hr_api.g_varchar2
3481 ,p_attribute1 in varchar2 default hr_api.g_varchar2
3482 ,p_attribute2 in varchar2 default hr_api.g_varchar2
3483 ,p_attribute3 in varchar2 default hr_api.g_varchar2
3484 ,p_attribute4 in varchar2 default hr_api.g_varchar2
3485 ,p_attribute5 in varchar2 default hr_api.g_varchar2
3486 ,p_attribute6 in varchar2 default hr_api.g_varchar2
3487 ,p_attribute7 in varchar2 default hr_api.g_varchar2
3488 ,p_attribute8 in varchar2 default hr_api.g_varchar2
3489 ,p_attribute9 in varchar2 default hr_api.g_varchar2
3490 ,p_attribute10 in varchar2 default hr_api.g_varchar2
3491 ,p_attribute11 in varchar2 default hr_api.g_varchar2
3492 ,p_attribute12 in varchar2 default hr_api.g_varchar2
3493 ,p_attribute13 in varchar2 default hr_api.g_varchar2
3494 ,p_attribute14 in varchar2 default hr_api.g_varchar2
3495 ,p_attribute15 in varchar2 default hr_api.g_varchar2
3496 ,p_attribute16 in varchar2 default hr_api.g_varchar2
3497 ,p_attribute17 in varchar2 default hr_api.g_varchar2
3498 ,p_attribute18 in varchar2 default hr_api.g_varchar2
3499 ,p_attribute19 in varchar2 default hr_api.g_varchar2
3500 ,p_attribute20 in varchar2 default hr_api.g_varchar2
3501 ,p_attribute21 in varchar2 default hr_api.g_varchar2
3502 ,p_attribute22 in varchar2 default hr_api.g_varchar2
3503 ,p_attribute23 in varchar2 default hr_api.g_varchar2
3504 ,p_attribute24 in varchar2 default hr_api.g_varchar2
3505 ,p_attribute25 in varchar2 default hr_api.g_varchar2
3506 ,p_attribute26 in varchar2 default hr_api.g_varchar2
3507 ,p_attribute27 in varchar2 default hr_api.g_varchar2
3508 ,p_attribute28 in varchar2 default hr_api.g_varchar2
3509 ,p_attribute29 in varchar2 default hr_api.g_varchar2
3510 ,p_attribute30 in varchar2 default hr_api.g_varchar2
3511 ,p_scl_segment1 in varchar2 default hr_api.g_varchar2
3512 ,p_scl_segment2 in varchar2 default hr_api.g_varchar2
3513 ,p_scl_segment3 in varchar2 default hr_api.g_varchar2
3514 ,p_scl_segment4 in varchar2 default hr_api.g_varchar2
3515 ,p_scl_segment5 in varchar2 default hr_api.g_varchar2
3516 ,p_scl_segment6 in varchar2 default hr_api.g_varchar2
3517 ,p_scl_segment7 in varchar2 default hr_api.g_varchar2
3518 ,p_scl_segment8 in varchar2 default hr_api.g_varchar2
3519 ,p_scl_segment9 in varchar2 default hr_api.g_varchar2
3520 ,p_scl_segment10 in varchar2 default hr_api.g_varchar2
3521 ,p_scl_segment11 in varchar2 default hr_api.g_varchar2
3522 ,p_scl_segment12 in varchar2 default hr_api.g_varchar2
3523 ,p_scl_segment13 in varchar2 default hr_api.g_varchar2
3524 ,p_scl_segment14 in varchar2 default hr_api.g_varchar2
3525 ,p_scl_segment15 in varchar2 default hr_api.g_varchar2
3526 ,p_scl_segment16 in varchar2 default hr_api.g_varchar2
3527 ,p_scl_segment17 in varchar2 default hr_api.g_varchar2
3528 ,p_scl_segment18 in varchar2 default hr_api.g_varchar2
3529 ,p_scl_segment19 in varchar2 default hr_api.g_varchar2
3530 ,p_scl_segment20 in varchar2 default hr_api.g_varchar2
3531 ,p_scl_segment21 in varchar2 default hr_api.g_varchar2
3532 ,p_scl_segment22 in varchar2 default hr_api.g_varchar2
3533 ,p_scl_segment23 in varchar2 default hr_api.g_varchar2
3534 ,p_scl_segment24 in varchar2 default hr_api.g_varchar2
3535 ,p_scl_segment25 in varchar2 default hr_api.g_varchar2
3536 ,p_scl_segment26 in varchar2 default hr_api.g_varchar2
3537 ,p_scl_segment27 in varchar2 default hr_api.g_varchar2
3538 ,p_scl_segment28 in varchar2 default hr_api.g_varchar2
3539 ,p_scl_segment29 in varchar2 default hr_api.g_varchar2
3540 ,p_scl_segment30 in varchar2 default hr_api.g_varchar2
3541 ,p_supervisor_assignment_id in number default hr_api.g_number
3542 ,p_org_now_no_manager_warning out nocopy boolean
3543 ,p_effective_start_date out nocopy date
3544 ,p_effective_end_date out nocopy date
3545 ,p_comment_id out nocopy number
3546 ,p_no_managers_warning out nocopy boolean
3547 ,p_other_manager_warning out nocopy boolean
3548 ,p_soft_coding_keyflex_id out nocopy number
3549 ,p_concatenated_segments out nocopy varchar2
3550 ,p_hourly_salaried_warning out nocopy boolean);
3551
3552 --
3553 -- ----------------------------------------------------------------------------
3554 -- |-------------------------< update_cwk_asg_criteria >----------------------|
3555 -- ----------------------------------------------------------------------------
3556 --
3557 -- {Start Of Comments}
3558 /*#
3559 * This API updates attributes of a contingent worker assignment that may
3560 * affect the entitlement to element entries - currently Contingent Workers may
3561 * not have element entries so this API is reserved for future use.
3562 *
3563 * To update other attributes, use the API update_cwk_asg. Contingent Workers
3564 * are not entitled to element entries, this API is provided for future
3565 * compatibility.
3566 *
3567 * <p><b>Licensing</b><br>
3568 * This API is licensed for use with Human Resources.
3569 *
3570 * <p><b>Prerequisites</b><br>
3571 * The assignment must be an contingent worker assignment. The assignment must
3572 * exist as of the effective date of the change
3573 *
3574 * <p><b>Post Success</b><br>
3575 * The API updates the attributes of assignment.
3576 *
3577 * <p><b>Post Failure</b><br>
3578 * The API does not update the assignment and raises an error.
3579 * @param p_validate If true, then validation alone will be performed and the
3580 * database will remain unchanged. If false and all validation checks pass,
3581 * then the database will be modified.
3582 * @param p_effective_date Determines when the DateTrack operation comes into
3583 * force.
3584 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
3585 * updating the record. You must set to either UPDATE, CORRECTION,
3586 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
3587 * particular record depend on the dates of previous record changes and the
3588 * effective date of this change.
3589 * @param p_assignment_id Identifies the assignment record to be modified.
3590 * @param p_called_from_mass_update Set to TRUE if the API is called from the
3591 * Mass Update Processes. This defaults Job and Organization information from
3592 * the Position information, if the first two are not supplied.
3593 * @param p_object_version_number Pass in the current version number of the
3594 * assignment to be updated. When the API completes if p_validate is false,
3595 * will be set to the new version number of the updated assignment. If
3596 * p_validate is true will be set to the same value which was passed in.
3597 * @param p_grade_id Identifies the grade of the assignment
3598 * @param p_position_id Identifies the position of the assignment
3599 * @param p_job_id Identifies the job of the assignment
3600 * @param p_location_id Identifies the location of the assignment
3601 * @param p_organization_id Identifies the organization of the assignment
3602 * @param p_pay_basis_id Salary basis for the assignment
3603 * @param p_segment1 Key flexfield segment.
3604 * @param p_segment2 Key flexfield segment.
3605 * @param p_segment3 Key flexfield segment.
3606 * @param p_segment4 Key flexfield segment.
3607 * @param p_segment5 Key flexfield segment.
3608 * @param p_segment6 Key flexfield segment.
3609 * @param p_segment7 Key flexfield segment.
3610 * @param p_segment8 Key flexfield segment.
3611 * @param p_segment9 Key flexfield segment.
3612 * @param p_segment10 Key flexfield segment.
3613 * @param p_segment11 Key flexfield segment.
3614 * @param p_segment12 Key flexfield segment.
3615 * @param p_segment13 Key flexfield segment.
3616 * @param p_segment14 Key flexfield segment.
3617 * @param p_segment15 Key flexfield segment.
3618 * @param p_segment16 Key flexfield segment.
3619 * @param p_segment17 Key flexfield segment.
3620 * @param p_segment18 Key flexfield segment.
3621 * @param p_segment19 Key flexfield segment.
3622 * @param p_segment20 Key flexfield segment.
3623 * @param p_segment21 Key flexfield segment.
3624 * @param p_segment22 Key flexfield segment.
3625 * @param p_segment23 Key flexfield segment.
3626 * @param p_segment24 Key flexfield segment.
3627 * @param p_segment25 Key flexfield segment.
3628 * @param p_segment26 Key flexfield segment.
3629 * @param p_segment27 Key flexfield segment.
3630 * @param p_segment28 Key flexfield segment.
3631 * @param p_segment29 Key flexfield segment.
3632 * @param p_segment30 Key flexfield segment.
3633 * @param p_concat_segments Concatenated Key Flexfield segments
3634 * @param p_people_group_name Concatenated Key Flexfield segments
3635 * @param p_effective_start_date If p_validate is false, then set to the
3636 * effective start date on the updated assignment row which now exists as of
3637 * the effective date. If p_validate is true, then set to null.
3638 * @param p_effective_end_date If p_validate is false, then set to the
3639 * effective end date on the updated assignment row which now exists as of the
3640 * effective date. If p_validate is true, then set to null.
3641 * @param p_people_group_id Identifier of the People Group Key Flexfield
3642 * combinations row associated with the segments passed.
3643 * @param p_org_now_no_manager_warning Set to true if this assignment is a
3644 * manager, the organization is updated and there is now no manager in the
3645 * previous organization. Set to false if another manager exists in the
3646 * previous organization.
3647 * @param p_other_manager_warning If set to true, then a manager existed in the
3648 * organization prior to calling this API and the manager flag has been set to
3649 * 'Y' for yes.
3650 * @param p_spp_delete_warning Set to true when grade step and point placements
3651 * are date effectively ended or purged by the update of the assignment. Both
3652 * types of change occur when the Grade is changed and spinal point placements
3653 * exist over the updated date range. Set to false when no grade step and point
3654 * placements are affected.
3655 * @param p_entries_changed_warning Always set to 'N'. Contingent Workers are
3656 * not entitled to element entries so no entries can be changed as a result of
3657 * the update.
3658 * @param p_tax_district_changed_warning Always set to False, since contingent
3659 * worker assignments are not eligible to have a Payroll, therefore cannot be
3660 * included in the United Kingdom processing which determines the value of this
3661 * parameter.
3662 * @rep:displayname Update Contingent Worker Assignment Criteria
3663 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
3664 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
3665 * @rep:scope public
3666 * @rep:lifecycle active
3667 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
3668 */
3669 --
3670 -- {End Of Comments}
3671 --
3672 procedure update_cwk_asg_criteria
3673 (p_validate in boolean default false
3674 ,p_effective_date in date
3675 ,p_datetrack_update_mode in varchar2
3676 ,p_assignment_id in number
3677 ,p_called_from_mass_update in boolean default false
3678 ,p_object_version_number in out nocopy number
3679 ,p_grade_id in number default hr_api.g_number
3680 ,p_position_id in number default hr_api.g_number
3681 ,p_job_id in number default hr_api.g_number
3682 --
3683 -- p_payroll_id included for future phases of cwk
3684 --
3685 --,p_payroll_id in number default hr_api.g_number
3686 ,p_location_id in number default hr_api.g_number
3687 ,p_organization_id in number default hr_api.g_number
3688 --
3689 -- p_pay_basis_id included for future phases of cwk
3690 --
3691 ,p_pay_basis_id in number default hr_api.g_number
3692 ,p_segment1 in varchar2 default hr_api.g_varchar2
3693 ,p_segment2 in varchar2 default hr_api.g_varchar2
3694 ,p_segment3 in varchar2 default hr_api.g_varchar2
3695 ,p_segment4 in varchar2 default hr_api.g_varchar2
3696 ,p_segment5 in varchar2 default hr_api.g_varchar2
3697 ,p_segment6 in varchar2 default hr_api.g_varchar2
3698 ,p_segment7 in varchar2 default hr_api.g_varchar2
3699 ,p_segment8 in varchar2 default hr_api.g_varchar2
3700 ,p_segment9 in varchar2 default hr_api.g_varchar2
3701 ,p_segment10 in varchar2 default hr_api.g_varchar2
3702 ,p_segment11 in varchar2 default hr_api.g_varchar2
3703 ,p_segment12 in varchar2 default hr_api.g_varchar2
3704 ,p_segment13 in varchar2 default hr_api.g_varchar2
3705 ,p_segment14 in varchar2 default hr_api.g_varchar2
3706 ,p_segment15 in varchar2 default hr_api.g_varchar2
3707 ,p_segment16 in varchar2 default hr_api.g_varchar2
3708 ,p_segment17 in varchar2 default hr_api.g_varchar2
3709 ,p_segment18 in varchar2 default hr_api.g_varchar2
3710 ,p_segment19 in varchar2 default hr_api.g_varchar2
3711 ,p_segment20 in varchar2 default hr_api.g_varchar2
3712 ,p_segment21 in varchar2 default hr_api.g_varchar2
3713 ,p_segment22 in varchar2 default hr_api.g_varchar2
3714 ,p_segment23 in varchar2 default hr_api.g_varchar2
3715 ,p_segment24 in varchar2 default hr_api.g_varchar2
3716 ,p_segment25 in varchar2 default hr_api.g_varchar2
3717 ,p_segment26 in varchar2 default hr_api.g_varchar2
3718 ,p_segment27 in varchar2 default hr_api.g_varchar2
3719 ,p_segment28 in varchar2 default hr_api.g_varchar2
3720 ,p_segment29 in varchar2 default hr_api.g_varchar2
3721 ,p_segment30 in varchar2 default hr_api.g_varchar2
3722 ,p_concat_segments in varchar2 default hr_api.g_varchar2
3723 ,p_people_group_name out nocopy varchar2
3724 ,p_effective_start_date out nocopy date
3725 ,p_effective_end_date out nocopy date
3726 ,p_people_group_id out nocopy number
3727 ,p_org_now_no_manager_warning out nocopy boolean
3728 ,p_other_manager_warning out nocopy boolean
3729 ,p_spp_delete_warning out nocopy boolean
3730 --
3731 -- p_entries_changed_warning included for future phases of cwk
3732 --
3733 ,p_entries_changed_warning out nocopy varchar2
3734 ,p_tax_district_changed_warning out nocopy boolean
3735 );
3736 --
3737 -- ----------------------------------------------------------------------------
3738 -- |------------------------------< update_emp_asg >--------------------------|
3739 -- ----------------------------------------------------------------------------
3740 --
3741 -- This version of the API is now out-of-date however it has been provided to
3742 -- you for backward compatibility support and will be removed in the future.
3743 -- Oracle recommends you to modify existing calling programs in advance of the
3744 -- support being withdrawn thus avoiding any potential disruption.
3745 --
3746 procedure update_emp_asg
3747 (p_validate in boolean default false
3748 ,p_effective_date in date
3749 ,p_datetrack_update_mode in varchar2
3750 ,p_assignment_id in number
3751 ,p_object_version_number in out nocopy number
3752 ,p_supervisor_id in number default hr_api.g_number
3753 ,p_assignment_number in varchar2 default hr_api.g_varchar2
3754 ,p_change_reason in varchar2 default hr_api.g_varchar2
3755 ,p_comments in varchar2 default hr_api.g_varchar2
3756 ,p_date_probation_end in date default hr_api.g_date
3757 ,p_default_code_comb_id in number default hr_api.g_number
3758 ,p_frequency in varchar2 default hr_api.g_varchar2
3759 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
3760 ,p_manager_flag in varchar2 default hr_api.g_varchar2
3761 ,p_normal_hours in number default hr_api.g_number
3762 ,p_perf_review_period in number default hr_api.g_number
3763 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
3764 ,p_probation_period in number default hr_api.g_number
3765 ,p_probation_unit in varchar2 default hr_api.g_varchar2
3766 ,p_sal_review_period in number default hr_api.g_number
3767 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
3768 ,p_set_of_books_id in number default hr_api.g_number
3769 ,p_source_type in varchar2 default hr_api.g_varchar2
3770 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
3771 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
3772 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
3773 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
3774 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
3775 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
3776 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
3777 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
3778 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
3779 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
3780 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
3781 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
3782 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
3783 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
3784 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
3785 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
3786 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
3787 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
3788 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
3789 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
3790 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
3791 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
3792 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
3793 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
3794 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
3795 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
3796 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
3797 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
3798 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
3799 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
3800 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
3801 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
3802 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
3803 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
3804 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
3805 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
3806 ,p_title in varchar2 default hr_api.g_varchar2
3807 ,p_segment1 in varchar2 default hr_api.g_varchar2
3808 ,p_segment2 in varchar2 default hr_api.g_varchar2
3809 ,p_segment3 in varchar2 default hr_api.g_varchar2
3810 ,p_segment4 in varchar2 default hr_api.g_varchar2
3811 ,p_segment5 in varchar2 default hr_api.g_varchar2
3812 ,p_segment6 in varchar2 default hr_api.g_varchar2
3813 ,p_segment7 in varchar2 default hr_api.g_varchar2
3814 ,p_segment8 in varchar2 default hr_api.g_varchar2
3815 ,p_segment9 in varchar2 default hr_api.g_varchar2
3816 ,p_segment10 in varchar2 default hr_api.g_varchar2
3817 ,p_segment11 in varchar2 default hr_api.g_varchar2
3818 ,p_segment12 in varchar2 default hr_api.g_varchar2
3819 ,p_segment13 in varchar2 default hr_api.g_varchar2
3820 ,p_segment14 in varchar2 default hr_api.g_varchar2
3821 ,p_segment15 in varchar2 default hr_api.g_varchar2
3822 ,p_segment16 in varchar2 default hr_api.g_varchar2
3823 ,p_segment17 in varchar2 default hr_api.g_varchar2
3824 ,p_segment18 in varchar2 default hr_api.g_varchar2
3825 ,p_segment19 in varchar2 default hr_api.g_varchar2
3826 ,p_segment20 in varchar2 default hr_api.g_varchar2
3827 ,p_segment21 in varchar2 default hr_api.g_varchar2
3828 ,p_segment22 in varchar2 default hr_api.g_varchar2
3829 ,p_segment23 in varchar2 default hr_api.g_varchar2
3830 ,p_segment24 in varchar2 default hr_api.g_varchar2
3831 ,p_segment25 in varchar2 default hr_api.g_varchar2
3832 ,p_segment26 in varchar2 default hr_api.g_varchar2
3833 ,p_segment27 in varchar2 default hr_api.g_varchar2
3834 ,p_segment28 in varchar2 default hr_api.g_varchar2
3835 ,p_segment29 in varchar2 default hr_api.g_varchar2
3836 ,p_segment30 in varchar2 default hr_api.g_varchar2
3837 -- Bug fix for 944911
3838 -- p_concatenated_segments has been changed from in out to out
3839 -- Added new param p_concat_segments as in param
3840 ,p_concat_segments in varchar2 default hr_api.g_varchar2
3841 ,p_supervisor_assignment_id in number default hr_api.g_number
3842 ,p_concatenated_segments out nocopy varchar2
3843 -- bug 2359997 p_soft_coding_keyflex_id changed from out to in out
3844 ,p_soft_coding_keyflex_id in out nocopy number
3845 ,p_comment_id out nocopy number
3846 ,p_effective_start_date out nocopy date
3847 ,p_effective_end_date out nocopy date
3848 ,p_no_managers_warning out nocopy boolean
3849 ,p_other_manager_warning out nocopy boolean
3850 );
3851 --
3852 -- ----------------------------------------------------------------------------
3853 -- |------------------------------< update_emp_asg >--------------------------|
3854 -- ----------------------------------------------------------------------------
3855 --
3856 -- This version of the API is now out-of-date however it has been provided to
3857 -- you for backward compatibility support and will be removed in the future.
3858 -- Oracle recommends you to modify existing calling programs in advance of the
3859 -- support being withdrawn thus avoiding any potential disruption.
3860 --
3861 procedure update_emp_asg
3862 (p_validate in boolean default false
3863 ,p_effective_date in date
3864 ,p_datetrack_update_mode in varchar2
3865 ,p_assignment_id in number
3866 ,p_object_version_number in out nocopy number
3867 ,p_supervisor_id in number default hr_api.g_number
3868 ,p_assignment_number in varchar2 default hr_api.g_varchar2
3869 ,p_change_reason in varchar2 default hr_api.g_varchar2
3870 ,p_assignment_status_type_id in number default hr_api.g_number
3871 ,p_comments in varchar2 default hr_api.g_varchar2
3872 ,p_date_probation_end in date default hr_api.g_date
3873 ,p_default_code_comb_id in number default hr_api.g_number
3874 ,p_frequency in varchar2 default hr_api.g_varchar2
3875 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
3876 ,p_manager_flag in varchar2 default hr_api.g_varchar2
3877 ,p_normal_hours in number default hr_api.g_number
3878 ,p_perf_review_period in number default hr_api.g_number
3879 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
3880 ,p_probation_period in number default hr_api.g_number
3881 ,p_probation_unit in varchar2 default hr_api.g_varchar2
3882 ,p_sal_review_period in number default hr_api.g_number
3883 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
3884 ,p_set_of_books_id in number default hr_api.g_number
3885 ,p_source_type in varchar2 default hr_api.g_varchar2
3886 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
3887 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
3888 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
3889 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
3890 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
3891 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
3892 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
3893 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
3894 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
3895 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
3896 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
3897 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
3898 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
3899 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
3900 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
3901 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
3902 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
3903 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
3904 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
3905 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
3906 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
3907 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
3908 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
3909 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
3910 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
3911 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
3912 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
3913 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
3914 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
3915 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
3916 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
3917 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
3918 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
3919 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
3920 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
3921 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
3922 ,p_title in varchar2 default hr_api.g_varchar2
3923 ,p_segment1 in varchar2 default hr_api.g_varchar2
3924 ,p_segment2 in varchar2 default hr_api.g_varchar2
3925 ,p_segment3 in varchar2 default hr_api.g_varchar2
3926 ,p_segment4 in varchar2 default hr_api.g_varchar2
3927 ,p_segment5 in varchar2 default hr_api.g_varchar2
3928 ,p_segment6 in varchar2 default hr_api.g_varchar2
3929 ,p_segment7 in varchar2 default hr_api.g_varchar2
3930 ,p_segment8 in varchar2 default hr_api.g_varchar2
3931 ,p_segment9 in varchar2 default hr_api.g_varchar2
3932 ,p_segment10 in varchar2 default hr_api.g_varchar2
3933 ,p_segment11 in varchar2 default hr_api.g_varchar2
3934 ,p_segment12 in varchar2 default hr_api.g_varchar2
3935 ,p_segment13 in varchar2 default hr_api.g_varchar2
3936 ,p_segment14 in varchar2 default hr_api.g_varchar2
3937 ,p_segment15 in varchar2 default hr_api.g_varchar2
3938 ,p_segment16 in varchar2 default hr_api.g_varchar2
3939 ,p_segment17 in varchar2 default hr_api.g_varchar2
3940 ,p_segment18 in varchar2 default hr_api.g_varchar2
3941 ,p_segment19 in varchar2 default hr_api.g_varchar2
3942 ,p_segment20 in varchar2 default hr_api.g_varchar2
3943 ,p_segment21 in varchar2 default hr_api.g_varchar2
3944 ,p_segment22 in varchar2 default hr_api.g_varchar2
3945 ,p_segment23 in varchar2 default hr_api.g_varchar2
3946 ,p_segment24 in varchar2 default hr_api.g_varchar2
3947 ,p_segment25 in varchar2 default hr_api.g_varchar2
3948 ,p_segment26 in varchar2 default hr_api.g_varchar2
3949 ,p_segment27 in varchar2 default hr_api.g_varchar2
3950 ,p_segment28 in varchar2 default hr_api.g_varchar2
3951 ,p_segment29 in varchar2 default hr_api.g_varchar2
3952 ,p_segment30 in varchar2 default hr_api.g_varchar2
3953 -- Bug fix for 944911
3954 -- Added new param p_concat_segments as in param
3955 ,p_concat_segments in varchar2 default hr_api.g_varchar2
3956 ,p_contract_id in number default hr_api.g_number
3957 ,p_establishment_id in number default hr_api.g_number
3958 ,p_collective_agreement_id in number default hr_api.g_number
3959 ,p_cagr_id_flex_num in number default hr_api.g_number
3960 ,p_cag_segment1 in varchar2 default hr_api.g_varchar2
3961 ,p_cag_segment2 in varchar2 default hr_api.g_varchar2
3962 ,p_cag_segment3 in varchar2 default hr_api.g_varchar2
3963 ,p_cag_segment4 in varchar2 default hr_api.g_varchar2
3964 ,p_cag_segment5 in varchar2 default hr_api.g_varchar2
3965 ,p_cag_segment6 in varchar2 default hr_api.g_varchar2
3966 ,p_cag_segment7 in varchar2 default hr_api.g_varchar2
3967 ,p_cag_segment8 in varchar2 default hr_api.g_varchar2
3968 ,p_cag_segment9 in varchar2 default hr_api.g_varchar2
3969 ,p_cag_segment10 in varchar2 default hr_api.g_varchar2
3970 ,p_cag_segment11 in varchar2 default hr_api.g_varchar2
3971 ,p_cag_segment12 in varchar2 default hr_api.g_varchar2
3972 ,p_cag_segment13 in varchar2 default hr_api.g_varchar2
3973 ,p_cag_segment14 in varchar2 default hr_api.g_varchar2
3974 ,p_cag_segment15 in varchar2 default hr_api.g_varchar2
3975 ,p_cag_segment16 in varchar2 default hr_api.g_varchar2
3976 ,p_cag_segment17 in varchar2 default hr_api.g_varchar2
3977 ,p_cag_segment18 in varchar2 default hr_api.g_varchar2
3978 ,p_cag_segment19 in varchar2 default hr_api.g_varchar2
3979 ,p_cag_segment20 in varchar2 default hr_api.g_varchar2
3980 ,p_notice_period in number default hr_api.g_number
3981 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
3982 ,p_employee_category in varchar2 default hr_api.g_varchar2
3983 ,p_work_at_home in varchar2 default hr_api.g_varchar2
3984 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
3985 ,p_supervisor_assignment_id in number default hr_api.g_number
3986 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
3987 -- Bug fix for 944911
3988 -- p_concatenated_segments has been changed from in out to out
3989 ,p_cagr_concatenated_segments out nocopy varchar2
3990 ,p_concatenated_segments out nocopy varchar2
3991 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
3992 ,p_comment_id out nocopy number
3993 ,p_effective_start_date out nocopy date
3994 ,p_effective_end_date out nocopy date
3995 ,p_no_managers_warning out nocopy boolean
3996 ,p_other_manager_warning out nocopy boolean
3997 );
3998 --
3999 -- ----------------------------------------------------------------------------
4000 -- |------------------------------< update_emp_asg >--------------------------|
4001 -- ----------------------------------------------------------------------------
4002 --
4003 -- This version of the API is now out-of-date however it has been provided to
4004 -- you for backward compatibility support and will be removed in the future.
4005 -- Oracle recommends you to modify existing calling programs in advance of the
4006 -- support being withdrawn thus avoiding any potential disruption.
4007 --
4008 procedure update_emp_asg
4009 (p_validate in boolean default false
4010 ,p_effective_date in date
4011 ,p_datetrack_update_mode in varchar2
4012 ,p_assignment_id in number
4013 ,p_object_version_number in out nocopy number
4014 ,p_supervisor_id in number default hr_api.g_number
4015 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4016 ,p_change_reason in varchar2 default hr_api.g_varchar2
4017 ,p_assignment_status_type_id in number default hr_api.g_number
4018 ,p_comments in varchar2 default hr_api.g_varchar2
4019 ,p_date_probation_end in date default hr_api.g_date
4020 ,p_default_code_comb_id in number default hr_api.g_number
4021 ,p_frequency in varchar2 default hr_api.g_varchar2
4022 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4023 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4024 ,p_normal_hours in number default hr_api.g_number
4025 ,p_perf_review_period in number default hr_api.g_number
4026 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4027 ,p_probation_period in number default hr_api.g_number
4028 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4029 ,p_sal_review_period in number default hr_api.g_number
4030 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4031 ,p_set_of_books_id in number default hr_api.g_number
4032 ,p_source_type in varchar2 default hr_api.g_varchar2
4033 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4034 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4035 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4036 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4037 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4038 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4039 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4040 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4041 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4042 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4043 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4044 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4045 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4046 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4047 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4048 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4049 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4050 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4051 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4052 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4053 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4054 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4055 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4056 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4057 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4058 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4059 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
4060 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
4061 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
4062 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
4063 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
4064 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
4065 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
4066 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
4067 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
4068 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
4069 ,p_title in varchar2 default hr_api.g_varchar2
4070 ,p_segment1 in varchar2 default hr_api.g_varchar2
4071 ,p_segment2 in varchar2 default hr_api.g_varchar2
4072 ,p_segment3 in varchar2 default hr_api.g_varchar2
4073 ,p_segment4 in varchar2 default hr_api.g_varchar2
4074 ,p_segment5 in varchar2 default hr_api.g_varchar2
4075 ,p_segment6 in varchar2 default hr_api.g_varchar2
4076 ,p_segment7 in varchar2 default hr_api.g_varchar2
4077 ,p_segment8 in varchar2 default hr_api.g_varchar2
4078 ,p_segment9 in varchar2 default hr_api.g_varchar2
4079 ,p_segment10 in varchar2 default hr_api.g_varchar2
4080 ,p_segment11 in varchar2 default hr_api.g_varchar2
4081 ,p_segment12 in varchar2 default hr_api.g_varchar2
4082 ,p_segment13 in varchar2 default hr_api.g_varchar2
4083 ,p_segment14 in varchar2 default hr_api.g_varchar2
4084 ,p_segment15 in varchar2 default hr_api.g_varchar2
4085 ,p_segment16 in varchar2 default hr_api.g_varchar2
4086 ,p_segment17 in varchar2 default hr_api.g_varchar2
4087 ,p_segment18 in varchar2 default hr_api.g_varchar2
4088 ,p_segment19 in varchar2 default hr_api.g_varchar2
4089 ,p_segment20 in varchar2 default hr_api.g_varchar2
4090 ,p_segment21 in varchar2 default hr_api.g_varchar2
4091 ,p_segment22 in varchar2 default hr_api.g_varchar2
4092 ,p_segment23 in varchar2 default hr_api.g_varchar2
4093 ,p_segment24 in varchar2 default hr_api.g_varchar2
4094 ,p_segment25 in varchar2 default hr_api.g_varchar2
4095 ,p_segment26 in varchar2 default hr_api.g_varchar2
4096 ,p_segment27 in varchar2 default hr_api.g_varchar2
4097 ,p_segment28 in varchar2 default hr_api.g_varchar2
4098 ,p_segment29 in varchar2 default hr_api.g_varchar2
4099 ,p_segment30 in varchar2 default hr_api.g_varchar2
4100 -- Bug fix for 944911
4101 -- Added new param p_concat_segments as in param
4102 ,p_concat_segments in varchar2 default hr_api.g_varchar2
4103 ,p_contract_id in number default hr_api.g_number
4104 ,p_establishment_id in number default hr_api.g_number
4105 ,p_collective_agreement_id in number default hr_api.g_number
4106 ,p_cagr_id_flex_num in number default hr_api.g_number
4107 ,p_cag_segment1 in varchar2 default hr_api.g_varchar2
4108 ,p_cag_segment2 in varchar2 default hr_api.g_varchar2
4109 ,p_cag_segment3 in varchar2 default hr_api.g_varchar2
4110 ,p_cag_segment4 in varchar2 default hr_api.g_varchar2
4111 ,p_cag_segment5 in varchar2 default hr_api.g_varchar2
4112 ,p_cag_segment6 in varchar2 default hr_api.g_varchar2
4113 ,p_cag_segment7 in varchar2 default hr_api.g_varchar2
4114 ,p_cag_segment8 in varchar2 default hr_api.g_varchar2
4115 ,p_cag_segment9 in varchar2 default hr_api.g_varchar2
4116 ,p_cag_segment10 in varchar2 default hr_api.g_varchar2
4117 ,p_cag_segment11 in varchar2 default hr_api.g_varchar2
4118 ,p_cag_segment12 in varchar2 default hr_api.g_varchar2
4119 ,p_cag_segment13 in varchar2 default hr_api.g_varchar2
4120 ,p_cag_segment14 in varchar2 default hr_api.g_varchar2
4121 ,p_cag_segment15 in varchar2 default hr_api.g_varchar2
4122 ,p_cag_segment16 in varchar2 default hr_api.g_varchar2
4123 ,p_cag_segment17 in varchar2 default hr_api.g_varchar2
4124 ,p_cag_segment18 in varchar2 default hr_api.g_varchar2
4125 ,p_cag_segment19 in varchar2 default hr_api.g_varchar2
4126 ,p_cag_segment20 in varchar2 default hr_api.g_varchar2
4127 ,p_notice_period in number default hr_api.g_number
4128 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
4129 ,p_employee_category in varchar2 default hr_api.g_varchar2
4130 ,p_work_at_home in varchar2 default hr_api.g_varchar2
4131 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
4132 ,p_supervisor_assignment_id in number default hr_api.g_number
4133 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
4134 -- Bug fix for 944911
4135 -- p_concatenated_segments has been changed from in out to out
4136 ,p_cagr_concatenated_segments out nocopy varchar2
4137 ,p_concatenated_segments out nocopy varchar2
4138 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
4139 ,p_comment_id out nocopy number
4140 ,p_effective_start_date out nocopy date
4141 ,p_effective_end_date out nocopy date
4142 ,p_no_managers_warning out nocopy boolean
4143 ,p_other_manager_warning out nocopy boolean
4144 ,p_hourly_salaried_warning out nocopy boolean
4145 );
4146 --
4147 -- ----------------------------------------------------------------------------
4148 -- |------------------------------< update_emp_asg >--------------------------|
4149 -- ----------------------------------------------------------------------------
4150 --
4151 -- {Start Of Comments}
4152 /*#
4153 * This API updates employee assignment details which do not affect entitlement
4154 * to element entries.
4155 *
4156 *
4157 * <p><b>Licensing</b><br>
4158 * This API is licensed for use with Human Resources.
4159 *
4160 * <p><b>Prerequisites</b><br>
4161 * The assignment must exist as of the effective date and must be an employee
4162 * assignment.
4163 *
4164 * <p><b>Post Success</b><br>
4165 * The API updates the assignment.
4166 *
4167 * <p><b>Post Failure</b><br>
4168 * The API does not update the assignment and raises an error.
4169 * @param p_validate If true, then validation alone will be performed and the
4170 * database will remain unchanged. If false and all validation checks pass,
4171 * then the database will be modified.
4172 * @param p_effective_date Determines when the DateTrack operation comes into
4173 * force.
4174 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
4175 * updating the record. You must set to either UPDATE, CORRECTION,
4176 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
4177 * particular record depend on the dates of previous record changes and the
4178 * effective date of this change.
4179 * @param p_assignment_id Identifies the assignment record to be modified.
4180 * @param p_object_version_number Pass in the current version number of the
4181 * assignment to be updated. When the API completes if p_validate is false,
4182 * will be set to the new version number of the updated assignment. If
4183 * p_validate is true will be set to the same value which was passed in.
4184 * @param p_supervisor_id Supervisor for the assignment. The value refers to
4185 * the supervisor's person record.
4186 * @param p_assignment_number Assignment number
4187 * @param p_change_reason Reason for the assignment status change. If there is
4188 * no change reason the parameter can be null. Valid values are defined in the
4189 * EMP_ASSIGN_REASON lookup type.
4190 * @param p_assignment_status_type_id Assignment status. The system status must
4191 * be the same as before the update, otherwise one of the status change APIs
4192 * should be used.
4193 * @param p_comments Comment text.
4194 * @param p_date_probation_end End date of probation period
4195 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
4196 * Flexfield combination that applies to this assignment
4197 * @param p_frequency Frequency associated with the defined normal working
4198 * hours. Valid values are defined in the FREQUENCY lookup type.
4199 * @param p_internal_address_line Internal address identified with this
4200 * assignment.
4201 * @param p_manager_flag Indicates whether the employee is a manager
4202 * @param p_normal_hours Normal working hours for this assignment
4203 * @param p_perf_review_period Length of performance review period
4204 * @param p_perf_review_period_frequency Units of performance review period.
4205 * Valid values are defined in the FREQUENCY lookup type.
4206 * @param p_probation_period Length of probation period
4207 * @param p_probation_unit Units of probation period. Valid values are defined
4208 * in the QUALIFYING_UNITS lookup type.
4209 * @param p_projected_assignment_end Projected end date of this assignment.
4210 * @param p_sal_review_period Length of salary review period
4211 * @param p_sal_review_period_frequency Units of salary review period. Valid
4212 * values are defined in the FREQUENCY lookup type.
4213 * @param p_set_of_books_id Identifies General Ledger set of books.
4214 * @param p_source_type Recruitment activity which this assignment is sourced
4215 * from. Valid values are defined in the REC_TYPE lookup type.
4216 * @param p_time_normal_finish Normal work finish time
4217 * @param p_time_normal_start Normal work start time
4218 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
4219 * defined in the BARGAINING_UNIT_CODE lookup type.
4220 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
4221 * union member. Other values indicate not a member.
4222 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
4223 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
4224 * @param p_ass_attribute_category This context value determines which
4225 * Flexfield Structure to use with the Descriptive flexfield segments.
4226 * @param p_ass_attribute1 Descriptive flexfield segment
4227 * @param p_ass_attribute2 Descriptive flexfield segment
4228 * @param p_ass_attribute3 Descriptive flexfield segment
4229 * @param p_ass_attribute4 Descriptive flexfield segment
4230 * @param p_ass_attribute5 Descriptive flexfield segment
4231 * @param p_ass_attribute6 Descriptive flexfield segment
4232 * @param p_ass_attribute7 Descriptive flexfield segment
4233 * @param p_ass_attribute8 Descriptive flexfield segment
4234 * @param p_ass_attribute9 Descriptive flexfield segment
4235 * @param p_ass_attribute10 Descriptive flexfield segment
4236 * @param p_ass_attribute11 Descriptive flexfield segment
4237 * @param p_ass_attribute12 Descriptive flexfield segment
4238 * @param p_ass_attribute13 Descriptive flexfield segment
4239 * @param p_ass_attribute14 Descriptive flexfield segment
4240 * @param p_ass_attribute15 Descriptive flexfield segment
4241 * @param p_ass_attribute16 Descriptive flexfield segment
4242 * @param p_ass_attribute17 Descriptive flexfield segment
4243 * @param p_ass_attribute18 Descriptive flexfield segment
4244 * @param p_ass_attribute19 Descriptive flexfield segment
4245 * @param p_ass_attribute20 Descriptive flexfield segment
4246 * @param p_ass_attribute21 Descriptive flexfield segment
4247 * @param p_ass_attribute22 Descriptive flexfield segment
4248 * @param p_ass_attribute23 Descriptive flexfield segment
4249 * @param p_ass_attribute24 Descriptive flexfield segment
4250 * @param p_ass_attribute25 Descriptive flexfield segment
4251 * @param p_ass_attribute26 Descriptive flexfield segment
4252 * @param p_ass_attribute27 Descriptive flexfield segment
4253 * @param p_ass_attribute28 Descriptive flexfield segment
4254 * @param p_ass_attribute29 Descriptive flexfield segment
4255 * @param p_ass_attribute30 Descriptive flexfield segment
4256 * @param p_title Obsolete parameter, do not use.
4257 * @param p_segment1 Soft Coded key flexfield segment
4258 * @param p_segment2 Soft Coded key flexfield segment
4259 * @param p_segment3 Soft Coded key flexfield segment
4260 * @param p_segment4 Soft Coded key flexfield segment
4261 * @param p_segment5 Soft Coded key flexfield segment
4262 * @param p_segment6 Soft Coded key flexfield segment
4263 * @param p_segment7 Soft Coded key flexfield segment
4264 * @param p_segment8 Soft Coded key flexfield segment
4265 * @param p_segment9 Soft Coded key flexfield segment
4266 * @param p_segment10 Soft Coded key flexfield segment
4267 * @param p_segment11 Soft Coded key flexfield segment
4268 * @param p_segment12 Soft Coded key flexfield segment
4269 * @param p_segment13 Soft Coded key flexfield segment
4270 * @param p_segment14 Soft Coded key flexfield segment
4271 * @param p_segment15 Soft Coded key flexfield segment
4272 * @param p_segment16 Soft Coded key flexfield segment
4273 * @param p_segment17 Soft Coded key flexfield segment
4274 * @param p_segment18 Soft Coded key flexfield segment
4275 * @param p_segment19 Soft Coded key flexfield segment
4276 * @param p_segment20 Soft Coded key flexfield segment
4277 * @param p_segment21 Soft Coded key flexfield segment
4278 * @param p_segment22 Soft Coded key flexfield segment
4279 * @param p_segment23 Soft Coded key flexfield segment
4280 * @param p_segment24 Soft Coded key flexfield segment
4281 * @param p_segment25 Soft Coded key flexfield segment
4282 * @param p_segment26 Soft Coded key flexfield segment
4283 * @param p_segment27 Soft Coded key flexfield segment
4284 * @param p_segment28 Soft Coded key flexfield segment
4285 * @param p_segment29 Soft Coded key flexfield segment
4286 * @param p_segment30 Soft Coded key flexfield segment
4287 * @param p_concat_segments Concatenated segments for Soft Coded Key Flexfield.
4288 * Concatenated segments can be supplied instead of individual segments.
4289 * @param p_contract_id Contract associated with this assignment
4290 * @param p_establishment_id For French business groups, this identifies the
4291 * Establishment Legal Entity for this assignment.
4292 * @param p_collective_agreement_id Collective Agreement that applies to this
4293 * assignment
4294 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
4295 * flexfield to use for this assignment
4296 * @param p_cag_segment1 CAGR Key Flexfield segment
4297 * @param p_cag_segment2 CAGR Key Flexfield segment
4298 * @param p_cag_segment3 CAGR Key Flexfield segment
4299 * @param p_cag_segment4 CAGR Key Flexfield segment
4300 * @param p_cag_segment5 CAGR Key Flexfield segment
4301 * @param p_cag_segment6 CAGR Key Flexfield segment
4302 * @param p_cag_segment7 CAGR Key Flexfield segment
4303 * @param p_cag_segment8 CAGR Key Flexfield segment
4304 * @param p_cag_segment9 CAGR Key Flexfield segment
4305 * @param p_cag_segment10 CAGR Key Flexfield segment
4306 * @param p_cag_segment11 CAGR Key Flexfield segment
4307 * @param p_cag_segment12 CAGR Key Flexfield segment
4308 * @param p_cag_segment13 CAGR Key Flexfield segment
4309 * @param p_cag_segment14 CAGR Key Flexfield segment
4310 * @param p_cag_segment15 CAGR Key Flexfield segment
4311 * @param p_cag_segment16 CAGR Key Flexfield segment
4312 * @param p_cag_segment17 CAGR Key Flexfield segment
4313 * @param p_cag_segment18 CAGR Key Flexfield segment
4314 * @param p_cag_segment19 CAGR Key Flexfield segment
4315 * @param p_cag_segment20 CAGR Key Flexfield segment
4316 * @param p_notice_period Length of notice period
4317 * @param p_notice_period_uom Units for notice period. Valid values are defined
4318 * in the QUALIFYING_UNITS lookup type.
4319 * @param p_employee_category Employee Category. Valid values are defined in
4320 * the EMPLOYEE_CATG lookup type.
4321 * @param p_work_at_home Indicate whether this assignment is to work at home.
4322 * Valid values are defined in the YES_NO lookup type.
4323 * @param p_job_post_source_name Name of the source of the job posting that was
4324 * answered for this assignment.
4325 * @param p_supervisor_assignment_id Supervisor's assignment that is
4326 * responsible for supervising this assignment.
4327 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
4328 * identifies an existing CAGR Key Flexfield combination to associate with the
4329 * assignment, and segment values are ignored. If a value is not passed in,
4330 * then the individual CAGR Key Flexfield segments supplied will be used to
4331 * choose an existing combination or create a new combination. When the API
4332 * completes, if p_validate is false, then this uniquely identifies the
4333 * associated combination of the CAGR Key flexfield for this assignment. If
4334 * p_validate is true, then set to null.
4335 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
4336 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
4337 * Flexfield concatenated segments, if p_validate is true, set to null.
4338 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
4339 * it identifies an existing Soft Coded Key Flexfield combination to associate
4340 * with the assignment, and segment values are ignored. If a value is not
4341 * passed in, then the individual Soft Coded Key Flexfield segments supplied
4342 * will be used to choose an existing combination or create a new combination.
4343 * When the API completes, if p_validate is false, then this uniquely
4344 * identifies the associated combination of the Soft Coded Key flexfield for
4345 * this assignment. If p_validate is true, then set to null.
4346 * @param p_comment_id If p_validate is false and comment text was provided,
4347 * then will be set to the identifier of the created assignment comment record.
4348 * If p_validate is true or no comment text was provided, then will be null.
4349 * @param p_effective_start_date If p_validate is false, then set to the
4350 * earliest effective start date for the created assignment. If p_validate is
4351 * true, then set to null.
4352 * @param p_effective_end_date If p_validate is false, then set to the
4353 * effective end date for the created assignment. If p_validate is true, then
4354 * set to null.
4355 * @param p_no_managers_warning Set to true if as a result of the update there
4356 * is no manager in the organization. Otherwise set to false.
4357 * @param p_other_manager_warning If set to true, then a manager existed in the
4358 * organization prior to calling this API and the manager flag has been set to
4359 * 'Y' for yes.
4360 * @param p_hourly_salaried_warning Set to true if values entered for Salary
4361 * Basis and Hourly Salaried Code are invalid date as of p_effective_date.
4362 * @param p_gsp_post_process_warning Set to the name of a warning message from
4363 * the Message Dictionary if any Grade Ladder related errors have been
4364 * encountered while running this API.
4365 * @rep:displayname Update Employee Assignment
4366 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
4367 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
4368 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
4369 * @rep:scope public
4370 * @rep:lifecycle active
4371 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
4372 */
4373 --
4374 -- {End Of Comments}
4375 --
4376 procedure update_emp_asg
4377 (p_validate in boolean default false
4378 ,p_effective_date in date
4379 ,p_datetrack_update_mode in varchar2
4380 ,p_assignment_id in number
4381 ,p_object_version_number in out nocopy number
4382 ,p_supervisor_id in number default hr_api.g_number
4383 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4384 ,p_change_reason in varchar2 default hr_api.g_varchar2
4385 ,p_assignment_status_type_id in number default hr_api.g_number
4386 ,p_comments in varchar2 default hr_api.g_varchar2
4387 ,p_date_probation_end in date default hr_api.g_date
4388 ,p_default_code_comb_id in number default hr_api.g_number
4389 ,p_frequency in varchar2 default hr_api.g_varchar2
4390 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4391 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4392 ,p_normal_hours in number default hr_api.g_number
4393 ,p_perf_review_period in number default hr_api.g_number
4394 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4395 ,p_probation_period in number default hr_api.g_number
4396 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4397 ,p_projected_assignment_end in varchar2 default hr_api.g_date
4398 ,p_sal_review_period in number default hr_api.g_number
4399 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4400 ,p_set_of_books_id in number default hr_api.g_number
4401 ,p_source_type in varchar2 default hr_api.g_varchar2
4402 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4403 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4404 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4405 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4406 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4407 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4408 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4409 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4410 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4411 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4412 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4413 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4414 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4415 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4416 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4417 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4418 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4419 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4420 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4421 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4422 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4423 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4424 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4425 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4426 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4427 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4428 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
4429 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
4430 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
4431 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
4432 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
4433 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
4434 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
4435 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
4436 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
4437 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
4438 ,p_title in varchar2 default hr_api.g_varchar2
4439 ,p_segment1 in varchar2 default hr_api.g_varchar2
4440 ,p_segment2 in varchar2 default hr_api.g_varchar2
4441 ,p_segment3 in varchar2 default hr_api.g_varchar2
4442 ,p_segment4 in varchar2 default hr_api.g_varchar2
4443 ,p_segment5 in varchar2 default hr_api.g_varchar2
4444 ,p_segment6 in varchar2 default hr_api.g_varchar2
4445 ,p_segment7 in varchar2 default hr_api.g_varchar2
4446 ,p_segment8 in varchar2 default hr_api.g_varchar2
4447 ,p_segment9 in varchar2 default hr_api.g_varchar2
4448 ,p_segment10 in varchar2 default hr_api.g_varchar2
4449 ,p_segment11 in varchar2 default hr_api.g_varchar2
4450 ,p_segment12 in varchar2 default hr_api.g_varchar2
4451 ,p_segment13 in varchar2 default hr_api.g_varchar2
4452 ,p_segment14 in varchar2 default hr_api.g_varchar2
4453 ,p_segment15 in varchar2 default hr_api.g_varchar2
4454 ,p_segment16 in varchar2 default hr_api.g_varchar2
4455 ,p_segment17 in varchar2 default hr_api.g_varchar2
4456 ,p_segment18 in varchar2 default hr_api.g_varchar2
4457 ,p_segment19 in varchar2 default hr_api.g_varchar2
4458 ,p_segment20 in varchar2 default hr_api.g_varchar2
4459 ,p_segment21 in varchar2 default hr_api.g_varchar2
4460 ,p_segment22 in varchar2 default hr_api.g_varchar2
4461 ,p_segment23 in varchar2 default hr_api.g_varchar2
4462 ,p_segment24 in varchar2 default hr_api.g_varchar2
4463 ,p_segment25 in varchar2 default hr_api.g_varchar2
4464 ,p_segment26 in varchar2 default hr_api.g_varchar2
4465 ,p_segment27 in varchar2 default hr_api.g_varchar2
4466 ,p_segment28 in varchar2 default hr_api.g_varchar2
4467 ,p_segment29 in varchar2 default hr_api.g_varchar2
4468 ,p_segment30 in varchar2 default hr_api.g_varchar2
4469 -- Bug fix for 944911
4470 -- Added new param p_concat_segments as in param
4471 ,p_concat_segments in varchar2 default hr_api.g_varchar2
4472 ,p_contract_id in number default hr_api.g_number
4473 ,p_establishment_id in number default hr_api.g_number
4474 ,p_collective_agreement_id in number default hr_api.g_number
4475 ,p_cagr_id_flex_num in number default hr_api.g_number
4476 ,p_cag_segment1 in varchar2 default hr_api.g_varchar2
4477 ,p_cag_segment2 in varchar2 default hr_api.g_varchar2
4478 ,p_cag_segment3 in varchar2 default hr_api.g_varchar2
4479 ,p_cag_segment4 in varchar2 default hr_api.g_varchar2
4480 ,p_cag_segment5 in varchar2 default hr_api.g_varchar2
4481 ,p_cag_segment6 in varchar2 default hr_api.g_varchar2
4482 ,p_cag_segment7 in varchar2 default hr_api.g_varchar2
4483 ,p_cag_segment8 in varchar2 default hr_api.g_varchar2
4484 ,p_cag_segment9 in varchar2 default hr_api.g_varchar2
4485 ,p_cag_segment10 in varchar2 default hr_api.g_varchar2
4486 ,p_cag_segment11 in varchar2 default hr_api.g_varchar2
4487 ,p_cag_segment12 in varchar2 default hr_api.g_varchar2
4488 ,p_cag_segment13 in varchar2 default hr_api.g_varchar2
4489 ,p_cag_segment14 in varchar2 default hr_api.g_varchar2
4490 ,p_cag_segment15 in varchar2 default hr_api.g_varchar2
4491 ,p_cag_segment16 in varchar2 default hr_api.g_varchar2
4492 ,p_cag_segment17 in varchar2 default hr_api.g_varchar2
4493 ,p_cag_segment18 in varchar2 default hr_api.g_varchar2
4494 ,p_cag_segment19 in varchar2 default hr_api.g_varchar2
4495 ,p_cag_segment20 in varchar2 default hr_api.g_varchar2
4496 ,p_notice_period in number default hr_api.g_number
4497 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
4498 ,p_employee_category in varchar2 default hr_api.g_varchar2
4499 ,p_work_at_home in varchar2 default hr_api.g_varchar2
4500 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
4501 ,p_supervisor_assignment_id in number default hr_api.g_number
4502 ,p_cagr_grade_def_id in out nocopy number -- bug 2359997
4503 -- Bug fix for 944911
4504 -- p_concatenated_segments has been changed from in out to out
4505 ,p_cagr_concatenated_segments out nocopy varchar2
4506 ,p_concatenated_segments out nocopy varchar2
4507 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2359997
4508 ,p_comment_id out nocopy number
4509 ,p_effective_start_date out nocopy date
4510 ,p_effective_end_date out nocopy date
4511 ,p_no_managers_warning out nocopy boolean
4512 ,p_other_manager_warning out nocopy boolean
4513 ,p_hourly_salaried_warning out nocopy boolean
4514 ,p_gsp_post_process_warning out nocopy varchar2
4515 );
4516 --
4517 -- ----------------------------------------------------------------------------
4518 -- |----------------------------< update_gb_emp_asg >-------------------------|
4519 -- ----------------------------------------------------------------------------
4520 --
4521 -- This version of the API is now out-of-date however it has been provided to
4522 -- you for backward compatibility support and will be removed in the future.
4523 -- Oracle recommends you to modify existing calling programs in advance of the
4524 -- support being withdrawn thus avoiding any potential disruption.
4525 --
4526 procedure update_gb_emp_asg
4527 (p_validate in boolean default false
4528 ,p_effective_date in date
4529 ,p_datetrack_update_mode in varchar2
4530 ,p_assignment_id in number
4531 ,p_object_version_number in out nocopy number
4532 ,p_supervisor_id in number default hr_api.g_number
4533 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4534 ,p_change_reason in varchar2 default hr_api.g_varchar2
4535 ,p_comments in varchar2 default hr_api.g_varchar2
4536 ,p_date_probation_end in date default hr_api.g_date
4537 ,p_default_code_comb_id in number default hr_api.g_number
4538 ,p_frequency in varchar2 default hr_api.g_varchar2
4539 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4540 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4541 ,p_normal_hours in number default hr_api.g_number
4542 ,p_perf_review_period in number default hr_api.g_number
4543 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4544 ,p_probation_period in number default hr_api.g_number
4545 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4546 ,p_sal_review_period in number default hr_api.g_number
4547 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4548 ,p_set_of_books_id in number default hr_api.g_number
4549 ,p_source_type in varchar2 default hr_api.g_varchar2
4550 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4551 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4552 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4553 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4554 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4555 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4556 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4557 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4558 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4559 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4560 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4561 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4562 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4563 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4564 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4565 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4566 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4567 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4568 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4569 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4570 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4571 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4572 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4573 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4574 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4575 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4576 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
4577 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
4578 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
4579 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
4580 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
4581 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
4582 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
4583 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
4584 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
4585 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
4586 ,p_title in varchar2 default hr_api.g_varchar2
4587 ,p_supervisor_assignment_id in number default hr_api.g_number
4588 ,p_comment_id out nocopy number
4589 ,p_effective_start_date out nocopy date
4590 ,p_effective_end_date out nocopy date
4591 ,p_no_managers_warning out nocopy boolean
4592 ,p_other_manager_warning out nocopy boolean
4593 );
4594
4595 --
4596 -- ----------------------------------------------------------------------------
4597 -- |----------------------------< update_gb_emp_asg >-------------------------|
4598 -- ----------------------------------------------------------------------------
4599 --
4600 -- This version of the API is now out-of-date however it has been provided to
4601 -- you for backward compatibility support and will be removed in the future.
4602 -- Oracle recommends you to modify existing calling programs in advance of the
4603 -- support being withdrawn thus avoiding any potential disruption.
4604 --
4605 procedure update_gb_emp_asg
4606 (p_validate in boolean default false
4607 ,p_effective_date in date
4608 ,p_datetrack_update_mode in varchar2
4609 ,p_assignment_id in number
4610 ,p_object_version_number in out nocopy number
4611 ,p_supervisor_id in number default hr_api.g_number
4612 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4613 ,p_change_reason in varchar2 default hr_api.g_varchar2
4614 ,p_comments in varchar2 default hr_api.g_varchar2
4615 ,p_date_probation_end in date default hr_api.g_date
4616 ,p_default_code_comb_id in number default hr_api.g_number
4617 ,p_frequency in varchar2 default hr_api.g_varchar2
4618 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4619 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4620 ,p_normal_hours in number default hr_api.g_number
4621 ,p_perf_review_period in number default hr_api.g_number
4622 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4623 ,p_probation_period in number default hr_api.g_number
4624 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4625 ,p_sal_review_period in number default hr_api.g_number
4626 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4627 ,p_set_of_books_id in number default hr_api.g_number
4628 ,p_source_type in varchar2 default hr_api.g_varchar2
4629 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4630 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4631 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4632 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4633 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4634 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4635 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4636 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4637 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4638 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4639 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4640 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4641 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4642 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4643 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4644 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4645 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4646 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4647 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4648 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4649 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4650 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4651 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4652 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4653 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4654 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4655 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
4656 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
4657 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
4658 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
4659 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
4660 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
4661 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
4662 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
4663 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
4664 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
4665 ,p_title in varchar2 default hr_api.g_varchar2
4666 ,p_contract_id in number default hr_api.g_number
4667 ,p_establishment_id in number default hr_api.g_number
4668 ,p_collective_agreement_id in number default hr_api.g_number
4669 ,p_cagr_id_flex_num in number default hr_api.g_number
4670 ,p_notice_period in number default hr_api.g_number
4671 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
4672 ,p_employee_category in varchar2 default hr_api.g_varchar2
4673 ,p_work_at_home in varchar2 default hr_api.g_varchar2
4674 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
4675 ,p_supervisor_assignment_id in number default hr_api.g_number
4676 ,p_cagr_grade_def_id out nocopy number
4677 ,p_cagr_concatenated_segments out nocopy varchar2
4678 ,p_concatenated_segments out nocopy varchar2
4679 ,p_soft_coding_keyflex_id out nocopy number
4680 ,p_comment_id out nocopy number
4681 ,p_effective_start_date out nocopy date
4682 ,p_effective_end_date out nocopy date
4683 ,p_no_managers_warning out nocopy boolean
4684 ,p_other_manager_warning out nocopy boolean
4685 );
4686
4687 --
4688 -- ----------------------------------------------------------------------------
4689 -- |----------------------------< update_gb_emp_asg >-------------------------|
4690 -- ----------------------------------------------------------------------------
4691 --
4692 -- {Start Of Comments}
4693 /*#
4694 * This API updates information for an existing employee assignment with a GB
4695 * legislation.
4696 *
4697 *
4698 * <p><b>Licensing</b><br>
4699 * This API is licensed for use with Human Resources.
4700 *
4701 * <p><b>Prerequisites</b><br>
4702 * The assignment must exist as of the effective date, and must be an employee
4703 * assignment.
4704 *
4705 * <p><b>Post Success</b><br>
4706 * The API updates the assignment.
4707 *
4708 * <p><b>Post Failure</b><br>
4709 * The API does not update the assignment and raises an error.
4710 * @param p_validate If true, then validation alone will be performed and the
4711 * database will remain unchanged. If false and all validation checks pass,
4712 * then the database will be modified.
4713 * @param p_effective_date Determines when the DateTrack operation comes into
4714 * force.
4715 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
4716 * updating the record. You must set to either UPDATE, CORRECTION,
4717 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
4718 * particular record depend on the dates of previous record changes and the
4719 * effective date of this change.
4720 * @param p_assignment_id Identifies the assignment record to be modified.
4721 * @param p_object_version_number Pass in the current version number of the
4722 * assignment to be updated. When the API completes if p_validate is false,
4723 * will be set to the new version number of the updated assignment. If
4724 * p_validate is true will be set to the same value which was passed in.
4725 * @param p_supervisor_id Supervisor for the assignment. The value refers to
4726 * the supervisor's person record.
4727 * @param p_assignment_number Assignment number
4728 * @param p_change_reason Reason for the assignment status change. If there is
4729 * no change reason the parameter can be null. Valid values are defined in the
4730 * EMP_ASSIGN_REASON lookup type.
4731 * @param p_comments Comment text.
4732 * @param p_date_probation_end End date of probation period
4733 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
4734 * Flexfield combination which applies to this assignment
4735 * @param p_frequency Frequency associated with the defined normal working
4736 * hours. Valid values are defined in the FREQUENCY lookup type.
4737 * @param p_internal_address_line Internal address identified with this
4738 * assignment.
4739 * @param p_manager_flag Indicates whether the employee is a manager
4740 * @param p_normal_hours Normal working hours for this assignment
4741 * @param p_perf_review_period Length of performance review period
4742 * @param p_perf_review_period_frequency Units of performance review period.
4743 * Valid values are defined in the FREQUENCY lookup type.
4744 * @param p_probation_period Length of probation period
4745 * @param p_probation_unit Units of probation period. Valid values are defined
4746 * in the QUALIFYING_UNITS lookup type.
4747 * @param p_sal_review_period Length of salary review period
4748 * @param p_sal_review_period_frequency Units of salary review period. Valid
4749 * values are defined in the FREQUENCY lookup type.
4750 * @param p_set_of_books_id Identifies General Ledger set of books.
4751 * @param p_source_type Recruitment activity which this assignment is sourced
4752 * from. Valid values are defined in the REC_TYPE lookup type.
4753 * @param p_time_normal_finish Normal work finish time
4754 * @param p_time_normal_start Normal work start time
4755 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
4756 * defined in the BARGAINING_UNIT_CODE lookup type.
4757 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
4758 * union member. Other values indicate not a member.
4759 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
4760 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
4761 * @param p_ass_attribute_category This context value determines which
4762 * Flexfield Structure to use with the Descriptive flexfield segments.
4763 * @param p_ass_attribute1 Descriptive flexfield segment
4764 * @param p_ass_attribute2 Descriptive flexfield segment
4765 * @param p_ass_attribute3 Descriptive flexfield segment
4766 * @param p_ass_attribute4 Descriptive flexfield segment
4767 * @param p_ass_attribute5 Descriptive flexfield segment
4768 * @param p_ass_attribute6 Descriptive flexfield segment
4769 * @param p_ass_attribute7 Descriptive flexfield segment
4770 * @param p_ass_attribute8 Descriptive flexfield segment
4771 * @param p_ass_attribute9 Descriptive flexfield segment
4772 * @param p_ass_attribute10 Descriptive flexfield segment
4773 * @param p_ass_attribute11 Descriptive flexfield segment
4774 * @param p_ass_attribute12 Descriptive flexfield segment
4775 * @param p_ass_attribute13 Descriptive flexfield segment
4776 * @param p_ass_attribute14 Descriptive flexfield segment
4777 * @param p_ass_attribute15 Descriptive flexfield segment
4778 * @param p_ass_attribute16 Descriptive flexfield segment
4779 * @param p_ass_attribute17 Descriptive flexfield segment
4780 * @param p_ass_attribute18 Descriptive flexfield segment
4781 * @param p_ass_attribute19 Descriptive flexfield segment
4782 * @param p_ass_attribute20 Descriptive flexfield segment
4783 * @param p_ass_attribute21 Descriptive flexfield segment
4784 * @param p_ass_attribute22 Descriptive flexfield segment
4785 * @param p_ass_attribute23 Descriptive flexfield segment
4786 * @param p_ass_attribute24 Descriptive flexfield segment
4787 * @param p_ass_attribute25 Descriptive flexfield segment
4788 * @param p_ass_attribute26 Descriptive flexfield segment
4789 * @param p_ass_attribute27 Descriptive flexfield segment
4790 * @param p_ass_attribute28 Descriptive flexfield segment
4791 * @param p_ass_attribute29 Descriptive flexfield segment
4792 * @param p_ass_attribute30 Descriptive flexfield segment
4793 * @param p_title Obsolete parameter, do not use.
4794 * @param p_contract_id Contract associated with this assignment
4795 * @param p_establishment_id For French business groups, this identifies the
4796 * Establishment Legal Entity for this assignment.
4797 * @param p_collective_agreement_id Collective Agreement which applies to this
4798 * assignment
4799 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
4800 * flexfield to use for this assignment
4801 * @param p_notice_period Length of notice period
4802 * @param p_notice_period_uom Units for notice period. Valid values are defined
4803 * in the QUALIFYING_UNITS lookup type.
4804 * @param p_employee_category Employee Category. Valid values are defined in
4805 * the EMPLOYEE_CATG lookup type.
4806 * @param p_work_at_home Indicate whether this assignment is to work at home.
4807 * Valid values are defined in the YES_NO lookup type.
4808 * @param p_job_post_source_name Name of the source of the job posting that was
4809 * answered for this assignment.
4810 * @param p_supervisor_assignment_id Supervisor's assignment that is
4811 * responsible for supervising this assignment.
4812 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
4813 * identifies an existing CAGR Key Flexfield combination to associate with the
4814 * assignment, and segment values are ignored. If a value is not passed in,
4815 * then the individual CAGR Key Flexfield segments supplied will be used to
4816 * choose an existing combination or create a new combination. When the API
4817 * completes, if p_validate is false, then this uniquely identifies the
4818 * associated combination of the CAGR Key flexfield for this assignment. If
4819 * p_validate is true, then set to null.
4820 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
4821 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
4822 * Flexfield concatenated segments, if p_validate is true, set to null.
4823 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
4824 * it identifies an existing Soft Coded Key Flexfield combination to associate
4825 * with the assignment, and segment values are ignored. If a value is not
4826 * passed in, then the individual Soft Coded Key Flexfield segments supplied
4827 * will be used to choose an existing combination or create a new combination.
4828 * When the API completes, if p_validate is false, then this uniquely
4829 * identifies the associated combination of the Soft Coded Key flexfield for
4830 * this assignment. If p_validate is true, then set to null.
4831 * @param p_comment_id If p_validate is false and comment text was provided,
4832 * then will be set to the identifier of the created assignment comment record.
4833 * If p_validate is true or no comment text was provided, then will be null.
4834 * @param p_effective_start_date If p_validate is false, then set to the
4835 * earliest effective start date for the created assignment. If p_validate is
4836 * true, then set to null.
4837 * @param p_effective_end_date If p_validate is false, then set to the
4838 * effective end date for the created assignment. If p_validate is true, then
4839 * set to null.
4840 * @param p_no_managers_warning Set to true if as a result of the update there
4841 * is no manager in the organization. Otherwise set to false.
4842 * @param p_other_manager_warning If set to true, then a manager existed in the
4843 * organization prior to calling this API and the manager flag has been set to
4844 * 'Y' for yes.
4845 * @param p_hourly_salaried_warning Set to true if values entered for Salary
4846 * Basis and Hourly Salaried Code are invalid date as of p_effective_date.
4847 * @rep:displayname Update Employee Assignment for United Kingdom
4848 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
4849 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
4850 * @rep:scope public
4851 * @rep:lifecycle active
4852 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
4853 */
4854 --
4855 -- {End Of Comments}
4856 --
4857 procedure update_gb_emp_asg
4858 (p_validate in boolean default false
4859 ,p_effective_date in date
4860 ,p_datetrack_update_mode in varchar2
4861 ,p_assignment_id in number
4862 ,p_object_version_number in out nocopy number
4863 ,p_supervisor_id in number default hr_api.g_number
4864 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4865 ,p_change_reason in varchar2 default hr_api.g_varchar2
4866 ,p_comments in varchar2 default hr_api.g_varchar2
4867 ,p_date_probation_end in date default hr_api.g_date
4868 ,p_default_code_comb_id in number default hr_api.g_number
4869 ,p_frequency in varchar2 default hr_api.g_varchar2
4870 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4871 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4872 ,p_normal_hours in number default hr_api.g_number
4873 ,p_perf_review_period in number default hr_api.g_number
4874 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4875 ,p_probation_period in number default hr_api.g_number
4876 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4877 ,p_sal_review_period in number default hr_api.g_number
4878 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4879 ,p_set_of_books_id in number default hr_api.g_number
4880 ,p_source_type in varchar2 default hr_api.g_varchar2
4881 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4882 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4883 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4884 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4885 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4886 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4887 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4888 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4889 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4890 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4891 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4892 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4893 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4894 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4895 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4896 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4897 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4898 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4899 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4900 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4901 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4902 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4903 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4904 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4905 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4906 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4907 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
4908 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
4909 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
4910 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
4911 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
4912 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
4913 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
4914 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
4915 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
4916 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
4917 ,p_title in varchar2 default hr_api.g_varchar2
4918 ,p_contract_id in number default hr_api.g_number
4919 ,p_establishment_id in number default hr_api.g_number
4920 ,p_collective_agreement_id in number default hr_api.g_number
4921 ,p_cagr_id_flex_num in number default hr_api.g_number
4922 ,p_notice_period in number default hr_api.g_number
4923 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
4924 ,p_employee_category in varchar2 default hr_api.g_varchar2
4925 ,p_work_at_home in varchar2 default hr_api.g_varchar2
4926 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
4927 ,p_supervisor_assignment_id in number default hr_api.g_number
4928 ,p_cagr_grade_def_id out nocopy number
4929 ,p_cagr_concatenated_segments out nocopy varchar2
4930 ,p_concatenated_segments out nocopy varchar2
4931 ,p_soft_coding_keyflex_id out nocopy number
4932 ,p_comment_id out nocopy number
4933 ,p_effective_start_date out nocopy date
4934 ,p_effective_end_date out nocopy date
4935 ,p_no_managers_warning out nocopy boolean
4936 ,p_other_manager_warning out nocopy boolean
4937 ,p_hourly_salaried_warning out nocopy boolean
4938 );
4939 --
4940 -- ----------------------------------------------------------------------------
4941 -- |----------------------------< update_us_emp_asg >-------------------------|
4942 -- ----------------------------------------------------------------------------
4943 --
4944 -- This version of the API is now out-of-date however it has been provided to
4945 -- you for backward compatibility support and will be removed in the future.
4946 -- Oracle recommends you to modify existing calling programs in advance of the
4947 -- support being withdrawn thus avoiding any potential disruption.
4948 --
4949 procedure update_us_emp_asg
4950 (p_validate in boolean default false
4951 ,p_effective_date in date
4952 ,p_datetrack_update_mode in varchar2
4953 ,p_assignment_id in number
4954 ,p_object_version_number in out nocopy number
4955 ,p_supervisor_id in number default hr_api.g_number
4956 ,p_assignment_number in varchar2 default hr_api.g_varchar2
4957 ,p_change_reason in varchar2 default hr_api.g_varchar2
4958 ,p_comments in varchar2 default hr_api.g_varchar2
4959 ,p_date_probation_end in date default hr_api.g_date
4960 ,p_default_code_comb_id in number default hr_api.g_number
4961 ,p_frequency in varchar2 default hr_api.g_varchar2
4962 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
4963 ,p_manager_flag in varchar2 default hr_api.g_varchar2
4964 ,p_normal_hours in number default hr_api.g_number
4965 ,p_perf_review_period in number default hr_api.g_number
4966 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
4967 ,p_probation_period in number default hr_api.g_number
4968 ,p_probation_unit in varchar2 default hr_api.g_varchar2
4969 ,p_sal_review_period in number default hr_api.g_number
4970 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
4971 ,p_set_of_books_id in number default hr_api.g_number
4972 ,p_source_type in varchar2 default hr_api.g_varchar2
4973 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
4974 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
4975 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
4976 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
4977 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
4978 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
4979 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
4980 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
4981 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
4982 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
4983 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
4984 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
4985 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
4986 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
4987 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
4988 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
4989 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
4990 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
4991 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
4992 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
4993 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
4994 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
4995 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
4996 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
4997 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
4998 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
4999 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
5000 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
5001 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
5002 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
5003 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
5004 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
5005 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
5006 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
5007 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
5008 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
5009 ,p_title in varchar2 default hr_api.g_varchar2
5010 ,p_tax_unit in varchar2 default hr_api.g_varchar2
5011 ,p_timecard_approver in varchar2 default hr_api.g_varchar2
5012 ,p_timecard_required in varchar2 default hr_api.g_varchar2
5013 ,p_work_schedule in varchar2 default hr_api.g_varchar2
5014 ,p_shift in varchar2 default hr_api.g_varchar2
5015 ,p_spouse_salary in varchar2 default hr_api.g_varchar2
5016 ,p_legal_representative in varchar2 default hr_api.g_varchar2
5017 ,p_wc_override_code in varchar2 default hr_api.g_varchar2
5018 ,p_eeo_1_establishment in varchar2 default hr_api.g_varchar2
5019 ,p_supervisor_assignment_id in number default hr_api.g_number
5020 ,p_comment_id out nocopy number
5021 ,p_soft_coding_keyflex_id out nocopy number
5022 ,p_effective_start_date out nocopy date
5023 ,p_effective_end_date out nocopy date
5024 -- Bug 944911
5025 -- Amended p_concatenated_segments to be out
5026 -- Added p_concat_segments - in param
5027 ,p_concatenated_segments out nocopy varchar2
5028 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5029 ,p_no_managers_warning out nocopy boolean
5030 ,p_other_manager_warning out nocopy boolean
5031 );
5032
5033 --
5034 -- ----------------------------------------------------------------------------
5035 -- |----------------------------< update_us_emp_asg >-------------------------|
5036 -- ----------------------------------------------------------------------------
5037 --
5038 -- This version of the API is now out-of-date however it has been provided to
5039 -- you for backward compatibility support and will be removed in the future.
5040 -- Oracle recommends you to modify existing calling programs in advance of the
5041 -- support being withdrawn thus avoiding any potential disruption.
5042 --
5043 procedure update_us_emp_asg
5044 (p_validate in boolean default false
5045 ,p_effective_date in date
5046 ,p_datetrack_update_mode in varchar2
5047 ,p_assignment_id in number
5048 ,p_object_version_number in out nocopy number
5049 ,p_supervisor_id in number default hr_api.g_number
5050 ,p_assignment_number in varchar2 default hr_api.g_varchar2
5051 ,p_change_reason in varchar2 default hr_api.g_varchar2
5052 ,p_comments in varchar2 default hr_api.g_varchar2
5053 ,p_date_probation_end in date default hr_api.g_date
5054 ,p_default_code_comb_id in number default hr_api.g_number
5055 ,p_frequency in varchar2 default hr_api.g_varchar2
5056 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
5057 ,p_manager_flag in varchar2 default hr_api.g_varchar2
5058 ,p_normal_hours in number default hr_api.g_number
5059 ,p_perf_review_period in number default hr_api.g_number
5060 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
5061 ,p_probation_period in number default hr_api.g_number
5062 ,p_probation_unit in varchar2 default hr_api.g_varchar2
5063 ,p_sal_review_period in number default hr_api.g_number
5064 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
5065 ,p_set_of_books_id in number default hr_api.g_number
5066 ,p_source_type in varchar2 default hr_api.g_varchar2
5067 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
5068 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
5069 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
5070 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
5071 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
5072 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
5073 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
5074 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
5075 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
5076 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
5077 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
5078 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
5079 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
5080 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
5081 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
5082 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
5083 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
5084 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
5085 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
5086 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
5087 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
5088 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
5089 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
5090 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
5091 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
5092 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
5093 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
5094 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
5095 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
5096 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
5097 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
5098 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
5099 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
5100 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
5101 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
5102 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
5103 ,p_title in varchar2 default hr_api.g_varchar2
5104 ,p_tax_unit in varchar2 default hr_api.g_varchar2
5105 ,p_timecard_approver in varchar2 default hr_api.g_varchar2
5106 ,p_timecard_required in varchar2 default hr_api.g_varchar2
5107 ,p_work_schedule in varchar2 default hr_api.g_varchar2
5108 ,p_shift in varchar2 default hr_api.g_varchar2
5109 ,p_spouse_salary in varchar2 default hr_api.g_varchar2
5110 ,p_legal_representative in varchar2 default hr_api.g_varchar2
5111 ,p_wc_override_code in varchar2 default hr_api.g_varchar2
5112 ,p_eeo_1_establishment in varchar2 default hr_api.g_varchar2
5113 ,p_contract_id in number default hr_api.g_number
5114 ,p_establishment_id in number default hr_api.g_number
5115 ,p_collective_agreement_id in number default hr_api.g_number
5116 ,p_cagr_id_flex_num in number default hr_api.g_number
5117 ,p_notice_period in number default hr_api.g_number
5118 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
5119 ,p_employee_category in varchar2 default hr_api.g_varchar2
5120 ,p_work_at_home in varchar2 default hr_api.g_varchar2
5121 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
5122 ,p_supervisor_assignment_id in number default hr_api.g_number
5123 ,p_cagr_grade_def_id out nocopy number
5124 ,p_cagr_concatenated_segments out nocopy varchar2
5125 ,p_comment_id out nocopy number
5126 ,p_soft_coding_keyflex_id out nocopy number
5127 ,p_effective_start_date out nocopy date
5128 ,p_effective_end_date out nocopy date
5129 -- Bug 944911
5130 -- Amended p_concatenated_segments to be out
5131 -- Added p_concat_segments - in param
5132 ,p_concatenated_segments out nocopy varchar2
5133 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5134 ,p_no_managers_warning out nocopy boolean
5135 ,p_other_manager_warning out nocopy boolean
5136 );
5137
5138 --
5139 -- ----------------------------------------------------------------------------
5140 -- |----------------------------< update_us_emp_asg >-------------------------|
5141 -- ----------------------------------------------------------------------------
5142 --
5143 -- This version of the API is now out-of-date however it has been provided to
5144 -- you for backward compatibility support and will be removed in the future.
5145 -- Oracle recommends you to modify existing calling programs in advance of the
5146 -- support being withdrawn thus avoiding any potential disruption.
5147 --
5148 procedure update_us_emp_asg
5149 (p_validate in boolean default false
5150 ,p_effective_date in date
5151 ,p_datetrack_update_mode in varchar2
5152 ,p_assignment_id in number
5153 ,p_object_version_number in out nocopy number
5154 ,p_supervisor_id in number default hr_api.g_number
5155 ,p_assignment_number in varchar2 default hr_api.g_varchar2
5156 ,p_change_reason in varchar2 default hr_api.g_varchar2
5157 ,p_comments in varchar2 default hr_api.g_varchar2
5158 ,p_date_probation_end in date default hr_api.g_date
5159 ,p_default_code_comb_id in number default hr_api.g_number
5160 ,p_frequency in varchar2 default hr_api.g_varchar2
5161 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
5162 ,p_manager_flag in varchar2 default hr_api.g_varchar2
5163 ,p_normal_hours in number default hr_api.g_number
5164 ,p_perf_review_period in number default hr_api.g_number
5165 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
5166 ,p_probation_period in number default hr_api.g_number
5167 ,p_probation_unit in varchar2 default hr_api.g_varchar2
5168 ,p_sal_review_period in number default hr_api.g_number
5169 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
5170 ,p_set_of_books_id in number default hr_api.g_number
5171 ,p_source_type in varchar2 default hr_api.g_varchar2
5172 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
5173 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
5174 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
5175 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
5176 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
5177 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
5178 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
5179 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
5180 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
5181 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
5182 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
5183 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
5184 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
5185 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
5186 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
5187 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
5188 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
5189 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
5190 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
5191 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
5192 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
5193 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
5194 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
5195 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
5196 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
5197 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
5198 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
5199 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
5200 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
5201 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
5202 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
5203 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
5204 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
5205 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
5206 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
5207 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
5208 ,p_title in varchar2 default hr_api.g_varchar2
5209 ,p_tax_unit in varchar2 default hr_api.g_varchar2
5210 ,p_timecard_approver in varchar2 default hr_api.g_varchar2
5211 ,p_timecard_required in varchar2 default hr_api.g_varchar2
5212 ,p_work_schedule in varchar2 default hr_api.g_varchar2
5213 ,p_shift in varchar2 default hr_api.g_varchar2
5214 ,p_spouse_salary in varchar2 default hr_api.g_varchar2
5215 ,p_legal_representative in varchar2 default hr_api.g_varchar2
5216 ,p_wc_override_code in varchar2 default hr_api.g_varchar2
5217 ,p_eeo_1_establishment in varchar2 default hr_api.g_varchar2
5218 ,p_contract_id in number default hr_api.g_number
5219 ,p_establishment_id in number default hr_api.g_number
5220 ,p_collective_agreement_id in number default hr_api.g_number
5221 ,p_cagr_id_flex_num in number default hr_api.g_number
5222 ,p_notice_period in number default hr_api.g_number
5223 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
5224 ,p_employee_category in varchar2 default hr_api.g_varchar2
5225 ,p_work_at_home in varchar2 default hr_api.g_varchar2
5226 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
5227 ,p_supervisor_assignment_id in number default hr_api.g_number
5228 ,p_cagr_grade_def_id out nocopy number
5229 ,p_cagr_concatenated_segments out nocopy varchar2
5230 ,p_comment_id out nocopy number
5231 ,p_soft_coding_keyflex_id out nocopy number
5232 ,p_effective_start_date out nocopy date
5233 ,p_effective_end_date out nocopy date
5234 -- Bug 944911
5235 -- Amended p_concatenated_segments to be out
5236 -- Added p_concat_segments - in param
5237 ,p_concatenated_segments out nocopy varchar2
5238 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5239 ,p_no_managers_warning out nocopy boolean
5240 ,p_other_manager_warning out nocopy boolean
5241 ,p_hourly_salaried_warning out nocopy boolean
5242 );
5243
5244 --
5245 -- ----------------------------------------------------------------------------
5246 -- |----------------------------< update_us_emp_asg >-------------------------|
5247 -- ----------------------------------------------------------------------------
5248 --
5249 -- {Start Of Comments}
5250 /*#
5251 * This API updates employee assignment details that do not affect entitlement
5252 * to element entries, for employees in a United States legislation.
5253 *
5254 *
5255 * <p><b>Licensing</b><br>
5256 * This API is licensed for use with Human Resources.
5257 *
5258 * <p><b>Prerequisites</b><br>
5259 * The assignment must exist as of the effective date, and must be an employee
5260 * assignment.
5261 *
5262 * <p><b>Post Success</b><br>
5263 * The API updates the assignment.
5264 *
5265 * <p><b>Post Failure</b><br>
5266 * The API does not update the assignment and raises an error.
5267 * @param p_validate If true, then validation alone will be performed and the
5268 * database will remain unchanged. If false and all validation checks pass,
5269 * then the database will be modified.
5270 * @param p_effective_date Determines when the DateTrack operation comes into
5271 * force.
5272 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
5273 * updating the record. You must set to either UPDATE, CORRECTION,
5274 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
5275 * particular record depend on the dates of previous record changes and the
5276 * effective date of this change.
5277 * @param p_assignment_id Identifies the assignment record to be modified.
5278 * @param p_object_version_number Pass in the current version number of the
5279 * assignment to be updated. When the API completes if p_validate is false,
5280 * will be set to the new version number of the updated assignment. If
5281 * p_validate is true will be set to the same value which was passed in.
5282 * @param p_supervisor_id Supervisor for the assignment. The value refers to
5283 * the supervisor's person record.
5284 * @param p_assignment_number Assignment number
5285 * @param p_change_reason Reason for the assignment status change. If there is
5286 * no change reason the parameter can be null. Valid values are defined in the
5287 * EMP_ASSIGN_REASON lookup type.
5288 * @param p_comments Comment text.
5289 * @param p_date_probation_end End date of probation period
5290 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
5291 * Flexfield combination which applies to this assignment
5292 * @param p_frequency Frequency associated with the defined normal working
5293 * hours. Valid values are defined in the FREQUENCY lookup type.
5294 * @param p_internal_address_line Internal address identified with this
5295 * assignment.
5296 * @param p_manager_flag Indicates whether the employee is a manager
5297 * @param p_normal_hours Normal working hours for this assignment
5298 * @param p_perf_review_period Length of performance review period
5299 * @param p_perf_review_period_frequency Units of performance review period.
5300 * Valid values are defined in the FREQUENCY lookup type.
5301 * @param p_probation_period Length of probation period
5302 * @param p_probation_unit Units of probation period. Valid values are defined
5303 * in the QUALIFYING_UNITS lookup type.
5304 * @param p_sal_review_period Length of salary review period
5305 * @param p_sal_review_period_frequency Units of salary review period. Valid
5306 * values are defined in the FREQUENCY lookup type.
5307 * @param p_set_of_books_id Identifies General Ledger set of books.
5308 * @param p_source_type Recruitment activity which this assignment is sourced
5309 * from. Valid values are defined in the REC_TYPE lookup type.
5310 * @param p_time_normal_finish Normal work finish time
5311 * @param p_time_normal_start Normal work start time
5312 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
5313 * defined in the BARGAINING_UNIT_CODE lookup type.
5314 * @param p_labour_union_member_flag Value 'Y' indicates employee is a labour
5315 * union member. Other values indicate not a member.
5316 * @param p_hourly_salaried_code Identifies if the assignment is paid hourly or
5317 * is salaried. Valid values defined in the HOURLY_SALARIED_CODE lookup type.
5318 * @param p_ass_attribute_category This context value determines which
5319 * Flexfield Structure to use with the Descriptive flexfield segments.
5320 * @param p_ass_attribute1 Descriptive flexfield segment
5321 * @param p_ass_attribute2 Descriptive flexfield segment
5322 * @param p_ass_attribute3 Descriptive flexfield segment
5323 * @param p_ass_attribute4 Descriptive flexfield segment
5324 * @param p_ass_attribute5 Descriptive flexfield segment
5325 * @param p_ass_attribute6 Descriptive flexfield segment
5326 * @param p_ass_attribute7 Descriptive flexfield segment
5327 * @param p_ass_attribute8 Descriptive flexfield segment
5328 * @param p_ass_attribute9 Descriptive flexfield segment
5329 * @param p_ass_attribute10 Descriptive flexfield segment
5330 * @param p_ass_attribute11 Descriptive flexfield segment
5331 * @param p_ass_attribute12 Descriptive flexfield segment
5332 * @param p_ass_attribute13 Descriptive flexfield segment
5333 * @param p_ass_attribute14 Descriptive flexfield segment
5334 * @param p_ass_attribute15 Descriptive flexfield segment
5335 * @param p_ass_attribute16 Descriptive flexfield segment
5336 * @param p_ass_attribute17 Descriptive flexfield segment
5337 * @param p_ass_attribute18 Descriptive flexfield segment
5338 * @param p_ass_attribute19 Descriptive flexfield segment
5339 * @param p_ass_attribute20 Descriptive flexfield segment
5340 * @param p_ass_attribute21 Descriptive flexfield segment
5341 * @param p_ass_attribute22 Descriptive flexfield segment
5342 * @param p_ass_attribute23 Descriptive flexfield segment
5343 * @param p_ass_attribute24 Descriptive flexfield segment
5344 * @param p_ass_attribute25 Descriptive flexfield segment
5345 * @param p_ass_attribute26 Descriptive flexfield segment
5346 * @param p_ass_attribute27 Descriptive flexfield segment
5347 * @param p_ass_attribute28 Descriptive flexfield segment
5348 * @param p_ass_attribute29 Descriptive flexfield segment
5349 * @param p_ass_attribute30 Descriptive flexfield segment
5350 * @param p_title Obsolete parameter, do not use.
5351 * @param p_tax_unit Government Reporting Entity
5352 * @param p_timecard_approver Timecard Approver
5353 * @param p_timecard_required Indicates whether timecard is required
5354 * @param p_work_schedule Indicates the pattern of work for the assignment
5355 * @param p_shift Shift. Valid values are defined in US_SHIFTS lookup type.
5356 * @param p_spouse_salary Spouse's Salary
5357 * @param p_legal_representative Indicates if employee is a legal
5358 * representative
5359 * @param p_wc_override_code Workers Comp Override Code
5360 * @param p_eeo_1_establishment Reporting Establishment
5361 * @param p_contract_id Contract associated with this assignment
5362 * @param p_establishment_id For French business groups, this identifies the
5363 * Establishment Legal Entity for this assignment.
5364 * @param p_collective_agreement_id Collective Agreement that applies to this
5365 * assignment
5366 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
5367 * flexfield to use for this assignment
5368 * @param p_notice_period Length of notice period
5369 * @param p_notice_period_uom Units for notice period. Valid values are defined
5370 * in the QUALIFYING_UNITS lookup type.
5371 * @param p_employee_category Employee Category. Valid values are defined in
5372 * the EMPLOYEE_CATG lookup type.
5373 * @param p_work_at_home Indicate whether this assignment is to work at home.
5374 * Valid values are defined in the YES_NO lookup type.
5375 * @param p_job_post_source_name Name of the source of the job posting that was
5376 * answered for this assignment.
5377 * @param p_supervisor_assignment_id Supervisor's assignment that is
5378 * responsible for supervising this assignment.
5379 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
5380 * identifies an existing CAGR Key Flexfield combination to associate with the
5381 * assignment, and segment values are ignored. If a value is not passed in,
5382 * then the individual CAGR Key Flexfield segments supplied will be used to
5383 * choose an existing combination or create a new combination. When the API
5384 * completes, if p_validate is false, then this uniquely identifies the
5385 * associated combination of the CAGR Key flexfield for this assignment. If
5386 * p_validate is true, then set to null.
5387 * @param p_cagr_concatenated_segments CAGR Key Flexfield concatenated segments
5388 * @param p_comment_id If p_validate is false and comment text was provided,
5389 * then will be set to the identifier of the created assignment comment record.
5390 * If p_validate is true or no comment text was provided, then will be null.
5391 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
5392 * it identifies an existing Soft Coded Key Flexfield combination to associate
5393 * with the assignment, and segment values are ignored. If a value is not
5394 * passed in, then the individual Soft Coded Key Flexfield segments supplied
5395 * will be used to choose an existing combination or create a new combination.
5396 * When the API completes, if p_validate is false, then this uniquely
5397 * identifies the associated combination of the Soft Coded Key flexfield for
5398 * this assignment. If p_validate is true, then set to null.
5399 * @param p_effective_start_date If p_validate is false, then set to the
5400 * earliest effective start date for the created assignment. If p_validate is
5401 * true, then set to null.
5402 * @param p_effective_end_date If p_validate is false, then set to the
5403 * effective end date for the created assignment. If p_validate is true, then
5404 * set to null.
5405 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
5406 * Flexfield concatenated segments, if p_validate is true, set to null.
5407 * @param p_concat_segments Concatenated segments for Soft Coded Key Flexfield.
5408 * Concatenated segments can be supplied instead of individual segments.
5409 * @param p_no_managers_warning Set to true if as a result of the update there
5410 * is no manager in the organization. Otherwise set to false.
5411 * @param p_other_manager_warning If set to true, then a manager existed in the
5412 * organization prior to calling this API and the manager flag has been set to
5413 * 'Y' for yes.
5414 * @param p_hourly_salaried_warning Set to true if values entered for Salary
5415 * Basis and Hourly Salaried Code are invalid date as of p_effective_date.
5416 * @param p_gsp_post_process_warning Set to the name of a warning message from
5417 * the Message Dictionary if any Grade Ladder related errors have been
5418 * encountered while running this API.
5419 * @rep:displayname Update Employee Assignment for United States
5420 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
5421 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
5422 * @rep:scope public
5423 * @rep:lifecycle active
5424 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
5425 */
5426 --
5427 -- {End Of Comments}
5428 --
5429 procedure update_us_emp_asg
5430 (p_validate in boolean default false
5431 ,p_effective_date in date
5432 ,p_datetrack_update_mode in varchar2
5433 ,p_assignment_id in number
5434 ,p_object_version_number in out nocopy number
5435 ,p_supervisor_id in number default hr_api.g_number
5436 ,p_assignment_number in varchar2 default hr_api.g_varchar2
5437 ,p_change_reason in varchar2 default hr_api.g_varchar2
5438 ,p_comments in varchar2 default hr_api.g_varchar2
5439 ,p_date_probation_end in date default hr_api.g_date
5440 ,p_default_code_comb_id in number default hr_api.g_number
5441 ,p_frequency in varchar2 default hr_api.g_varchar2
5442 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
5443 ,p_manager_flag in varchar2 default hr_api.g_varchar2
5444 ,p_normal_hours in number default hr_api.g_number
5445 ,p_perf_review_period in number default hr_api.g_number
5446 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
5447 ,p_probation_period in number default hr_api.g_number
5448 ,p_probation_unit in varchar2 default hr_api.g_varchar2
5449 ,p_sal_review_period in number default hr_api.g_number
5450 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
5451 ,p_set_of_books_id in number default hr_api.g_number
5452 ,p_source_type in varchar2 default hr_api.g_varchar2
5453 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
5454 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
5455 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
5456 ,p_labour_union_member_flag in varchar2 default hr_api.g_varchar2
5457 ,p_hourly_salaried_code in varchar2 default hr_api.g_varchar2
5458 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
5459 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
5460 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
5461 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
5462 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
5463 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
5464 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
5465 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
5466 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
5467 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
5468 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
5469 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
5470 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
5471 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
5472 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
5473 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
5474 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
5475 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
5476 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
5477 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
5478 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
5479 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
5480 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
5481 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
5482 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
5483 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
5484 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
5485 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
5486 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
5487 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
5488 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
5489 ,p_title in varchar2 default hr_api.g_varchar2
5490 ,p_tax_unit in varchar2 default hr_api.g_varchar2
5491 ,p_timecard_approver in varchar2 default hr_api.g_varchar2
5492 ,p_timecard_required in varchar2 default hr_api.g_varchar2
5493 ,p_work_schedule in varchar2 default hr_api.g_varchar2
5494 ,p_shift in varchar2 default hr_api.g_varchar2
5495 ,p_spouse_salary in varchar2 default hr_api.g_varchar2
5496 ,p_legal_representative in varchar2 default hr_api.g_varchar2
5497 ,p_wc_override_code in varchar2 default hr_api.g_varchar2
5498 ,p_eeo_1_establishment in varchar2 default hr_api.g_varchar2
5499 ,p_contract_id in number default hr_api.g_number
5500 ,p_establishment_id in number default hr_api.g_number
5501 ,p_collective_agreement_id in number default hr_api.g_number
5502 ,p_cagr_id_flex_num in number default hr_api.g_number
5503 ,p_notice_period in number default hr_api.g_number
5504 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
5505 ,p_employee_category in varchar2 default hr_api.g_varchar2
5506 ,p_work_at_home in varchar2 default hr_api.g_varchar2
5507 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
5508 ,p_supervisor_assignment_id in number default hr_api.g_number
5509 ,p_cagr_grade_def_id out nocopy number
5510 ,p_cagr_concatenated_segments out nocopy varchar2
5511 ,p_comment_id out nocopy number
5512 ,p_soft_coding_keyflex_id out nocopy number
5513 ,p_effective_start_date out nocopy date
5514 ,p_effective_end_date out nocopy date
5515 -- Bug 944911
5516 -- Amended p_concatenated_segments to be out
5517 -- Added p_concat_segments - in param
5518 ,p_concatenated_segments out nocopy varchar2
5519 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5520 ,p_no_managers_warning out nocopy boolean
5521 ,p_other_manager_warning out nocopy boolean
5522 ,p_hourly_salaried_warning out nocopy boolean
5523 ,p_gsp_post_process_warning out nocopy varchar2
5524 );
5525 --
5526 -- ----------------------------------------------------------------------------
5527 -- |-------------------------< update_emp_asg_criteria >----------------------|
5528 -- ----------------------------------------------------------------------------
5529 --
5530 -- This version of the API is now out-of-date however it has been provided to
5531 -- you for backward compatibility support and will be removed in the future.
5532 -- Oracle recommends you to modify existing calling programs in advance of the
5533 -- support being withdrawn thus avoiding any potential disruption.
5534 --
5535 procedure update_emp_asg_criteria
5536 (p_effective_date in date
5537 ,p_datetrack_update_mode in varchar2
5538 ,p_assignment_id in number
5539 ,p_validate in boolean default false
5540 ,p_called_from_mass_update in boolean default false
5541 ,p_grade_id in number default hr_api.g_number
5542 ,p_position_id in number default hr_api.g_number
5543 ,p_job_id in number default hr_api.g_number
5544 ,p_payroll_id in number default hr_api.g_number
5545 ,p_location_id in number default hr_api.g_number
5546 ,p_organization_id in number default hr_api.g_number
5547 ,p_pay_basis_id in number default hr_api.g_number
5548 ,p_segment1 in varchar2 default hr_api.g_varchar2
5549 ,p_segment2 in varchar2 default hr_api.g_varchar2
5550 ,p_segment3 in varchar2 default hr_api.g_varchar2
5551 ,p_segment4 in varchar2 default hr_api.g_varchar2
5552 ,p_segment5 in varchar2 default hr_api.g_varchar2
5553 ,p_segment6 in varchar2 default hr_api.g_varchar2
5554 ,p_segment7 in varchar2 default hr_api.g_varchar2
5555 ,p_segment8 in varchar2 default hr_api.g_varchar2
5556 ,p_segment9 in varchar2 default hr_api.g_varchar2
5557 ,p_segment10 in varchar2 default hr_api.g_varchar2
5558 ,p_segment11 in varchar2 default hr_api.g_varchar2
5559 ,p_segment12 in varchar2 default hr_api.g_varchar2
5560 ,p_segment13 in varchar2 default hr_api.g_varchar2
5561 ,p_segment14 in varchar2 default hr_api.g_varchar2
5562 ,p_segment15 in varchar2 default hr_api.g_varchar2
5563 ,p_segment16 in varchar2 default hr_api.g_varchar2
5564 ,p_segment17 in varchar2 default hr_api.g_varchar2
5565 ,p_segment18 in varchar2 default hr_api.g_varchar2
5566 ,p_segment19 in varchar2 default hr_api.g_varchar2
5567 ,p_segment20 in varchar2 default hr_api.g_varchar2
5568 ,p_segment21 in varchar2 default hr_api.g_varchar2
5569 ,p_segment22 in varchar2 default hr_api.g_varchar2
5570 ,p_segment23 in varchar2 default hr_api.g_varchar2
5571 ,p_segment24 in varchar2 default hr_api.g_varchar2
5572 ,p_segment25 in varchar2 default hr_api.g_varchar2
5573 ,p_segment26 in varchar2 default hr_api.g_varchar2
5574 ,p_segment27 in varchar2 default hr_api.g_varchar2
5575 ,p_segment28 in varchar2 default hr_api.g_varchar2
5576 ,p_segment29 in varchar2 default hr_api.g_varchar2
5577 ,p_segment30 in varchar2 default hr_api.g_varchar2
5578 ,p_employment_category in varchar2 default hr_api.g_varchar2
5579 -- Bug 944911
5580 -- Amended p_group_name to out
5581 -- Added new param p_pgp_concat_segments for sec asg procs
5582 -- for others added p_concat_segments
5583 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5584 ,p_grade_ladder_pgm_id in number default hr_api.g_number
5585 ,p_supervisor_assignment_id in number default hr_api.g_number
5586 ,p_people_group_id in out nocopy number -- bug 2359997
5587 ,p_object_version_number in out nocopy number
5588 ,p_special_ceiling_step_id in out nocopy number
5589 ,p_group_name out nocopy varchar2
5590 ,p_effective_start_date out nocopy date
5591 ,p_effective_end_date out nocopy date
5592 ,p_org_now_no_manager_warning out nocopy boolean
5593 ,p_other_manager_warning out nocopy boolean
5594 ,p_spp_delete_warning out nocopy boolean
5595 ,p_entries_changed_warning out nocopy varchar2
5596 ,p_tax_district_changed_warning out nocopy boolean
5597 );
5598
5599
5600 --
5601 -- ----------------------------------------------------------------------------
5602 -- |-------------------------< update_emp_asg_criteria >----------------------|
5603 -- ----------------------------------------------------------------------------
5604 --
5605 -- This version of the API is now out-of-date however it has been provided to
5606 -- you for backward compatibility support and will be removed in the future.
5607 -- Oracle recommends you to modify existing calling programs in advance of the
5608 -- support being withdrawn thus avoiding any potential disruption.
5609 --
5610
5611 procedure update_emp_asg_criteria
5612 (p_effective_date in date
5613 ,p_datetrack_update_mode in varchar2
5614 ,p_assignment_id in number
5615 ,p_validate in boolean default false
5616 ,p_called_from_mass_update in boolean default false
5617 ,p_grade_id in number default hr_api.g_number
5618 ,p_position_id in number default hr_api.g_number
5619 ,p_job_id in number default hr_api.g_number
5620 ,p_payroll_id in number default hr_api.g_number
5621 ,p_location_id in number default hr_api.g_number
5622 ,p_organization_id in number default hr_api.g_number
5623 ,p_pay_basis_id in number default hr_api.g_number
5624 ,p_segment1 in varchar2 default hr_api.g_varchar2
5625 ,p_segment2 in varchar2 default hr_api.g_varchar2
5626 ,p_segment3 in varchar2 default hr_api.g_varchar2
5627 ,p_segment4 in varchar2 default hr_api.g_varchar2
5628 ,p_segment5 in varchar2 default hr_api.g_varchar2
5629 ,p_segment6 in varchar2 default hr_api.g_varchar2
5630 ,p_segment7 in varchar2 default hr_api.g_varchar2
5631 ,p_segment8 in varchar2 default hr_api.g_varchar2
5632 ,p_segment9 in varchar2 default hr_api.g_varchar2
5633 ,p_segment10 in varchar2 default hr_api.g_varchar2
5634 ,p_segment11 in varchar2 default hr_api.g_varchar2
5635 ,p_segment12 in varchar2 default hr_api.g_varchar2
5636 ,p_segment13 in varchar2 default hr_api.g_varchar2
5637 ,p_segment14 in varchar2 default hr_api.g_varchar2
5638 ,p_segment15 in varchar2 default hr_api.g_varchar2
5639 ,p_segment16 in varchar2 default hr_api.g_varchar2
5640 ,p_segment17 in varchar2 default hr_api.g_varchar2
5641 ,p_segment18 in varchar2 default hr_api.g_varchar2
5642 ,p_segment19 in varchar2 default hr_api.g_varchar2
5643 ,p_segment20 in varchar2 default hr_api.g_varchar2
5644 ,p_segment21 in varchar2 default hr_api.g_varchar2
5645 ,p_segment22 in varchar2 default hr_api.g_varchar2
5646 ,p_segment23 in varchar2 default hr_api.g_varchar2
5647 ,p_segment24 in varchar2 default hr_api.g_varchar2
5648 ,p_segment25 in varchar2 default hr_api.g_varchar2
5649 ,p_segment26 in varchar2 default hr_api.g_varchar2
5650 ,p_segment27 in varchar2 default hr_api.g_varchar2
5651 ,p_segment28 in varchar2 default hr_api.g_varchar2
5652 ,p_segment29 in varchar2 default hr_api.g_varchar2
5653 ,p_segment30 in varchar2 default hr_api.g_varchar2
5654 ,p_employment_category in varchar2 default hr_api.g_varchar2
5655 -- Bug 944911
5656 -- Amended p_group_name to out
5657 -- Added new param p_pgp_concat_segments for sec asg procs
5658 -- for others added p_concat_segments
5659 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5660 ,p_contract_id in number default hr_api.g_number -- bug 2622747
5661 ,p_establishment_id in number default hr_api.g_number -- bug 2622747
5662 ,p_scl_segment1 in varchar2 default hr_api.g_varchar2 -- bug 2622747
5663 ,p_grade_ladder_pgm_id in number default hr_api.g_number
5664 ,p_supervisor_assignment_id in number default hr_api.g_number
5665 ,p_object_version_number in out nocopy number
5666 ,p_special_ceiling_step_id in out nocopy number
5667 ,p_people_group_id in out nocopy number -- bug 2359997
5668 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2622747
5669 ,p_group_name out nocopy varchar2
5670 ,p_effective_start_date out nocopy date
5671 ,p_effective_end_date out nocopy date
5672 ,p_org_now_no_manager_warning out nocopy boolean
5673 ,p_other_manager_warning out nocopy boolean
5674 ,p_spp_delete_warning out nocopy boolean
5675 ,p_entries_changed_warning out nocopy varchar2
5676 ,p_tax_district_changed_warning out nocopy boolean
5677 ,p_concatenated_segments out nocopy varchar2 -- bug 2622747
5678 );
5679
5680 --
5681 -- ----------------------------------------------------------------------------
5682 -- |-------------------------< update_emp_asg_criteria >----------------------|
5683 -- ----------------------------------------------------------------------------
5684 --
5685 -- {Start Of Comments}
5686 /*#
5687 * This API updates attributes of the employee assignment that affect the
5688 * entitlement criteria for any element entry.
5689 *
5690 *
5691 * <p><b>Licensing</b><br>
5692 * This API is licensed for use with Human Resources.
5693 *
5694 * <p><b>Prerequisites</b><br>
5695 * The assignment must be an employee assignment. The assignment must exist as
5696 * of the effective date of the change
5697 *
5698 * <p><b>Post Success</b><br>
5699 * The API updates the assignment.
5700 *
5701 * <p><b>Post Failure</b><br>
5702 * The API does not update the assignment and raises an error.
5703 * @param p_effective_date Determines when the DateTrack operation comes into
5704 * force.
5705 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
5706 * updating the record. You must set to either UPDATE, CORRECTION,
5707 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
5708 * particular record depend on the dates of previous record changes and the
5709 * effective date of this change.
5710 * @param p_assignment_id Identifies the assignment record to be modified.
5711 * @param p_validate If true, then validation alone will be performed and the
5712 * database will remain unchanged. If false and all validation checks pass,
5713 * then the database will be modified.
5714 * @param p_called_from_mass_update Set to TRUE if the API is called from the
5715 * Mass Update Processes. This defaults Job and Organization information from
5716 * the Position information, if the first two are not supplied.
5717 * @param p_grade_id Identifies the grade of the assignment
5718 * @param p_position_id Identifies the position of the assignment
5719 * @param p_job_id Identifies the job of the assignment
5720 * @param p_payroll_id Identifies the payroll of this assignment.
5721 * @param p_location_id Identifies the location of the assignment
5722 * @param p_organization_id Identifies the organization of the assignment
5723 * @param p_pay_basis_id Salary basis for the assignment
5724 * @param p_segment1 Key flexfield segment.
5725 * @param p_segment2 Key flexfield segment.
5726 * @param p_segment3 Key flexfield segment.
5727 * @param p_segment4 Key flexfield segment.
5728 * @param p_segment5 Key flexfield segment.
5729 * @param p_segment6 Key flexfield segment.
5730 * @param p_segment7 Key flexfield segment.
5731 * @param p_segment8 Key flexfield segment.
5732 * @param p_segment9 Key flexfield segment.
5733 * @param p_segment10 Key flexfield segment.
5734 * @param p_segment11 Key flexfield segment.
5735 * @param p_segment12 Key flexfield segment.
5736 * @param p_segment13 Key flexfield segment.
5737 * @param p_segment14 Key flexfield segment.
5738 * @param p_segment15 Key flexfield segment.
5739 * @param p_segment16 Key flexfield segment.
5740 * @param p_segment17 Key flexfield segment.
5741 * @param p_segment18 Key flexfield segment.
5742 * @param p_segment19 Key flexfield segment.
5743 * @param p_segment20 Key flexfield segment.
5744 * @param p_segment21 Key flexfield segment.
5745 * @param p_segment22 Key flexfield segment.
5746 * @param p_segment23 Key flexfield segment.
5747 * @param p_segment24 Key flexfield segment.
5748 * @param p_segment25 Key flexfield segment.
5749 * @param p_segment26 Key flexfield segment.
5750 * @param p_segment27 Key flexfield segment.
5751 * @param p_segment28 Key flexfield segment.
5752 * @param p_segment29 Key flexfield segment.
5753 * @param p_segment30 Key flexfield segment.
5754 * @param p_employment_category Employment category. Valid values are defined
5755 * in the EMP_CAT lookup type.
5756 * @param p_concat_segments Concatenated Key Flexfield segments
5757 * @param p_contract_id Contract associated with this assignment
5758 * @param p_establishment_id For French business groups, this identifies the
5759 * Establishment Legal Entity for this assignment.
5760 * @param p_scl_segment1 First segment from Soft Coded Key Flexfield.
5761 * @param p_grade_ladder_pgm_id Grade Ladder for this assignment
5762 * @param p_supervisor_assignment_id Supervisor's assignment which is
5763 * responsible for supervising this assignment.
5764 * @param p_object_version_number Pass in the current version number of the
5765 * assignment to be updated. When the API completes if p_validate is false,
5766 * will be set to the new version number of the updated assignment. If
5767 * p_validate is true will be set to the same value which was passed in.
5768 * @param p_special_ceiling_step_id Pass in the highest allowed step for the
5769 * grade scale associated with the grade of the assignment. Will be set to null
5770 * if the Grade is updated to null. If p_validate is false, will be set to the
5771 * value of the Ceiling step from the database. If p_validate is true will be
5772 * set to the value passed in.
5773 * @param p_people_group_id If a value is passed in for this parameter, it
5774 * identifies an existing People Group Key Flexfield combination to associate
5775 * with the assignment, and segment values are ignored. If a value is not
5776 * passed in, then the individual People Group Key Flexfield segments supplied
5777 * will be used to choose an existing combination or create a new combination.
5778 * When the API completes, if p_validate is false, then this uniquely
5779 * identifies the associated combination of the People Group Key flexfield for
5780 * this assignment. If p_validate is true, then set to null.
5781 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
5782 * it identifies an existing Soft Coded Key Flexfield combination to associate
5783 * with the assignment, and segment values are ignored. If a value is not
5784 * passed in, then the individual Soft Coded Key Flexfield segments supplied
5785 * will be used to choose an existing combination or create a new combination.
5786 * When the API completes, if p_validate is false, then this uniquely
5787 * identifies the associated combination of the Soft Coded Key flexfield for
5788 * this assignment. If p_validate is true, then set to null.
5789 * @param p_group_name If p_validate is false, set to the People Group Key
5790 * Flexfield concatenated segments. If p_validate is true, set to null.
5791 * @param p_effective_start_date If p_validate is false, then set to the
5792 * effective start date on the updated assignment row which now exists as of
5793 * the effective date. If p_validate is true, then set to null.
5794 * @param p_effective_end_date If p_validate is false, then set to the
5795 * effective end date on the updated assignment row which now exists as of the
5796 * effective date. If p_validate is true, then set to null.
5797 * @param p_org_now_no_manager_warning Set to true if this assignment is a
5798 * manager, the organization is updated and there is now no manager in the
5799 * previous organization. Set to false if another manager exists in the
5800 * previous organization.
5801 * @param p_other_manager_warning If set to true, then a manager existed in the
5802 * organization prior to calling this API and the manager flag has been set to
5803 * 'Y' for yes.
5804 * @param p_spp_delete_warning Set to true when grade step and point placements
5805 * are date effectively ended or purged by this update. Both types of change
5806 * occur when the Grade is changed and spinal point placement rows exist over
5807 * the updated date range. Set to false when no grade step and point placements
5808 * are affected.
5809 * @param p_entries_changed_warning Set to 'Y' when one or more element entries
5810 * are changed due to the assignment change. Set to 'S' if at least one salary
5811 * element entry is affected. ('S' is a more specific case of 'Y') Set to 'N'
5812 * when no element entries are changed.
5813 * @param p_tax_district_changed_warning Set to true if the assignment is for a
5814 * United Kingdom legislation and the payroll has changed such that. Otherwise
5815 * set to false.
5816 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
5817 * Flexfield concatenated segments, if p_validate is true, set to null.
5818 * @param p_gsp_post_process_warning Set to the name of a warning message from
5819 * the Message Dictionary if any Grade Ladder related errors have been
5820 * encountered while running this API.
5821 * @param p_create_salary_proposal If p_create_salary_proposal is 'Y' then it
5822 will create the salary proposal record when the salary basis is being changed.
5823 * @rep:displayname Update Employee Assignment Criteria
5824 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
5825 * @rep:category MISC_EXTENSIONS HR_DATAPUMP
5826 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
5827 * @rep:scope public
5828 * @rep:lifecycle active
5829 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
5830 */
5831 --
5832 -- {End Of Comments}
5833 --
5834 procedure update_emp_asg_criteria
5835 (p_effective_date in date
5836 ,p_datetrack_update_mode in varchar2
5837 ,p_assignment_id in number
5838 ,p_validate in boolean default false
5839 ,p_called_from_mass_update in boolean default false
5840 ,p_grade_id in number default hr_api.g_number
5841 ,p_position_id in number default hr_api.g_number
5842 ,p_job_id in number default hr_api.g_number
5843 ,p_payroll_id in number default hr_api.g_number
5844 ,p_location_id in number default hr_api.g_number
5845 ,p_organization_id in number default hr_api.g_number
5846 ,p_pay_basis_id in number default hr_api.g_number
5847 ,p_segment1 in varchar2 default hr_api.g_varchar2
5848 ,p_segment2 in varchar2 default hr_api.g_varchar2
5849 ,p_segment3 in varchar2 default hr_api.g_varchar2
5850 ,p_segment4 in varchar2 default hr_api.g_varchar2
5851 ,p_segment5 in varchar2 default hr_api.g_varchar2
5852 ,p_segment6 in varchar2 default hr_api.g_varchar2
5853 ,p_segment7 in varchar2 default hr_api.g_varchar2
5854 ,p_segment8 in varchar2 default hr_api.g_varchar2
5855 ,p_segment9 in varchar2 default hr_api.g_varchar2
5856 ,p_segment10 in varchar2 default hr_api.g_varchar2
5857 ,p_segment11 in varchar2 default hr_api.g_varchar2
5858 ,p_segment12 in varchar2 default hr_api.g_varchar2
5859 ,p_segment13 in varchar2 default hr_api.g_varchar2
5860 ,p_segment14 in varchar2 default hr_api.g_varchar2
5861 ,p_segment15 in varchar2 default hr_api.g_varchar2
5862 ,p_segment16 in varchar2 default hr_api.g_varchar2
5863 ,p_segment17 in varchar2 default hr_api.g_varchar2
5864 ,p_segment18 in varchar2 default hr_api.g_varchar2
5865 ,p_segment19 in varchar2 default hr_api.g_varchar2
5866 ,p_segment20 in varchar2 default hr_api.g_varchar2
5867 ,p_segment21 in varchar2 default hr_api.g_varchar2
5868 ,p_segment22 in varchar2 default hr_api.g_varchar2
5869 ,p_segment23 in varchar2 default hr_api.g_varchar2
5870 ,p_segment24 in varchar2 default hr_api.g_varchar2
5871 ,p_segment25 in varchar2 default hr_api.g_varchar2
5872 ,p_segment26 in varchar2 default hr_api.g_varchar2
5873 ,p_segment27 in varchar2 default hr_api.g_varchar2
5874 ,p_segment28 in varchar2 default hr_api.g_varchar2
5875 ,p_segment29 in varchar2 default hr_api.g_varchar2
5876 ,p_segment30 in varchar2 default hr_api.g_varchar2
5877 ,p_employment_category in varchar2 default hr_api.g_varchar2
5878 -- Bug 944911
5879 -- Amended p_group_name to out
5880 -- Added new param p_pgp_concat_segments for sec asg procs
5881 -- for others added p_concat_segments
5882 ,p_concat_segments in varchar2 default hr_api.g_varchar2
5883 ,p_contract_id in number default hr_api.g_number -- bug 2622747
5884 ,p_establishment_id in number default hr_api.g_number -- bug 2622747
5885 ,p_scl_segment1 in varchar2 default hr_api.g_varchar2 -- bug 2622747
5886 ,p_grade_ladder_pgm_id in number default hr_api.g_number
5887 ,p_supervisor_assignment_id in number default hr_api.g_number
5888 ,p_object_version_number in out nocopy number
5889 ,p_special_ceiling_step_id in out nocopy number
5890 ,p_people_group_id in out nocopy number -- bug 2359997
5891 ,p_soft_coding_keyflex_id in out nocopy number -- bug 2622747
5892 ,p_group_name out nocopy varchar2
5893 ,p_effective_start_date out nocopy date
5894 ,p_effective_end_date out nocopy date
5895 ,p_org_now_no_manager_warning out nocopy boolean
5896 ,p_other_manager_warning out nocopy boolean
5897 ,p_spp_delete_warning out nocopy boolean
5898 ,p_entries_changed_warning out nocopy varchar2
5899 ,p_tax_district_changed_warning out nocopy boolean
5900 ,p_concatenated_segments out nocopy varchar2 -- bug 2622747
5901 ,p_gsp_post_process_warning out nocopy varchar2
5902 ,p_create_salary_proposal in varchar2 default 'N' -- added for bug 12911607
5903 );
5904
5905 --
5906 -- ----------------------------------------------------------------------------
5907 -- |------------------------------< update_apl_asg >--------------------------|
5908 -- ----------------------------------------------------------------------------
5909 --
5910 -- {Start Of Comments}
5911 /*#
5912 * This API updates applicant assignment details.
5913 *
5914 *
5915 * <p><b>Licensing</b><br>
5916 * This API is licensed for use with Human Resources.
5917 *
5918 * <p><b>Prerequisites</b><br>
5919 * The assignment must exist as of the effective date, and must be an applicant
5920 * assignment.
5921 *
5922 * <p><b>Post Success</b><br>
5923 * The API updates the assignment.
5924 *
5925 * <p><b>Post Failure</b><br>
5926 * The API does not update the assignment and raises an error.
5927 * @param p_validate If true, then validation alone will be performed and the
5928 * database will remain unchanged. If false and all validation checks pass,
5929 * then the database will be modified.
5930 * @param p_effective_date Determines when the DateTrack operation comes into
5931 * force.
5932 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
5933 * updating the record. You must set to either UPDATE, CORRECTION,
5934 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
5935 * particular record depend on the dates of previous record changes and the
5936 * effective date of this change.
5937 * @param p_assignment_id Identifies the assignment record to be modified.
5938 * @param p_object_version_number Pass in the current version number of the
5939 * assignment to be updated. When the API completes if p_validate is false,
5940 * will be set to the new version number of the updated assignment. If
5941 * p_validate is true will be set to the same value which was passed in.
5942 * @param p_recruiter_id Recruiter for the assignment. The value refers to the
5943 * recruiter's person record.
5944 * @param p_grade_id Identifies the grade of the assignment
5945 * @param p_position_id Identifies the position of the assignment
5946 * @param p_job_id Identifies the job of the assignment
5947 * @param p_payroll_id Identifies the payroll of the assignment
5948 * @param p_location_id Identifies the location of the assignment
5949 * @param p_person_referred_by_id Identifies the person record of the person
5950 * who referred the applicant.
5951 * @param p_supervisor_id Supervisor for the assignment. The value refers to
5952 * the supervisor's person record.
5953 * @param p_special_ceiling_step_id Highest allowed step for the grade scale
5954 * associated with the grade of the assignment.
5955 * @param p_recruitment_activity_id Identifies the Recruitment Activity from
5956 * which the applicant was found.
5957 * @param p_source_organization_id Identifies the Source organization.
5958 * @param p_organization_id Identifies the organization of the assignment
5959 * @param p_vacancy_id Identifies the vacancy which the applicant applied for.
5960 * @param p_pay_basis_id Salary basis for the assignment
5961 * @param p_application_id Identifies the application record to which this
5962 * assignment belongs.
5963 * @param p_change_reason Reason for the change in the assignment. Valid values
5964 * are defined in the APL_ASSIGN_REASON lookup type.
5965 * @param p_assignment_status_type_id Assignment status. The system status must
5966 * be the same as before the update. Otherwise one of the status change APIs
5967 * should be used.
5968 * @param p_comments Comment text.
5969 * @param p_date_probation_end End date of probation period
5970 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
5971 * Flexfield combination which applies to this assignment
5972 * @param p_employment_category Employment category. Valid values are defined
5973 * in the EMP_CAT lookup type.
5974 * @param p_frequency Frequency associated with the defined normal working
5975 * hours. Valid values are defined in the FREQUENCY lookup type.
5976 * @param p_internal_address_line Internal address identified with this
5977 * assignment.
5978 * @param p_manager_flag Indicates whether the applicant is a manager
5979 * @param p_normal_hours Normal working hours for this assignment
5980 * @param p_perf_review_period Length of performance review period
5981 * @param p_perf_review_period_frequency Units of performance review period.
5982 * Valid values are defined in the FREQUENCY lookup type.
5983 * @param p_probation_period Length of probation period
5984 * @param p_probation_unit Units of probation period. Valid values are defined
5985 * in the QUALIFYING_UNITS lookup type.
5986 * @param p_sal_review_period Length of salary review period
5987 * @param p_sal_review_period_frequency Units of salary review period. Valid
5988 * values are defined in the FREQUENCY lookup type.
5989 * @param p_set_of_books_id Identifies General Ledger set of books.
5990 * @param p_source_type Recruitment activity which this assignment is sourced
5991 * from. Valid values are defined in the REC_TYPE lookup type.
5992 * @param p_time_normal_finish Normal work finish time
5993 * @param p_time_normal_start Normal work start time
5994 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
5995 * defined in the BARGAINING_UNIT_CODE lookup type.
5996 * @param p_ass_attribute_category This context value determines which
5997 * Flexfield Structure to use with the Descriptive flexfield segments.
5998 * @param p_ass_attribute1 Descriptive flexfield segment
5999 * @param p_ass_attribute2 Descriptive flexfield segment
6000 * @param p_ass_attribute3 Descriptive flexfield segment
6001 * @param p_ass_attribute4 Descriptive flexfield segment
6002 * @param p_ass_attribute5 Descriptive flexfield segment
6003 * @param p_ass_attribute6 Descriptive flexfield segment
6004 * @param p_ass_attribute7 Descriptive flexfield segment
6005 * @param p_ass_attribute8 Descriptive flexfield segment
6006 * @param p_ass_attribute9 Descriptive flexfield segment
6007 * @param p_ass_attribute10 Descriptive flexfield segment
6008 * @param p_ass_attribute11 Descriptive flexfield segment
6009 * @param p_ass_attribute12 Descriptive flexfield segment
6010 * @param p_ass_attribute13 Descriptive flexfield segment
6011 * @param p_ass_attribute14 Descriptive flexfield segment
6012 * @param p_ass_attribute15 Descriptive flexfield segment
6013 * @param p_ass_attribute16 Descriptive flexfield segment
6014 * @param p_ass_attribute17 Descriptive flexfield segment
6015 * @param p_ass_attribute18 Descriptive flexfield segment
6016 * @param p_ass_attribute19 Descriptive flexfield segment
6017 * @param p_ass_attribute20 Descriptive flexfield segment
6018 * @param p_ass_attribute21 Descriptive flexfield segment
6019 * @param p_ass_attribute22 Descriptive flexfield segment
6020 * @param p_ass_attribute23 Descriptive flexfield segment
6021 * @param p_ass_attribute24 Descriptive flexfield segment
6022 * @param p_ass_attribute25 Descriptive flexfield segment
6023 * @param p_ass_attribute26 Descriptive flexfield segment
6024 * @param p_ass_attribute27 Descriptive flexfield segment
6025 * @param p_ass_attribute28 Descriptive flexfield segment
6026 * @param p_ass_attribute29 Descriptive flexfield segment
6027 * @param p_ass_attribute30 Descriptive flexfield segment
6028 * @param p_title Obsolete parameter, do not use.
6029 * @param p_scl_segment1 Soft Coded key flexfield segment
6030 * @param p_scl_segment2 Soft Coded key flexfield segment
6031 * @param p_scl_segment3 Soft Coded key flexfield segment
6032 * @param p_scl_segment4 Soft Coded key flexfield segment
6033 * @param p_scl_segment5 Soft Coded key flexfield segment
6034 * @param p_scl_segment6 Soft Coded key flexfield segment
6035 * @param p_scl_segment7 Soft Coded key flexfield segment
6036 * @param p_scl_segment8 Soft Coded key flexfield segment
6037 * @param p_scl_segment9 Soft Coded key flexfield segment
6038 * @param p_scl_segment10 Soft Coded key flexfield segment
6039 * @param p_scl_segment11 Soft Coded key flexfield segment
6040 * @param p_scl_segment12 Soft Coded key flexfield segment
6041 * @param p_scl_segment13 Soft Coded key flexfield segment
6042 * @param p_scl_segment14 Soft Coded key flexfield segment
6043 * @param p_scl_segment15 Soft Coded key flexfield segment
6044 * @param p_scl_segment16 Soft Coded key flexfield segment
6045 * @param p_scl_segment17 Soft Coded key flexfield segment
6046 * @param p_scl_segment18 Soft Coded key flexfield segment
6047 * @param p_scl_segment19 Soft Coded key flexfield segment
6048 * @param p_scl_segment20 Soft Coded key flexfield segment
6049 * @param p_scl_segment21 Soft Coded key flexfield segment
6050 * @param p_scl_segment22 Soft Coded key flexfield segment
6051 * @param p_scl_segment23 Soft Coded key flexfield segment
6052 * @param p_scl_segment24 Soft Coded key flexfield segment
6053 * @param p_scl_segment25 Soft Coded key flexfield segment
6054 * @param p_scl_segment26 Soft Coded key flexfield segment
6055 * @param p_scl_segment27 Soft Coded key flexfield segment
6056 * @param p_scl_segment28 Soft Coded key flexfield segment
6057 * @param p_scl_segment29 Soft Coded key flexfield segment
6058 * @param p_scl_segment30 Soft Coded key flexfield segment
6059 * @param p_scl_concat_segments Concatenated segments for Soft Coded Key
6060 * Flexfield. Concatenated segments can be supplied instead of individual
6061 * segments.
6062 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
6063 * Flexfield concatenated segments, if p_validate is true, set to null.
6064 * @param p_pgp_segment1 People group key flexfield segment
6065 * @param p_pgp_segment2 People group key flexfield segment
6066 * @param p_pgp_segment3 People group key flexfield segment
6067 * @param p_pgp_segment4 People group key flexfield segment
6068 * @param p_pgp_segment5 People group key flexfield segment
6069 * @param p_pgp_segment6 People group key flexfield segment
6070 * @param p_pgp_segment7 People group key flexfield segment
6071 * @param p_pgp_segment8 People group key flexfield segment
6072 * @param p_pgp_segment9 People group key flexfield segment
6073 * @param p_pgp_segment10 People group key flexfield segment
6074 * @param p_pgp_segment11 People group key flexfield segment
6075 * @param p_pgp_segment12 People group key flexfield segment
6076 * @param p_pgp_segment13 People group key flexfield segment
6077 * @param p_pgp_segment14 People group key flexfield segment
6078 * @param p_pgp_segment15 People group key flexfield segment
6079 * @param p_pgp_segment16 People group key flexfield segment
6080 * @param p_pgp_segment17 People group key flexfield segment
6081 * @param p_pgp_segment18 People group key flexfield segment
6082 * @param p_pgp_segment19 People group key flexfield segment
6083 * @param p_pgp_segment20 People group key flexfield segment
6084 * @param p_pgp_segment21 People group key flexfield segment
6085 * @param p_pgp_segment22 People group key flexfield segment
6086 * @param p_pgp_segment23 People group key flexfield segment
6087 * @param p_pgp_segment24 People group key flexfield segment
6088 * @param p_pgp_segment25 People group key flexfield segment
6089 * @param p_pgp_segment26 People group key flexfield segment
6090 * @param p_pgp_segment27 People group key flexfield segment
6091 * @param p_pgp_segment28 People group key flexfield segment
6092 * @param p_pgp_segment29 People group key flexfield segment
6093 * @param p_pgp_segment30 People group key flexfield segment
6094 * @param p_concat_segments Concatenated segments for People Group Key
6095 * Flexfield. Concatenated segments can be supplied instead of individual
6096 * segments.
6097 * @param p_contract_id Contract associated with this assignment
6098 * @param p_establishment_id For French business groups, this identifies the
6099 * Establishment Legal Entity for this assignment.
6100 * @param p_collective_agreement_id Collective Agreement that applies to this
6101 * assignment
6102 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
6103 * flexfield to use for this assignment
6104 * @param p_cag_segment1 CAGR Key Flexfield segment
6105 * @param p_cag_segment2 CAGR Key Flexfield segment
6106 * @param p_cag_segment3 CAGR Key Flexfield segment
6107 * @param p_cag_segment4 CAGR Key Flexfield segment
6108 * @param p_cag_segment5 CAGR Key Flexfield segment
6109 * @param p_cag_segment6 CAGR Key Flexfield segment
6110 * @param p_cag_segment7 CAGR Key Flexfield segment
6111 * @param p_cag_segment8 CAGR Key Flexfield segment
6112 * @param p_cag_segment9 CAGR Key Flexfield segment
6113 * @param p_cag_segment10 CAGR Key Flexfield segment
6114 * @param p_cag_segment11 CAGR Key Flexfield segment
6115 * @param p_cag_segment12 CAGR Key Flexfield segment
6116 * @param p_cag_segment13 CAGR Key Flexfield segment
6117 * @param p_cag_segment14 CAGR Key Flexfield segment
6118 * @param p_cag_segment15 CAGR Key Flexfield segment
6119 * @param p_cag_segment16 CAGR Key Flexfield segment
6120 * @param p_cag_segment17 CAGR Key Flexfield segment
6121 * @param p_cag_segment18 CAGR Key Flexfield segment
6122 * @param p_cag_segment19 CAGR Key Flexfield segment
6123 * @param p_cag_segment20 CAGR Key Flexfield segment
6124 * @param p_notice_period Length of notice period
6125 * @param p_notice_period_uom Units for notice period. Valid values are defined
6126 * in the QUALIFYING_UNITS lookup type.
6127 * @param p_employee_category Employee Category. Valid values are defined in
6128 * the EMPLOYEE_CATG lookup type.
6129 * @param p_work_at_home Indicate whether this assignment is to work at home.
6130 * Valid values are defined in the YES_NO lookup type.
6131 * @param p_job_post_source_name Name of the source of the job posting which
6132 * was answered for this assignment.
6133 * @param p_posting_content_id Identifies the posting to which the applicant
6134 * has applied.
6135 * @param p_applicant_rank Applicant's rank.
6136 * @param p_grade_ladder_pgm_id Grade Ladder for this assignment
6137 * @param p_supervisor_assignment_id Supervisor's assignment that is
6138 * responsible for supervising this assignment.
6139 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
6140 * identifies an existing CAGR Key Flexfield combination to associate with the
6141 * assignment, and segment values are ignored. If a value is not passed in,
6142 * then the individual CAGR Key Flexfield segments supplied will be used to
6143 * choose an existing combination or create a new combination. When the API
6144 * completes, if p_validate is false, then this uniquely identifies the
6145 * associated combination of the CAGR Key flexfield for this assignment. If
6146 * p_validate is true, then set to null.
6147 * @param p_cagr_concatenated_segments If p_validate is false, set to the
6148 * concatenation of all CAGR Key Flexfield segments. If p_validate is true, set
6149 * to null.
6150 * @param p_group_name If p_validate is false, set to the People Group Key
6151 * Flexfield concatenated segments. If p_validate is true, set to null.
6152 * @param p_comment_id If p_validate is false and comment text was provided,
6153 * then will be set to the identifier of the created assignment comment record.
6154 * If p_validate is true or no comment text was provided, then will be null.
6155 * @param p_people_group_id If a value is passed in for this parameter, it
6156 * identifies an existing People Group Key Flexfield combination to associate
6157 * with the assignment, and segment values are ignored. If a value is not
6158 * passed in, then the individual People Group Key Flexfield segments supplied
6159 * will be used to choose an existing combination or create a new combination.
6160 * When the API completes, if p_validate is false, then this uniquely
6161 * identifies the associated combination of the People Group Key flexfield for
6162 * this assignment. If p_validate is true, then set to null.
6163 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
6164 * it identifies an existing Soft Coded Key Flexfield combination to associate
6165 * with the assignment, and segment values are ignored. If a value is not
6166 * passed in, then the individual Soft Coded Key Flexfield segments supplied
6167 * will be used to choose an existing combination or create a new combination.
6168 * When the API completes, if p_validate is false, then this uniquely
6169 * identifies the associated combination of the Soft Coded Key flexfield for
6170 * this assignment. If p_validate is true, then set to null.
6171 * @param p_effective_start_date If p_validate is false, then set to the
6172 * effective start date for the assignment row which now exists as of the
6173 * effective date. If p_validate is true, then set to null.
6174 * @param p_effective_end_date If p_validate is false, then set to the
6175 * effective end date for the assignment row which now exists as of the
6176 * effective date. If p_validate is true, then set to null.
6177 * @rep:displayname Update Applicant Assignment
6178 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
6179 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
6180 * @rep:scope public
6181 * @rep:lifecycle active
6182 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
6183 */
6184 --
6185 -- {End Of Comments}
6186 --
6187 procedure update_apl_asg
6188 (p_validate in boolean default false
6189 ,p_effective_date in date
6190 ,p_datetrack_update_mode in varchar2
6191 ,p_assignment_id in number
6192 ,p_object_version_number in out nocopy number
6193 ,p_recruiter_id in number default hr_api.g_number
6194 ,p_grade_id in number default hr_api.g_number
6195 ,p_position_id in number default hr_api.g_number
6196 ,p_job_id in number default hr_api.g_number
6197 ,p_payroll_id in number default hr_api.g_number
6198 ,p_location_id in number default hr_api.g_number
6199 ,p_person_referred_by_id in number default hr_api.g_number
6200 ,p_supervisor_id in number default hr_api.g_number
6201 ,p_special_ceiling_step_id in number default hr_api.g_number
6202 ,p_recruitment_activity_id in number default hr_api.g_number
6203 ,p_source_organization_id in number default hr_api.g_number
6204 ,p_organization_id in number default hr_api.g_number
6205 ,p_vacancy_id in number default hr_api.g_number
6206 ,p_pay_basis_id in number default hr_api.g_number
6207 ,p_application_id in number default hr_api.g_number
6208 ,p_change_reason in varchar2 default hr_api.g_varchar2
6209 ,p_assignment_status_type_id in number default hr_api.g_number
6210 ,p_comments in varchar2 default hr_api.g_varchar2
6211 ,p_date_probation_end in date default hr_api.g_date
6212 ,p_default_code_comb_id in number default hr_api.g_number
6213 ,p_employment_category in varchar2 default hr_api.g_varchar2
6214 ,p_frequency in varchar2 default hr_api.g_varchar2
6215 ,p_internal_address_line in varchar2 default hr_api.g_varchar2
6216 ,p_manager_flag in varchar2 default hr_api.g_varchar2
6217 ,p_normal_hours in number default hr_api.g_number
6218 ,p_perf_review_period in number default hr_api.g_number
6219 ,p_perf_review_period_frequency in varchar2 default hr_api.g_varchar2
6220 ,p_probation_period in number default hr_api.g_number
6221 ,p_probation_unit in varchar2 default hr_api.g_varchar2
6222 ,p_sal_review_period in number default hr_api.g_number
6223 ,p_sal_review_period_frequency in varchar2 default hr_api.g_varchar2
6224 ,p_set_of_books_id in number default hr_api.g_number
6225 ,p_source_type in varchar2 default hr_api.g_varchar2
6226 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
6227 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
6228 ,p_bargaining_unit_code in varchar2 default hr_api.g_varchar2
6229 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
6230 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
6231 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
6232 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
6233 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
6234 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
6235 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
6236 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
6237 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
6238 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
6239 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
6240 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
6241 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
6242 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
6243 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
6244 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
6245 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
6246 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
6247 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
6248 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
6249 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
6250 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
6251 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
6252 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
6253 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
6254 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
6255 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
6256 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
6257 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
6258 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
6259 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
6260 ,p_title in varchar2 default hr_api.g_varchar2
6261 ,p_scl_segment1 in varchar2 default hr_api.g_varchar2
6262 ,p_scl_segment2 in varchar2 default hr_api.g_varchar2
6263 ,p_scl_segment3 in varchar2 default hr_api.g_varchar2
6264 ,p_scl_segment4 in varchar2 default hr_api.g_varchar2
6265 ,p_scl_segment5 in varchar2 default hr_api.g_varchar2
6266 ,p_scl_segment6 in varchar2 default hr_api.g_varchar2
6267 ,p_scl_segment7 in varchar2 default hr_api.g_varchar2
6268 ,p_scl_segment8 in varchar2 default hr_api.g_varchar2
6269 ,p_scl_segment9 in varchar2 default hr_api.g_varchar2
6270 ,p_scl_segment10 in varchar2 default hr_api.g_varchar2
6271 ,p_scl_segment11 in varchar2 default hr_api.g_varchar2
6272 ,p_scl_segment12 in varchar2 default hr_api.g_varchar2
6273 ,p_scl_segment13 in varchar2 default hr_api.g_varchar2
6274 ,p_scl_segment14 in varchar2 default hr_api.g_varchar2
6275 ,p_scl_segment15 in varchar2 default hr_api.g_varchar2
6276 ,p_scl_segment16 in varchar2 default hr_api.g_varchar2
6277 ,p_scl_segment17 in varchar2 default hr_api.g_varchar2
6278 ,p_scl_segment18 in varchar2 default hr_api.g_varchar2
6279 ,p_scl_segment19 in varchar2 default hr_api.g_varchar2
6280 ,p_scl_segment20 in varchar2 default hr_api.g_varchar2
6281 ,p_scl_segment21 in varchar2 default hr_api.g_varchar2
6282 ,p_scl_segment22 in varchar2 default hr_api.g_varchar2
6283 ,p_scl_segment23 in varchar2 default hr_api.g_varchar2
6284 ,p_scl_segment24 in varchar2 default hr_api.g_varchar2
6285 ,p_scl_segment25 in varchar2 default hr_api.g_varchar2
6286 ,p_scl_segment26 in varchar2 default hr_api.g_varchar2
6287 ,p_scl_segment27 in varchar2 default hr_api.g_varchar2
6288 ,p_scl_segment28 in varchar2 default hr_api.g_varchar2
6289 ,p_scl_segment29 in varchar2 default hr_api.g_varchar2
6290 ,p_scl_segment30 in varchar2 default hr_api.g_varchar2
6291 -- Bug 944911
6292 -- Amended p_scl_concatenated_segments to be an out instead of in out
6293 -- Added p_scl_concat_segments ( in param )
6294 -- Amended p_scl_concatenated_segments to be p_concatenated_segments
6295 ,p_scl_concat_segments in varchar2 default hr_api.g_varchar2
6296 ,p_concatenated_segments out nocopy varchar2
6297 ,p_pgp_segment1 in varchar2 default hr_api.g_varchar2
6298 ,p_pgp_segment2 in varchar2 default hr_api.g_varchar2
6299 ,p_pgp_segment3 in varchar2 default hr_api.g_varchar2
6300 ,p_pgp_segment4 in varchar2 default hr_api.g_varchar2
6301 ,p_pgp_segment5 in varchar2 default hr_api.g_varchar2
6302 ,p_pgp_segment6 in varchar2 default hr_api.g_varchar2
6303 ,p_pgp_segment7 in varchar2 default hr_api.g_varchar2
6304 ,p_pgp_segment8 in varchar2 default hr_api.g_varchar2
6305 ,p_pgp_segment9 in varchar2 default hr_api.g_varchar2
6306 ,p_pgp_segment10 in varchar2 default hr_api.g_varchar2
6307 ,p_pgp_segment11 in varchar2 default hr_api.g_varchar2
6308 ,p_pgp_segment12 in varchar2 default hr_api.g_varchar2
6309 ,p_pgp_segment13 in varchar2 default hr_api.g_varchar2
6310 ,p_pgp_segment14 in varchar2 default hr_api.g_varchar2
6311 ,p_pgp_segment15 in varchar2 default hr_api.g_varchar2
6312 ,p_pgp_segment16 in varchar2 default hr_api.g_varchar2
6313 ,p_pgp_segment17 in varchar2 default hr_api.g_varchar2
6314 ,p_pgp_segment18 in varchar2 default hr_api.g_varchar2
6315 ,p_pgp_segment19 in varchar2 default hr_api.g_varchar2
6316 ,p_pgp_segment20 in varchar2 default hr_api.g_varchar2
6317 ,p_pgp_segment21 in varchar2 default hr_api.g_varchar2
6318 ,p_pgp_segment22 in varchar2 default hr_api.g_varchar2
6319 ,p_pgp_segment23 in varchar2 default hr_api.g_varchar2
6320 ,p_pgp_segment24 in varchar2 default hr_api.g_varchar2
6321 ,p_pgp_segment25 in varchar2 default hr_api.g_varchar2
6322 ,p_pgp_segment26 in varchar2 default hr_api.g_varchar2
6323 ,p_pgp_segment27 in varchar2 default hr_api.g_varchar2
6324 ,p_pgp_segment28 in varchar2 default hr_api.g_varchar2
6325 ,p_pgp_segment29 in varchar2 default hr_api.g_varchar2
6326 ,p_pgp_segment30 in varchar2 default hr_api.g_varchar2
6327 -- Bug 944911
6328 -- Amended p_group_name to out
6329 -- Added new param p_pgp_concat_segments - for sec asg procs
6330 -- for others added p_concat_segments
6331 ,p_concat_segments in varchar2 default hr_api.g_varchar2
6332 ,p_contract_id in number default hr_api.g_number
6333 ,p_establishment_id in number default hr_api.g_number
6334 ,p_collective_agreement_id in number default hr_api.g_number
6335 ,p_cagr_id_flex_num in number default hr_api.g_number
6336 ,p_cag_segment1 in varchar2 default hr_api.g_varchar2
6337 ,p_cag_segment2 in varchar2 default hr_api.g_varchar2
6338 ,p_cag_segment3 in varchar2 default hr_api.g_varchar2
6339 ,p_cag_segment4 in varchar2 default hr_api.g_varchar2
6340 ,p_cag_segment5 in varchar2 default hr_api.g_varchar2
6341 ,p_cag_segment6 in varchar2 default hr_api.g_varchar2
6342 ,p_cag_segment7 in varchar2 default hr_api.g_varchar2
6343 ,p_cag_segment8 in varchar2 default hr_api.g_varchar2
6344 ,p_cag_segment9 in varchar2 default hr_api.g_varchar2
6345 ,p_cag_segment10 in varchar2 default hr_api.g_varchar2
6346 ,p_cag_segment11 in varchar2 default hr_api.g_varchar2
6347 ,p_cag_segment12 in varchar2 default hr_api.g_varchar2
6348 ,p_cag_segment13 in varchar2 default hr_api.g_varchar2
6349 ,p_cag_segment14 in varchar2 default hr_api.g_varchar2
6350 ,p_cag_segment15 in varchar2 default hr_api.g_varchar2
6351 ,p_cag_segment16 in varchar2 default hr_api.g_varchar2
6352 ,p_cag_segment17 in varchar2 default hr_api.g_varchar2
6353 ,p_cag_segment18 in varchar2 default hr_api.g_varchar2
6354 ,p_cag_segment19 in varchar2 default hr_api.g_varchar2
6355 ,p_cag_segment20 in varchar2 default hr_api.g_varchar2
6356 ,p_notice_period in number default hr_api.g_number
6357 ,p_notice_period_uom in varchar2 default hr_api.g_varchar2
6358 ,p_employee_category in varchar2 default hr_api.g_varchar2
6359 ,p_work_at_home in varchar2 default hr_api.g_varchar2
6360 ,p_job_post_source_name in varchar2 default hr_api.g_varchar2
6361 ,p_posting_content_id in number default hr_api.g_number
6362 ,p_applicant_rank in number default hr_api.g_number
6363 ,p_grade_ladder_pgm_id in number default hr_api.g_number
6364 ,p_supervisor_assignment_id in number default hr_api.g_number
6365 ,p_cagr_grade_def_id in out nocopy number
6366 ,p_cagr_concatenated_segments out nocopy varchar2
6367 ,p_group_name out nocopy varchar2
6368 ,p_comment_id out nocopy number
6369 ,p_people_group_id in out nocopy number
6370 ,p_soft_coding_keyflex_id in out nocopy number
6371 ,p_effective_start_date out nocopy date
6372 ,p_effective_end_date out nocopy date
6373 );
6374 --
6375 -- ----------------------------------------------------------------------------
6376 -- |------------------------------< update_apl_asg >--------------------------|
6377 -- ----------------------------------------------------------------------------
6378 --
6379 -- This version of the API is now out-of-date however it has been provided to
6380 -- you for backward compatibility support and will be removed in the future.
6381 -- Oracle recommends you to modify existing calling programs in advance of the
6382 -- support being withdrawn thus avoiding any potential disruption.
6383 --
6384 procedure update_apl_asg
6385 (p_validate in boolean default false
6386 ,p_effective_date in date
6387 ,p_datetrack_update_mode in varchar2
6388 ,p_assignment_id in number
6389 ,p_object_version_number in out nocopy number
6390 ,p_grade_id in number default hr_api.g_number
6391 ,p_job_id in number default hr_api.g_number
6392 ,p_location_id in number default hr_api.g_number
6393 ,p_organization_id in number default hr_api.g_number
6394 ,p_position_id in number default hr_api.g_number
6395 ,p_application_id in number default hr_api.g_number
6396 ,p_recruiter_id in number default hr_api.g_number
6397 ,p_recruitment_activity_id in number default hr_api.g_number
6398 ,p_vacancy_id in number default hr_api.g_number
6399 ,p_person_referred_by_id in number default hr_api.g_number
6400 ,p_supervisor_id in number default hr_api.g_number
6401 ,p_source_organization_id in number default hr_api.g_number
6402 ,p_change_reason in varchar2 default hr_api.g_varchar2
6403 ,p_frequency in varchar2 default hr_api.g_varchar2
6404 ,p_manager_flag in varchar2 default hr_api.g_varchar2
6405 ,p_normal_hours in number default hr_api.g_number
6406 ,p_probation_period in number default hr_api.g_number
6407 ,p_probation_unit in varchar2 default hr_api.g_varchar2
6408 ,p_source_type in varchar2 default hr_api.g_varchar2
6409 ,p_time_normal_finish in varchar2 default hr_api.g_varchar2
6410 ,p_time_normal_start in varchar2 default hr_api.g_varchar2
6411 ,p_comments in varchar2 default hr_api.g_varchar2
6412 ,p_date_probation_end in date default hr_api.g_date
6413 ,p_title in varchar2 default hr_api.g_varchar2
6414 ,p_ass_attribute_category in varchar2 default hr_api.g_varchar2
6415 ,p_ass_attribute1 in varchar2 default hr_api.g_varchar2
6416 ,p_ass_attribute2 in varchar2 default hr_api.g_varchar2
6417 ,p_ass_attribute3 in varchar2 default hr_api.g_varchar2
6418 ,p_ass_attribute4 in varchar2 default hr_api.g_varchar2
6419 ,p_ass_attribute5 in varchar2 default hr_api.g_varchar2
6420 ,p_ass_attribute6 in varchar2 default hr_api.g_varchar2
6421 ,p_ass_attribute7 in varchar2 default hr_api.g_varchar2
6422 ,p_ass_attribute8 in varchar2 default hr_api.g_varchar2
6423 ,p_ass_attribute9 in varchar2 default hr_api.g_varchar2
6424 ,p_ass_attribute10 in varchar2 default hr_api.g_varchar2
6425 ,p_ass_attribute11 in varchar2 default hr_api.g_varchar2
6426 ,p_ass_attribute12 in varchar2 default hr_api.g_varchar2
6427 ,p_ass_attribute13 in varchar2 default hr_api.g_varchar2
6428 ,p_ass_attribute14 in varchar2 default hr_api.g_varchar2
6429 ,p_ass_attribute15 in varchar2 default hr_api.g_varchar2
6430 ,p_ass_attribute16 in varchar2 default hr_api.g_varchar2
6431 ,p_ass_attribute17 in varchar2 default hr_api.g_varchar2
6432 ,p_ass_attribute18 in varchar2 default hr_api.g_varchar2
6433 ,p_ass_attribute19 in varchar2 default hr_api.g_varchar2
6434 ,p_ass_attribute20 in varchar2 default hr_api.g_varchar2
6435 ,p_ass_attribute21 in varchar2 default hr_api.g_varchar2
6436 ,p_ass_attribute22 in varchar2 default hr_api.g_varchar2
6437 ,p_ass_attribute23 in varchar2 default hr_api.g_varchar2
6438 ,p_ass_attribute24 in varchar2 default hr_api.g_varchar2
6439 ,p_ass_attribute25 in varchar2 default hr_api.g_varchar2
6440 ,p_ass_attribute26 in varchar2 default hr_api.g_varchar2
6441 ,p_ass_attribute27 in varchar2 default hr_api.g_varchar2
6442 ,p_ass_attribute28 in varchar2 default hr_api.g_varchar2
6443 ,p_ass_attribute29 in varchar2 default hr_api.g_varchar2
6444 ,p_ass_attribute30 in varchar2 default hr_api.g_varchar2
6445 ,p_segment1 in varchar2 default hr_api.g_varchar2
6446 ,p_segment2 in varchar2 default hr_api.g_varchar2
6447 ,p_segment3 in varchar2 default hr_api.g_varchar2
6448 ,p_segment4 in varchar2 default hr_api.g_varchar2
6449 ,p_segment5 in varchar2 default hr_api.g_varchar2
6450 ,p_segment6 in varchar2 default hr_api.g_varchar2
6451 ,p_segment7 in varchar2 default hr_api.g_varchar2
6452 ,p_segment8 in varchar2 default hr_api.g_varchar2
6453 ,p_segment9 in varchar2 default hr_api.g_varchar2
6454 ,p_segment10 in varchar2 default hr_api.g_varchar2
6455 ,p_segment11 in varchar2 default hr_api.g_varchar2
6456 ,p_segment12 in varchar2 default hr_api.g_varchar2
6457 ,p_segment13 in varchar2 default hr_api.g_varchar2
6458 ,p_segment14 in varchar2 default hr_api.g_varchar2
6459 ,p_segment15 in varchar2 default hr_api.g_varchar2
6460 ,p_segment16 in varchar2 default hr_api.g_varchar2
6461 ,p_segment17 in varchar2 default hr_api.g_varchar2
6462 ,p_segment18 in varchar2 default hr_api.g_varchar2
6463 ,p_segment19 in varchar2 default hr_api.g_varchar2
6464 ,p_segment20 in varchar2 default hr_api.g_varchar2
6465 ,p_segment21 in varchar2 default hr_api.g_varchar2
6466 ,p_segment22 in varchar2 default hr_api.g_varchar2
6467 ,p_segment23 in varchar2 default hr_api.g_varchar2
6468 ,p_segment24 in varchar2 default hr_api.g_varchar2
6469 ,p_segment25 in varchar2 default hr_api.g_varchar2
6470 ,p_segment26 in varchar2 default hr_api.g_varchar2
6471 ,p_segment27 in varchar2 default hr_api.g_varchar2
6472 ,p_segment28 in varchar2 default hr_api.g_varchar2
6473 ,p_segment29 in varchar2 default hr_api.g_varchar2
6474 ,p_segment30 in varchar2 default hr_api.g_varchar2
6475 ,p_supervisor_assignment_id in number default hr_api.g_number
6476 -- Bug 944911
6477 -- Amended p_concat_segments to be an in instead of in out
6478 -- ,p_concat_segments in varchar2 default hr_api.g_varchar2
6479 ,p_concatenated_segments in out nocopy varchar2
6480 ,p_comment_id out nocopy number -- in-out?
6481 ,p_people_group_id out nocopy number
6482 ,p_effective_start_date out nocopy date
6483 ,p_effective_end_date out nocopy date
6484 );
6485 --
6486 -- ----------------------------------------------------------------------------
6487 -- |-------------------------< create_secondary_apl_asg >---------------------|
6488 -- ----------------------------------------------------------------------------
6489 --
6490 -- {Start Of Comments}
6491 /*#
6492 * This API creates an additional applicant assignment.
6493 *
6494 *
6495 * <p><b>Licensing</b><br>
6496 * This API is licensed for use with Human Resources.
6497 *
6498 * <p><b>Prerequisites</b><br>
6499 * The person must exist as of the effective date. An application must be
6500 * active as of the effective date.
6501 *
6502 * <p><b>Post Success</b><br>
6503 * The API creates the applicant assignment.
6504 *
6505 * <p><b>Post Failure</b><br>
6506 * The API does not create the assignment and raises an error.
6507 * @param p_validate If true, then validation alone will be performed and the
6508 * database will remain unchanged. If false and all validation checks pass,
6509 * then the database will be modified.
6510 * @param p_effective_date Determines when the DateTrack operation comes into
6511 * force.
6512 * @param p_person_id Identifies the person for whom you create the assignment
6513 * record
6514 * @param p_organization_id Identifies the organization of the assignment
6515 * @param p_recruiter_id Recruiter for the assignment. The value refers to the
6516 * recruiter's person record.
6517 * @param p_grade_id Identifies the grade of the assignment
6518 * @param p_position_id Identifies the position of the assignment
6519 * @param p_job_id Identifies the job of the assignment
6520 * @param p_assignment_status_type_id Assignment status
6521 * @param p_payroll_id Identifies the payroll of the assignment
6522 * @param p_location_id Identifies the location of the assignment
6523 * @param p_person_referred_by_id Identifies the person record of the person
6524 * who referred the applicant.
6525 * @param p_supervisor_id Supervisor for the assignment. The value refers to
6526 * the supervisor's person record.
6527 * @param p_special_ceiling_step_id Highest allowed step for the grade scale
6528 * associated with the grade of the assignment.
6529 * @param p_recruitment_activity_id Identifies the Recruitment Activity from
6530 * which the applicant was found.
6531 * @param p_source_organization_id Identifies the Source organization.
6532 * @param p_vacancy_id Identifies the vacancy which the applicant applied for.
6533 * @param p_pay_basis_id Salary basis for the assignment
6534 * @param p_change_reason Reason for the change in the assignment. Valid values
6535 * are defined in the APL_ASSIGN_REASON lookup type.
6536 * @param p_comments Comment text.
6537 * @param p_date_probation_end End date of probation period
6538 * @param p_default_code_comb_id Identifier for the General Ledger Accounting
6539 * Flexfield combination that applies to this assignment
6540 * @param p_employment_category Employment category. Valid values are defined
6541 * in the EMP_CAT lookup type.
6542 * @param p_frequency Frequency associated with the defined normal working
6543 * hours. Valid values are defined in the FREQUENCY lookup type.
6544 * @param p_internal_address_line Internal address identified with this
6545 * assignment.
6546 * @param p_manager_flag Indicates whether the employee is a manager
6547 * @param p_normal_hours Normal working hours for this assignment
6548 * @param p_perf_review_period Length of performance review period
6549 * @param p_perf_review_period_frequency Units of performance review period.
6550 * Valid values are defined in the FREQUENCY lookup type.
6551 * @param p_probation_period Length of probation period
6552 * @param p_probation_unit Units of probation period. Valid values are defined
6553 * in the QUALIFYING_UNITS lookup type.
6554 * @param p_sal_review_period Length of salary review period
6555 * @param p_sal_review_period_frequency Units of salary review period. Valid
6556 * values are defined in the FREQUENCY lookup type.
6557 * @param p_set_of_books_id Identifies General Ledger set of books.
6558 * @param p_source_type Recruitment activity which this assignment is sourced
6559 * from. Valid values are defined in the REC_TYPE lookup type.
6560 * @param p_time_normal_finish Normal work finish time
6561 * @param p_time_normal_start Normal work start time
6562 * @param p_bargaining_unit_code Code for bargaining unit. Valid values are
6563 * defined in the BARGAINING_UNIT_CODE lookup type.
6564 * @param p_ass_attribute_category This context value determines which
6565 * Flexfield Structure to use with the Descriptive flexfield segments.
6566 * @param p_ass_attribute1 Descriptive flexfield segment
6567 * @param p_ass_attribute2 Descriptive flexfield segment
6568 * @param p_ass_attribute3 Descriptive flexfield segment
6569 * @param p_ass_attribute4 Descriptive flexfield segment
6570 * @param p_ass_attribute5 Descriptive flexfield segment
6571 * @param p_ass_attribute6 Descriptive flexfield segment
6572 * @param p_ass_attribute7 Descriptive flexfield segment
6573 * @param p_ass_attribute8 Descriptive flexfield segment
6574 * @param p_ass_attribute9 Descriptive flexfield segment
6575 * @param p_ass_attribute10 Descriptive flexfield segment
6576 * @param p_ass_attribute11 Descriptive flexfield segment
6577 * @param p_ass_attribute12 Descriptive flexfield segment
6578 * @param p_ass_attribute13 Descriptive flexfield segment
6579 * @param p_ass_attribute14 Descriptive flexfield segment
6580 * @param p_ass_attribute15 Descriptive flexfield segment
6581 * @param p_ass_attribute16 Descriptive flexfield segment
6582 * @param p_ass_attribute17 Descriptive flexfield segment
6583 * @param p_ass_attribute18 Descriptive flexfield segment
6584 * @param p_ass_attribute19 Descriptive flexfield segment
6585 * @param p_ass_attribute20 Descriptive flexfield segment
6586 * @param p_ass_attribute21 Descriptive flexfield segment
6587 * @param p_ass_attribute22 Descriptive flexfield segment
6588 * @param p_ass_attribute23 Descriptive flexfield segment
6589 * @param p_ass_attribute24 Descriptive flexfield segment
6590 * @param p_ass_attribute25 Descriptive flexfield segment
6591 * @param p_ass_attribute26 Descriptive flexfield segment
6592 * @param p_ass_attribute27 Descriptive flexfield segment
6593 * @param p_ass_attribute28 Descriptive flexfield segment
6594 * @param p_ass_attribute29 Descriptive flexfield segment
6595 * @param p_ass_attribute30 Descriptive flexfield segment
6596 * @param p_title Obsolete parameter, do not use.
6597 * @param p_scl_segment1 Soft Coded key flexfield segment
6598 * @param p_scl_segment2 Soft Coded key flexfield segment
6599 * @param p_scl_segment3 Soft Coded key flexfield segment
6600 * @param p_scl_segment4 Soft Coded key flexfield segment
6601 * @param p_scl_segment5 Soft Coded key flexfield segment
6602 * @param p_scl_segment6 Soft Coded key flexfield segment
6603 * @param p_scl_segment7 Soft Coded key flexfield segment
6604 * @param p_scl_segment8 Soft Coded key flexfield segment
6605 * @param p_scl_segment9 Soft Coded key flexfield segment
6606 * @param p_scl_segment10 Soft Coded key flexfield segment
6607 * @param p_scl_segment11 Soft Coded key flexfield segment
6608 * @param p_scl_segment12 Soft Coded key flexfield segment
6609 * @param p_scl_segment13 Soft Coded key flexfield segment
6610 * @param p_scl_segment14 Soft Coded key flexfield segment
6611 * @param p_scl_segment15 Soft Coded key flexfield segment
6612 * @param p_scl_segment16 Soft Coded key flexfield segment
6613 * @param p_scl_segment17 Soft Coded key flexfield segment
6614 * @param p_scl_segment18 Soft Coded key flexfield segment
6615 * @param p_scl_segment19 Soft Coded key flexfield segment
6616 * @param p_scl_segment20 Soft Coded key flexfield segment
6617 * @param p_scl_segment21 Soft Coded key flexfield segment
6618 * @param p_scl_segment22 Soft Coded key flexfield segment
6619 * @param p_scl_segment23 Soft Coded key flexfield segment
6620 * @param p_scl_segment24 Soft Coded key flexfield segment
6621 * @param p_scl_segment25 Soft Coded key flexfield segment
6622 * @param p_scl_segment26 Soft Coded key flexfield segment
6623 * @param p_scl_segment27 Soft Coded key flexfield segment
6624 * @param p_scl_segment28 Soft Coded key flexfield segment
6625 * @param p_scl_segment29 Soft Coded key flexfield segment
6626 * @param p_scl_segment30 Soft Coded key flexfield segment
6627 * @param p_scl_concat_segments Concatenated segments for Soft Coded Key
6628 * Flexfield. Concatenated segments can be supplied instead of individual
6629 * segments.
6630 * @param p_concatenated_segments If p_validate is false, set to Soft Coded Key
6631 * Flexfield concatenated segments, if p_validate is true, set to null.
6632 * @param p_pgp_segment1 People group key flexfield segment
6633 * @param p_pgp_segment2 People group key flexfield segment
6634 * @param p_pgp_segment3 People group key flexfield segment
6635 * @param p_pgp_segment4 People group key flexfield segment
6636 * @param p_pgp_segment5 People group key flexfield segment
6637 * @param p_pgp_segment6 People group key flexfield segment
6638 * @param p_pgp_segment7 People group key flexfield segment
6639 * @param p_pgp_segment8 People group key flexfield segment
6640 * @param p_pgp_segment9 People group key flexfield segment
6641 * @param p_pgp_segment10 People group key flexfield segment
6642 * @param p_pgp_segment11 People group key flexfield segment
6643 * @param p_pgp_segment12 People group key flexfield segment
6644 * @param p_pgp_segment13 People group key flexfield segment
6645 * @param p_pgp_segment14 People group key flexfield segment
6646 * @param p_pgp_segment15 People group key flexfield segment
6647 * @param p_pgp_segment16 People group key flexfield segment
6648 * @param p_pgp_segment17 People group key flexfield segment
6649 * @param p_pgp_segment18 People group key flexfield segment
6650 * @param p_pgp_segment19 People group key flexfield segment
6651 * @param p_pgp_segment20 People group key flexfield segment
6652 * @param p_pgp_segment21 People group key flexfield segment
6653 * @param p_pgp_segment22 People group key flexfield segment
6654 * @param p_pgp_segment23 People group key flexfield segment
6655 * @param p_pgp_segment24 People group key flexfield segment
6656 * @param p_pgp_segment25 People group key flexfield segment
6657 * @param p_pgp_segment26 People group key flexfield segment
6658 * @param p_pgp_segment27 People group key flexfield segment
6659 * @param p_pgp_segment28 People group key flexfield segment
6660 * @param p_pgp_segment29 People group key flexfield segment
6661 * @param p_pgp_segment30 People group key flexfield segment
6662 * @param p_concat_segments Concatenated segments for People Group Key
6663 * Flexfield. Concatenated segments can be supplied instead of individual
6664 * segments.
6665 * @param p_contract_id Contract associated with this assignment
6666 * @param p_establishment_id For French business groups, this identifies the
6667 * Establishment Legal Entity for this assignment.
6668 * @param p_collective_agreement_id Collective Agreement that applies to this
6669 * assignment
6670 * @param p_cagr_id_flex_num Identifier for the structure from CAGR Key
6671 * flexfield to use for this assignment
6672 * @param p_cag_segment1 CAGR Key Flexfield segment
6673 * @param p_cag_segment2 CAGR Key Flexfield segment
6674 * @param p_cag_segment3 CAGR Key Flexfield segment
6675 * @param p_cag_segment4 CAGR Key Flexfield segment
6676 * @param p_cag_segment5 CAGR Key Flexfield segment
6677 * @param p_cag_segment6 CAGR Key Flexfield segment
6678 * @param p_cag_segment7 CAGR Key Flexfield segment
6679 * @param p_cag_segment8 CAGR Key Flexfield segment
6680 * @param p_cag_segment9 CAGR Key Flexfield segment
6681 * @param p_cag_segment10 CAGR Key Flexfield segment
6682 * @param p_cag_segment11 CAGR Key Flexfield segment
6683 * @param p_cag_segment12 CAGR Key Flexfield segment
6684 * @param p_cag_segment13 CAGR Key Flexfield segment
6685 * @param p_cag_segment14 CAGR Key Flexfield segment
6686 * @param p_cag_segment15 CAGR Key Flexfield segment
6687 * @param p_cag_segment16 CAGR Key Flexfield segment
6688 * @param p_cag_segment17 CAGR Key Flexfield segment
6689 * @param p_cag_segment18 CAGR Key Flexfield segment
6690 * @param p_cag_segment19 CAGR Key Flexfield segment
6691 * @param p_cag_segment20 CAGR Key Flexfield segment
6692 * @param p_notice_period Length of notice period
6693 * @param p_notice_period_uom Units for notice period. Valid values are defined
6694 * in the QUALIFYING_UNITS lookup type.
6695 * @param p_employee_category Employee Category. Valid values are defined in
6696 * the EMPLOYEE_CATG lookup type.
6697 * @param p_work_at_home Indicate whether this assignment is to work at home.
6698 * Valid values are defined in the YES_NO lookup type.
6699 * @param p_job_post_source_name Name of the source of the job posting which
6700 * was answered for this assignment.
6701 * @param p_applicant_rank Applicant's rank.
6702 * @param p_posting_content_id Identifies the posting to which the applicant
6703 * has applied.
6704 * @param p_grade_ladder_pgm_id Grade Ladder for this assignment
6705 * @param p_supervisor_assignment_id Supervisor's assignment which is
6706 * responsible for supervising this assignment.
6707 * @param p_cagr_grade_def_id If a value is passed in for this parameter, it
6708 * identifies an existing CAGR Key Flexfield combination to associate with the
6709 * assignment, and segment values are ignored. If a value is not passed in,
6710 * then the individual CAGR Key Flexfield segments supplied will be used to
6711 * choose an existing combination or create a new combination. When the API
6712 * completes, if p_validate is false, then this uniquely identifies the
6713 * associated combination of the CAGR Key flexfield for this assignment. If
6714 * p_validate is true, then set to null.
6715 * @param p_cagr_concatenated_segments If p_validate is false, set to the
6716 * concatenation of all CAGR Key Flexfield segments. If p_validate is true, set
6717 * to null.
6718 * @param p_group_name If p_validate is false, set to the People Group Key
6719 * Flexfield concatenated segments. If p_validate is true, set to null.
6720 * @param p_assignment_id If p_validate is false, then this uniquely identifies
6721 * the created assignment. If p_validate is true, then set to null.
6722 * @param p_people_group_id If a value is passed in for this parameter, it
6723 * identifies an existing People Group Key Flexfield combination to associate
6724 * with the assignment, and segment values are ignored. If a value is not
6725 * passed in, then the individual People Group Key Flexfield segments supplied
6726 * will be used to choose an existing combination or create a new combination.
6727 * When the API completes, if p_validate is false, then this uniquely
6728 * identifies the associated combination of the People Group Key flexfield for
6729 * this assignment. If p_validate is true, then set to null.
6730 * @param p_soft_coding_keyflex_id If a value is passed in for this parameter,
6731 * it identifies an existing Soft Coded Key Flexfield combination to associate
6732 * with the assignment, and segment values are ignored. If a value is not
6733 * passed in, then the individual Soft Coded Key Flexfield segments supplied
6734 * will be used to choose an existing combination or create a new combination.
6735 * When the API completes, if p_validate is false, then this uniquely
6736 * identifies the associated combination of the Soft Coded Key flexfield for
6737 * this assignment. If p_validate is true, then set to null.
6738 * @param p_comment_id If p_validate is false and comment text was provided,
6739 * then will be set to the identifier of the created assignment comment record.
6740 * If p_validate is true or no comment text was provided, then will be null.
6741 * @param p_object_version_number If p_validate is false, then set to the
6742 * version number of the created assignment. If p_validate is true, then the
6743 * value will be null.
6744 * @param p_effective_start_date If p_validate is false, then set to the
6745 * earliest effective start date for the created assignment. If p_validate is
6746 * true, then set to null.
6747 * @param p_effective_end_date If p_validate is false, then set to the
6748 * effective end date for the created assignment. If p_validate is true, then
6749 * set to null.
6750 * @param p_assignment_sequence If p_validate is false, set to assignment
6751 * sequence number. If p_validate is true, set to null.
6752 * @param p_appl_override_warning This value returns TRUE if any future
6753 * applications have been overriden.
6754 * @rep:displayname Create Secondary Applicant Assignment
6755 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
6756 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
6757 * @rep:scope public
6758 * @rep:lifecycle active
6759 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
6760 */
6761 --
6762 -- {End Of Comments}
6763 --
6764 procedure create_secondary_apl_asg
6765 (p_validate in boolean default false
6766 ,p_effective_date in date
6767 ,p_person_id in number
6768 ,p_organization_id in number
6769 ,p_recruiter_id in number default null
6770 ,p_grade_id in number default null
6771 ,p_position_id in number default null
6772 ,p_job_id in number default null
6773 ,p_assignment_status_type_id in number default null
6774 ,p_payroll_id in number default null
6775 ,p_location_id in number default null
6776 ,p_person_referred_by_id in number default null
6777 ,p_supervisor_id in number default null
6778 ,p_special_ceiling_step_id in number default null
6779 ,p_recruitment_activity_id in number default null
6780 ,p_source_organization_id in number default null
6781 ,p_vacancy_id in number default null
6782 ,p_pay_basis_id in number default null
6783 ,p_change_reason in varchar2 default null
6784 ,p_comments in varchar2 default null
6785 ,p_date_probation_end in date default null
6786 ,p_default_code_comb_id in number default null
6787 ,p_employment_category in varchar2 default null
6788 ,p_frequency in varchar2 default null
6789 ,p_internal_address_line in varchar2 default null
6790 ,p_manager_flag in varchar2 default 'N'
6791 ,p_normal_hours in number default null
6792 ,p_perf_review_period in number default null
6793 ,p_perf_review_period_frequency in varchar2 default null
6794 ,p_probation_period in number default null
6795 ,p_probation_unit in varchar2 default null
6796 ,p_sal_review_period in number default null
6797 ,p_sal_review_period_frequency in varchar2 default null
6798 ,p_set_of_books_id in number default null
6799 ,p_source_type in varchar2 default null
6800 ,p_time_normal_finish in varchar2 default null
6801 ,p_time_normal_start in varchar2 default null
6802 ,p_bargaining_unit_code in varchar2 default null
6803 ,p_ass_attribute_category in varchar2 default null
6804 ,p_ass_attribute1 in varchar2 default null
6805 ,p_ass_attribute2 in varchar2 default null
6806 ,p_ass_attribute3 in varchar2 default null
6807 ,p_ass_attribute4 in varchar2 default null
6808 ,p_ass_attribute5 in varchar2 default null
6809 ,p_ass_attribute6 in varchar2 default null
6810 ,p_ass_attribute7 in varchar2 default null
6811 ,p_ass_attribute8 in varchar2 default null
6812 ,p_ass_attribute9 in varchar2 default null
6813 ,p_ass_attribute10 in varchar2 default null
6814 ,p_ass_attribute11 in varchar2 default null
6815 ,p_ass_attribute12 in varchar2 default null
6816 ,p_ass_attribute13 in varchar2 default null
6817 ,p_ass_attribute14 in varchar2 default null
6818 ,p_ass_attribute15 in varchar2 default null
6819 ,p_ass_attribute16 in varchar2 default null
6820 ,p_ass_attribute17 in varchar2 default null
6821 ,p_ass_attribute18 in varchar2 default null
6822 ,p_ass_attribute19 in varchar2 default null
6823 ,p_ass_attribute20 in varchar2 default null
6824 ,p_ass_attribute21 in varchar2 default null
6825 ,p_ass_attribute22 in varchar2 default null
6826 ,p_ass_attribute23 in varchar2 default null
6827 ,p_ass_attribute24 in varchar2 default null
6828 ,p_ass_attribute25 in varchar2 default null
6829 ,p_ass_attribute26 in varchar2 default null
6830 ,p_ass_attribute27 in varchar2 default null
6831 ,p_ass_attribute28 in varchar2 default null
6832 ,p_ass_attribute29 in varchar2 default null
6833 ,p_ass_attribute30 in varchar2 default null
6834 ,p_title in varchar2 default null
6835 ,p_scl_segment1 in varchar2 default null
6836 ,p_scl_segment2 in varchar2 default null
6837 ,p_scl_segment3 in varchar2 default null
6838 ,p_scl_segment4 in varchar2 default null
6839 ,p_scl_segment5 in varchar2 default null
6840 ,p_scl_segment6 in varchar2 default null
6841 ,p_scl_segment7 in varchar2 default null
6842 ,p_scl_segment8 in varchar2 default null
6843 ,p_scl_segment9 in varchar2 default null
6844 ,p_scl_segment10 in varchar2 default null
6845 ,p_scl_segment11 in varchar2 default null
6846 ,p_scl_segment12 in varchar2 default null
6847 ,p_scl_segment13 in varchar2 default null
6848 ,p_scl_segment14 in varchar2 default null
6849 ,p_scl_segment15 in varchar2 default null
6850 ,p_scl_segment16 in varchar2 default null
6851 ,p_scl_segment17 in varchar2 default null
6852 ,p_scl_segment18 in varchar2 default null
6853 ,p_scl_segment19 in varchar2 default null
6854 ,p_scl_segment20 in varchar2 default null
6855 ,p_scl_segment21 in varchar2 default null
6856 ,p_scl_segment22 in varchar2 default null
6857 ,p_scl_segment23 in varchar2 default null
6858 ,p_scl_segment24 in varchar2 default null
6859 ,p_scl_segment25 in varchar2 default null
6860 ,p_scl_segment26 in varchar2 default null
6861 ,p_scl_segment27 in varchar2 default null
6862 ,p_scl_segment28 in varchar2 default null
6863 ,p_scl_segment29 in varchar2 default null
6864 ,p_scl_segment30 in varchar2 default null
6865 -- Bug 944911
6866 -- Amended p_scl_concatenated_segments to be an out instead of in out
6867 -- Added new param p_scl_concat_segments
6868 -- Amended p_scl_concatenated_segments to be p_concatenated_segments
6869 ,p_scl_concat_segments in varchar2 default null
6870 ,p_concatenated_segments out nocopy varchar2
6871 ,p_pgp_segment1 in varchar2 default null
6872 ,p_pgp_segment2 in varchar2 default null
6873 ,p_pgp_segment3 in varchar2 default null
6874 ,p_pgp_segment4 in varchar2 default null
6875 ,p_pgp_segment5 in varchar2 default null
6876 ,p_pgp_segment6 in varchar2 default null
6877 ,p_pgp_segment7 in varchar2 default null
6878 ,p_pgp_segment8 in varchar2 default null
6879 ,p_pgp_segment9 in varchar2 default null
6880 ,p_pgp_segment10 in varchar2 default null
6881 ,p_pgp_segment11 in varchar2 default null
6882 ,p_pgp_segment12 in varchar2 default null
6883 ,p_pgp_segment13 in varchar2 default null
6884 ,p_pgp_segment14 in varchar2 default null
6885 ,p_pgp_segment15 in varchar2 default null
6886 ,p_pgp_segment16 in varchar2 default null
6887 ,p_pgp_segment17 in varchar2 default null
6888 ,p_pgp_segment18 in varchar2 default null
6889 ,p_pgp_segment19 in varchar2 default null
6890 ,p_pgp_segment20 in varchar2 default null
6891 ,p_pgp_segment21 in varchar2 default null
6892 ,p_pgp_segment22 in varchar2 default null
6893 ,p_pgp_segment23 in varchar2 default null
6894 ,p_pgp_segment24 in varchar2 default null
6895 ,p_pgp_segment25 in varchar2 default null
6896 ,p_pgp_segment26 in varchar2 default null
6897 ,p_pgp_segment27 in varchar2 default null
6898 ,p_pgp_segment28 in varchar2 default null
6899 ,p_pgp_segment29 in varchar2 default null
6900 ,p_pgp_segment30 in varchar2 default null
6901 -- Bug 944911
6902 -- Amended p_group_name to out
6903 -- Added new param p_pgp_concat_segments - for sec asg procs
6904 -- for others added p_concat_segments
6905 ,p_concat_segments in varchar2 default null
6906 ,p_contract_id in number default null
6907 ,p_establishment_id in number default null
6908 ,p_collective_agreement_id in number default null
6909 ,p_cagr_id_flex_num in number default null
6910 ,p_cag_segment1 in varchar2 default null
6911 ,p_cag_segment2 in varchar2 default null
6912 ,p_cag_segment3 in varchar2 default null
6913 ,p_cag_segment4 in varchar2 default null
6914 ,p_cag_segment5 in varchar2 default null
6915 ,p_cag_segment6 in varchar2 default null
6916 ,p_cag_segment7 in varchar2 default null
6917 ,p_cag_segment8 in varchar2 default null
6918 ,p_cag_segment9 in varchar2 default null
6919 ,p_cag_segment10 in varchar2 default null
6920 ,p_cag_segment11 in varchar2 default null
6921 ,p_cag_segment12 in varchar2 default null
6922 ,p_cag_segment13 in varchar2 default null
6923 ,p_cag_segment14 in varchar2 default null
6924 ,p_cag_segment15 in varchar2 default null
6925 ,p_cag_segment16 in varchar2 default null
6926 ,p_cag_segment17 in varchar2 default null
6927 ,p_cag_segment18 in varchar2 default null
6928 ,p_cag_segment19 in varchar2 default null
6929 ,p_cag_segment20 in varchar2 default null
6930 ,p_notice_period in number default null
6931 ,p_notice_period_uom in varchar2 default null
6932 ,p_employee_category in varchar2 default null
6933 ,p_work_at_home in varchar2 default null
6934 ,p_job_post_source_name in varchar2 default null
6935 ,p_applicant_rank in number default null
6936 ,p_posting_content_id in number default null
6937 ,p_grade_ladder_pgm_id in number default null
6938 ,p_supervisor_assignment_id in number default null
6939 ,p_cagr_grade_def_id in out nocopy number
6940 ,p_cagr_concatenated_segments out nocopy varchar2
6941 ,p_group_name out nocopy varchar2
6942 ,p_assignment_id out nocopy number
6943 ,p_people_group_id in out nocopy number
6944 ,p_soft_coding_keyflex_id in out nocopy number
6945 ,p_comment_id out nocopy number
6946 ,p_object_version_number out nocopy number
6947 ,p_effective_start_date out nocopy date
6948 ,p_effective_end_date out nocopy date
6949 ,p_assignment_sequence out nocopy number
6950 ,p_appl_override_warning OUT NOCOPY boolean -- 3652025
6951 );
6952 --
6953 -- ----------------------------------------------------------------------------
6954 -- |-------------------------< create_secondary_apl_asg >---------------------|
6955 -- ----------------------------------------------------------------------------
6956 --
6957 -- This version of the API is now out-of-date however it has been provided to
6958 -- you for backward compatibility support and will be removed in the future.
6959 -- Oracle recommends you to modify existing calling programs in advance of the
6960 -- support being withdrawn thus avoiding any potential disruption.
6961 --
6962 procedure create_secondary_apl_asg
6963 (p_validate in boolean default false
6964 ,p_effective_date in date
6965 ,p_person_id in number
6966 ,p_organization_id in number
6967 ,p_recruiter_id in number default null
6968 ,p_grade_id in number default null
6969 ,p_position_id in number default null
6970 ,p_job_id in number default null
6971 ,p_assignment_status_type_id in number default null
6972 ,p_payroll_id in number default null
6973 ,p_location_id in number default null
6974 ,p_person_referred_by_id in number default null
6975 ,p_supervisor_id in number default null
6976 ,p_special_ceiling_step_id in number default null
6977 ,p_recruitment_activity_id in number default null
6978 ,p_source_organization_id in number default null
6979 ,p_vacancy_id in number default null
6980 ,p_pay_basis_id in number default null
6981 ,p_change_reason in varchar2 default null
6982 ,p_comments in varchar2 default null
6983 ,p_date_probation_end in date default null
6984 ,p_default_code_comb_id in number default null
6985 ,p_employment_category in varchar2 default null
6986 ,p_frequency in varchar2 default null
6987 ,p_internal_address_line in varchar2 default null
6988 ,p_manager_flag in varchar2 default 'N'
6989 ,p_normal_hours in number default null
6990 ,p_perf_review_period in number default null
6991 ,p_perf_review_period_frequency in varchar2 default null
6992 ,p_probation_period in number default null
6993 ,p_probation_unit in varchar2 default null
6994 ,p_sal_review_period in number default null
6995 ,p_sal_review_period_frequency in varchar2 default null
6996 ,p_set_of_books_id in number default null
6997 ,p_source_type in varchar2 default null
6998 ,p_time_normal_finish in varchar2 default null
6999 ,p_time_normal_start in varchar2 default null
7000 ,p_bargaining_unit_code in varchar2 default null
7001 ,p_ass_attribute_category in varchar2 default null
7002 ,p_ass_attribute1 in varchar2 default null
7003 ,p_ass_attribute2 in varchar2 default null
7004 ,p_ass_attribute3 in varchar2 default null
7005 ,p_ass_attribute4 in varchar2 default null
7006 ,p_ass_attribute5 in varchar2 default null
7007 ,p_ass_attribute6 in varchar2 default null
7008 ,p_ass_attribute7 in varchar2 default null
7009 ,p_ass_attribute8 in varchar2 default null
7010 ,p_ass_attribute9 in varchar2 default null
7011 ,p_ass_attribute10 in varchar2 default null
7012 ,p_ass_attribute11 in varchar2 default null
7013 ,p_ass_attribute12 in varchar2 default null
7014 ,p_ass_attribute13 in varchar2 default null
7015 ,p_ass_attribute14 in varchar2 default null
7016 ,p_ass_attribute15 in varchar2 default null
7017 ,p_ass_attribute16 in varchar2 default null
7018 ,p_ass_attribute17 in varchar2 default null
7019 ,p_ass_attribute18 in varchar2 default null
7020 ,p_ass_attribute19 in varchar2 default null
7021 ,p_ass_attribute20 in varchar2 default null
7022 ,p_ass_attribute21 in varchar2 default null
7023 ,p_ass_attribute22 in varchar2 default null
7024 ,p_ass_attribute23 in varchar2 default null
7025 ,p_ass_attribute24 in varchar2 default null
7026 ,p_ass_attribute25 in varchar2 default null
7027 ,p_ass_attribute26 in varchar2 default null
7028 ,p_ass_attribute27 in varchar2 default null
7029 ,p_ass_attribute28 in varchar2 default null
7030 ,p_ass_attribute29 in varchar2 default null
7031 ,p_ass_attribute30 in varchar2 default null
7032 ,p_title in varchar2 default null
7033 ,p_scl_segment1 in varchar2 default null
7034 ,p_scl_segment2 in varchar2 default null
7035 ,p_scl_segment3 in varchar2 default null
7036 ,p_scl_segment4 in varchar2 default null
7037 ,p_scl_segment5 in varchar2 default null
7038 ,p_scl_segment6 in varchar2 default null
7039 ,p_scl_segment7 in varchar2 default null
7040 ,p_scl_segment8 in varchar2 default null
7041 ,p_scl_segment9 in varchar2 default null
7042 ,p_scl_segment10 in varchar2 default null
7043 ,p_scl_segment11 in varchar2 default null
7044 ,p_scl_segment12 in varchar2 default null
7045 ,p_scl_segment13 in varchar2 default null
7046 ,p_scl_segment14 in varchar2 default null
7047 ,p_scl_segment15 in varchar2 default null
7048 ,p_scl_segment16 in varchar2 default null
7049 ,p_scl_segment17 in varchar2 default null
7050 ,p_scl_segment18 in varchar2 default null
7051 ,p_scl_segment19 in varchar2 default null
7052 ,p_scl_segment20 in varchar2 default null
7053 ,p_scl_segment21 in varchar2 default null
7054 ,p_scl_segment22 in varchar2 default null
7055 ,p_scl_segment23 in varchar2 default null
7056 ,p_scl_segment24 in varchar2 default null
7057 ,p_scl_segment25 in varchar2 default null
7058 ,p_scl_segment26 in varchar2 default null
7059 ,p_scl_segment27 in varchar2 default null
7060 ,p_scl_segment28 in varchar2 default null
7061 ,p_scl_segment29 in varchar2 default null
7062 ,p_scl_segment30 in varchar2 default null
7063 -- Bug 944911
7064 -- Amended p_scl_concatenated_segments to be an out instead of in out
7065 -- Added new param p_scl_concat_segments
7066 -- Amended p_scl_concatenated_segments to be p_concatenated_segments
7067 ,p_scl_concat_segments in varchar2 default null
7068 ,p_concatenated_segments out nocopy varchar2
7069 ,p_pgp_segment1 in varchar2 default null
7070 ,p_pgp_segment2 in varchar2 default null
7071 ,p_pgp_segment3 in varchar2 default null
7072 ,p_pgp_segment4 in varchar2 default null
7073 ,p_pgp_segment5 in varchar2 default null
7074 ,p_pgp_segment6 in varchar2 default null
7075 ,p_pgp_segment7 in varchar2 default null
7076 ,p_pgp_segment8 in varchar2 default null
7077 ,p_pgp_segment9 in varchar2 default null
7078 ,p_pgp_segment10 in varchar2 default null
7079 ,p_pgp_segment11 in varchar2 default null
7080 ,p_pgp_segment12 in varchar2 default null
7081 ,p_pgp_segment13 in varchar2 default null
7082 ,p_pgp_segment14 in varchar2 default null
7083 ,p_pgp_segment15 in varchar2 default null
7084 ,p_pgp_segment16 in varchar2 default null
7085 ,p_pgp_segment17 in varchar2 default null
7086 ,p_pgp_segment18 in varchar2 default null
7087 ,p_pgp_segment19 in varchar2 default null
7088 ,p_pgp_segment20 in varchar2 default null
7089 ,p_pgp_segment21 in varchar2 default null
7090 ,p_pgp_segment22 in varchar2 default null
7091 ,p_pgp_segment23 in varchar2 default null
7092 ,p_pgp_segment24 in varchar2 default null
7093 ,p_pgp_segment25 in varchar2 default null
7094 ,p_pgp_segment26 in varchar2 default null
7095 ,p_pgp_segment27 in varchar2 default null
7096 ,p_pgp_segment28 in varchar2 default null
7097 ,p_pgp_segment29 in varchar2 default null
7098 ,p_pgp_segment30 in varchar2 default null
7099 -- Bug 944911
7100 -- Amended p_group_name to out
7101 -- Added new param p_pgp_concat_segments - for sec asg procs
7102 -- for others added p_concat_segments
7103 ,p_concat_segments in varchar2 default null
7104 ,p_contract_id in number default null
7105 ,p_establishment_id in number default null
7106 ,p_collective_agreement_id in number default null
7107 ,p_cagr_id_flex_num in number default null
7108 ,p_cag_segment1 in varchar2 default null
7109 ,p_cag_segment2 in varchar2 default null
7110 ,p_cag_segment3 in varchar2 default null
7111 ,p_cag_segment4 in varchar2 default null
7112 ,p_cag_segment5 in varchar2 default null
7113 ,p_cag_segment6 in varchar2 default null
7114 ,p_cag_segment7 in varchar2 default null
7115 ,p_cag_segment8 in varchar2 default null
7116 ,p_cag_segment9 in varchar2 default null
7117 ,p_cag_segment10 in varchar2 default null
7118 ,p_cag_segment11 in varchar2 default null
7119 ,p_cag_segment12 in varchar2 default null
7120 ,p_cag_segment13 in varchar2 default null
7121 ,p_cag_segment14 in varchar2 default null
7122 ,p_cag_segment15 in varchar2 default null
7123 ,p_cag_segment16 in varchar2 default null
7124 ,p_cag_segment17 in varchar2 default null
7125 ,p_cag_segment18 in varchar2 default null
7126 ,p_cag_segment19 in varchar2 default null
7127 ,p_cag_segment20 in varchar2 default null
7128 ,p_notice_period in number default null
7129 ,p_notice_period_uom in varchar2 default null
7130 ,p_employee_category in varchar2 default null
7131 ,p_work_at_home in varchar2 default null
7132 ,p_job_post_source_name in varchar2 default null
7133 ,p_applicant_rank in number default null
7134 ,p_posting_content_id in number default null
7135 ,p_grade_ladder_pgm_id in number default null
7136 ,p_supervisor_assignment_id in number default null
7137 ,p_cagr_grade_def_id in out nocopy number
7138 ,p_cagr_concatenated_segments out nocopy varchar2
7139 ,p_group_name out nocopy varchar2
7140 ,p_assignment_id out nocopy number
7141 ,p_people_group_id in out nocopy number
7142 ,p_soft_coding_keyflex_id in out nocopy number
7143 ,p_comment_id out nocopy number
7144 ,p_object_version_number out nocopy number
7145 ,p_effective_start_date out nocopy date
7146 ,p_effective_end_date out nocopy date
7147 ,p_assignment_sequence out nocopy number
7148 );
7149 -- ----------------------------------------------------------------------------
7150 -- |---------------------< create_secondary_apl_asg >-------------------------|
7151 -- ----------------------------------------------------------------------------
7152 -- {Start Of Comments}
7153 --
7154 -- Description:
7155 -- This API creates an additional applicant assignment for an existing
7156 -- applicant. This second assignment indicates that the person is applying
7157 -- for more than one vacancy, or is an internal transfer.
7158 -- Note this is a limited subset of the parameters for R11 compatability.
7159 --
7160 -- Prerequisites:
7161 -- The person (p_person_id) and the organization (p_organization_id)
7162 -- must exist at the effective start date of the assignment (p_effective_date).
7163 --
7164 -- In Parameters:
7165 -- Name Reqd Type Description
7166 -- p_validate boolean If true, the database remains
7167 -- unchanged. If false a valid
7168 -- assignment is created in
7169 -- the database.
7170 -- p_effective_date Yes date Effective start date of
7171 -- this assignment
7172 -- p_person_id Yes number Person identifier for this
7173 -- assignment
7174 -- p_organization_id Yes number Organization
7175 -- p_recruiter_id No number Recruiter
7176 -- p_grade_id No number Grade
7177 -- p_position_id No number Position
7178 -- p_job_id No number Job
7179 -- p_assignment_status_type_id No number Assignment status
7180 -- p_location_id No number Location
7181 -- p_person_referred_by_id No number Person who referred this
7182 -- applicant for the assignment
7183 -- p_supervisor_id No number Supervisor
7184 -- p_supervisor_assignment_id No number Supervisor's assignment
7185 -- p_recruitment_activity_id No number Recruitment Activity
7186 -- p_source_organization_id No number Source Organization
7187 -- p_vacancy_id No number Vacancy
7188 -- p_change_reason No varchar2 Reason for the change.
7189 -- If there is no change reason
7190 -- please explicitly set this to
7191 -- null. (else there is a risk
7192 -- of inadvertantly recording
7193 -- promotions - bug 2994473)
7194 -- p_comments No varchar2 Comments
7195 -- p_date_probation_end No date End date of probation period
7196 -- p_frequency No varchar2 Frequency for quoting working hours (eg per week)
7197 -- p_manager_flag No varchar2 Indicates whether assignment is a manager
7198 -- p_normal_hours No number Normal working hours
7199 -- p_probation_period No number Length of probation period
7200 -- p_probation_unit No varchar2 Units for quoting probation period (eg months)
7201 -- p_source_type No varchar2 Recruitment activity source
7202 -- p_time_normal_finish No varchar2 Normal work finish time
7203 -- p_time_normal_start No varchar2 Normal work start time
7204 -- p_ass_attribute_category No varchar2 Descriptive flexfield
7205 -- attribute category
7206 -- p_ass_attribute1 No varchar2 Descriptive flexfield
7207 -- p_ass_attribute2 No varchar2 Descriptive flexfield
7208 -- p_ass_attribute3 No varchar2 Descriptive flexfield
7209 -- p_ass_attribute4 No varchar2 Descriptive flexfield
7210 -- p_ass_attribute5 No varchar2 Descriptive flexfield
7211 -- p_ass_attribute6 No varchar2 Descriptive flexfield
7212 -- p_ass_attribute7 No varchar2 Descriptive flexfield
7213 -- p_ass_attribute8 No varchar2 Descriptive flexfield
7214 -- p_ass_attribute9 No varchar2 Descriptive flexfield
7215 -- p_ass_attribute10 No varchar2 Descriptive flexfield
7216 -- p_ass_attribute11 No varchar2 Descriptive flexfield
7217 -- p_ass_attribute12 No varchar2 Descriptive flexfield
7218 -- p_ass_attribute13 No varchar2 Descriptive flexfield
7219 -- p_ass_attribute14 No varchar2 Descriptive flexfield
7220 -- p_ass_attribute15 No varchar2 Descriptive flexfield
7221 -- p_ass_attribute16 No varchar2 Descriptive flexfield
7222 -- p_ass_attribute17 No varchar2 Descriptive flexfield
7223 -- p_ass_attribute18 No varchar2 Descriptive flexfield
7224 -- p_ass_attribute19 No varchar2 Descriptive flexfield
7225 -- p_ass_attribute20 No varchar2 Descriptive flexfield
7226 -- p_ass_attribute21 No varchar2 Descriptive flexfield
7227 -- p_ass_attribute22 No varchar2 Descriptive flexfield
7228 -- p_ass_attribute23 No varchar2 Descriptive flexfield
7229 -- p_ass_attribute24 No varchar2 Descriptive flexfield
7230 -- p_ass_attribute25 No varchar2 Descriptive flexfield
7231 -- p_ass_attribute26 No varchar2 Descriptive flexfield
7232 -- p_ass_attribute27 No varchar2 Descriptive flexfield
7233 -- p_ass_attribute28 No varchar2 Descriptive flexfield
7234 -- p_ass_attribute29 No varchar2 Descriptive flexfield
7235 -- p_ass_attribute30 No varchar2 Descriptive flexfield
7236 -- p_title No varchar2 Title -must be NULL
7237 -- p_segment1 No varchar2 People group Coding segment
7238 -- p_segment2 No varchar2 People group segment
7239 -- p_segment3 No varchar2 People group segment
7240 -- p_segment4 No varchar2 People group segment
7241 -- p_segment5 No varchar2 People group segment
7242 -- p_segment6 No varchar2 People group segment
7243 -- p_segment7 No varchar2 People group segment
7244 -- p_segment8 No varchar2 People group segment
7245 -- p_segment9 No varchar2 People group segment
7246 -- p_segment10 No varchar2 People group segment
7247 -- p_segment11 No varchar2 People group segment
7248 -- p_segment12 No varchar2 People group segment
7249 -- p_segment13 No varchar2 People group segment
7250 -- p_segment14 No varchar2 People group segment
7251 -- p_segment15 No varchar2 People group segment
7252 -- p_segment16 No varchar2 People group segment
7253 -- p_segment17 No varchar2 People group segment
7254 -- p_segment18 No varchar2 People group segment
7255 -- p_segment19 No varchar2 People group segment
7256 -- p_segment20 No varchar2 People group segment
7257 -- p_segment21 No varchar2 People group segment
7258 -- p_segment22 No varchar2 People group segment
7259 -- p_segment23 No varchar2 People group segment
7260 -- p_segment24 No varchar2 People group segment
7261 -- p_segment25 No varchar2 People group segment
7262 -- p_segment26 No varchar2 People group segment
7263 -- p_segment27 No varchar2 People group segment
7264 -- p_segment28 No varchar2 People group segment
7265 -- p_segment29 No varchar2 People group segment
7266 -- p_segment30 No varchar2 People group segment
7267 --
7268 --
7269 -- Post Success:
7270 -- The API creates the applicant assignment and set the following out
7271 -- parameters:
7272 --
7273 -- Name Type Description
7274 -- p_assignment_id number If p_validate is false, set to
7275 -- the unique ID for the assignment
7276 -- created by the API. If
7277 -- p_validate is true, set to null.
7278 -- p_people_group_id number If p_validate is false and people
7279 -- group segment values have been
7280 -- specified, set to the
7281 -- people group combination ID.
7282 -- If p_validate is true or people
7283 -- group segment values have not
7284 -- been provided, set to null.
7285 -- p_object_version_number number If p_validate is false, set to
7286 -- version number of the new
7287 -- assignment. If p_validate is
7288 -- true, set to null.
7289 -- p_effective_start_date date If p_validate is false, set to
7290 -- the effective start date of this
7291 -- assignment. If p_validate is
7292 -- true, set to null.
7293 -- p_effective_end_date date If p_validate is false, set to
7294 -- the effective end date of this
7295 -- assignment. If p_validate is
7296 -- true, set to null.
7297 -- p_assignment_sequence number If p_validate is false, set to
7298 -- assignment sequence number.
7299 -- If p_validate is true, set to
7300 -- null.
7301 -- p_comment_id number If p_validate is false and
7302 -- comment text has been provided,
7303 -- set to the ID of the comments.
7304 -- Otherwise set to null.
7305 -- p_group_name varchar2 If p_validate is false and people
7306 -- group segment values have been
7307 -- specified, set to the
7308 -- people group combination name.
7309 -- If p_validate is true, or people
7310 -- group segment values have not
7311 -- been provided, set to
7312 -- null.
7313 --
7314 -- Post Failure:
7315 -- The API does not create the assignment and raises an error.
7316 --
7317 -- Access Status:
7318 -- Public.
7319 --
7320 -- {End Of Comments}
7321 --
7322 procedure create_secondary_apl_asg
7323 (p_validate in boolean default false
7324 ,p_effective_date in date
7325 ,p_person_id in number
7326 ,p_organization_id in number
7327 ,p_recruiter_id in number default null
7328 ,p_grade_id in number default null
7329 ,p_position_id in number default null
7330 ,p_job_id in number default null
7331 ,p_assignment_status_type_id in number default null
7332 ,p_location_id in number default null
7333 ,p_person_referred_by_id in number default null
7334 ,p_supervisor_id in number default null
7335 ,p_recruitment_activity_id in number default null
7336 ,p_source_organization_id in number default null
7337 ,p_vacancy_id in number default null
7338 ,p_change_reason in varchar2 default null
7339 ,p_comments in varchar2 default null
7340 ,p_date_probation_end in date default null
7341 ,p_frequency in varchar2 default null
7342 ,p_manager_flag in varchar2 default 'N'
7343 ,p_normal_hours in number default null
7344 ,p_probation_period in number default null
7345 ,p_probation_unit in varchar2 default null
7346 ,p_source_type in varchar2 default null
7347 ,p_time_normal_finish in varchar2 default null
7348 ,p_time_normal_start in varchar2 default null
7349 ,p_ass_attribute_category in varchar2 default null
7350 ,p_ass_attribute1 in varchar2 default null
7351 ,p_ass_attribute2 in varchar2 default null
7352 ,p_ass_attribute3 in varchar2 default null
7353 ,p_ass_attribute4 in varchar2 default null
7354 ,p_ass_attribute5 in varchar2 default null
7355 ,p_ass_attribute6 in varchar2 default null
7356 ,p_ass_attribute7 in varchar2 default null
7357 ,p_ass_attribute8 in varchar2 default null
7358 ,p_ass_attribute9 in varchar2 default null
7359 ,p_ass_attribute10 in varchar2 default null
7360 ,p_ass_attribute11 in varchar2 default null
7361 ,p_ass_attribute12 in varchar2 default null
7362 ,p_ass_attribute13 in varchar2 default null
7363 ,p_ass_attribute14 in varchar2 default null
7364 ,p_ass_attribute15 in varchar2 default null
7365 ,p_ass_attribute16 in varchar2 default null
7366 ,p_ass_attribute17 in varchar2 default null
7367 ,p_ass_attribute18 in varchar2 default null
7368 ,p_ass_attribute19 in varchar2 default null
7369 ,p_ass_attribute20 in varchar2 default null
7370 ,p_ass_attribute21 in varchar2 default null
7371 ,p_ass_attribute22 in varchar2 default null
7372 ,p_ass_attribute23 in varchar2 default null
7373 ,p_ass_attribute24 in varchar2 default null
7374 ,p_ass_attribute25 in varchar2 default null
7375 ,p_ass_attribute26 in varchar2 default null
7376 ,p_ass_attribute27 in varchar2 default null
7377 ,p_ass_attribute28 in varchar2 default null
7378 ,p_ass_attribute29 in varchar2 default null
7379 ,p_ass_attribute30 in varchar2 default null
7380 ,p_title in varchar2 default null
7381 ,p_segment1 in varchar2 default null
7382 ,p_segment2 in varchar2 default null
7383 ,p_segment3 in varchar2 default null
7384 ,p_segment4 in varchar2 default null
7385 ,p_segment5 in varchar2 default null
7386 ,p_segment6 in varchar2 default null
7387 ,p_segment7 in varchar2 default null
7388 ,p_segment8 in varchar2 default null
7389 ,p_segment9 in varchar2 default null
7390 ,p_segment10 in varchar2 default null
7391 ,p_segment11 in varchar2 default null
7392 ,p_segment12 in varchar2 default null
7393 ,p_segment13 in varchar2 default null
7394 ,p_segment14 in varchar2 default null
7395 ,p_segment15 in varchar2 default null
7396 ,p_segment16 in varchar2 default null
7397 ,p_segment17 in varchar2 default null
7398 ,p_segment18 in varchar2 default null
7399 ,p_segment19 in varchar2 default null
7400 ,p_segment20 in varchar2 default null
7401 ,p_segment21 in varchar2 default null
7402 ,p_segment22 in varchar2 default null
7403 ,p_segment23 in varchar2 default null
7404 ,p_segment24 in varchar2 default null
7405 ,p_segment25 in varchar2 default null
7406 ,p_segment26 in varchar2 default null
7407 ,p_segment27 in varchar2 default null
7408 ,p_segment28 in varchar2 default null
7409 ,p_segment29 in varchar2 default null
7410 ,p_segment30 in varchar2 default null
7411 -- Bug 944911
7412 -- Amended p_group_name to out
7413 -- Added new param p_pgp_concat_segments - for sec asg procs
7414 -- for others added p_concat_segments
7415 -- Revering these changes ar they are for R11
7416 -- ,p_concat_segments in varchar2 default null
7417 ,p_supervisor_assignment_id in number default null
7418 ,p_group_name in out nocopy varchar2
7419 ,p_assignment_id out nocopy number
7420 ,p_object_version_number out nocopy number
7421 ,p_effective_start_date out nocopy date
7422 ,p_effective_end_date out nocopy date
7423 ,p_assignment_sequence out nocopy number
7424 ,p_comment_id out nocopy number
7425 ,p_people_group_id out nocopy number
7426 );
7427 --
7428 -- ----------------------------------------------------------------------------
7429 -- |------------------------------< offer_apl_asg >---------------------------|
7430 -- ----------------------------------------------------------------------------
7431 --
7432 -- {Start Of Comments}
7433 /*#
7434 * This API changes the status of an applicant assignment to a status of the
7435 * 'Offer' type.
7436 *
7437 *
7438 * <p><b>Licensing</b><br>
7439 * This API is licensed for use with Human Resources.
7440 *
7441 * <p><b>Prerequisites</b><br>
7442 * The assignment must be an applicant assignment. The assignment must exist as
7443 * of the effective date of the change.Also the assignment status must exist
7444 * with a system status of OFFER.
7445 *
7446 * <p><b>Post Success</b><br>
7447 * The API updates the assignment.
7448 *
7449 * <p><b>Post Failure</b><br>
7450 * The API does not update the assignment and raises an error.
7451 * @param p_validate If true, then validation alone will be performed and the
7452 * database will remain unchanged. If false and all validation checks pass,
7453 * then the database will be modified.
7454 * @param p_effective_date Determines when the DateTrack operation comes into
7455 * force.
7456 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
7457 * updating the record. You must set to either UPDATE, CORRECTION,
7458 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
7459 * particular record depend on the dates of previous record changes and the
7460 * effective date of this change.
7461 * @param p_assignment_id Identifies the assignment record to be modified.
7462 * @param p_object_version_number Pass in the current version number of the
7463 * assignment to be updated. When the API completes if p_validate is false,
7464 * will be set to the new version number of the updated assignment. If
7465 * p_validate is true will be set to the same value which was passed in.
7466 * @param p_assignment_status_type_id The new assignment status must have a
7467 * system assignment status of OFFER. If the assignment status is already a
7468 * type of OFFER, this API can be used to set a different offer status. If no
7469 * value is supplied, this API uses the default OFFER status for the business
7470 * group in which this assignment exists.
7471 * @param p_change_reason Reason for the change in the assignment. Valid values
7472 * are defined in the APL_ASSIGN_REASON lookup type.
7473 * @param p_effective_start_date If p_validate is false, then set to the
7474 * earliest effective start date for the created assignment. If p_validate is
7475 * true, then set to null.
7476 * @param p_effective_end_date If p_validate is false, then set to the
7477 * effective end date for the created assignment. If p_validate is true, then
7478 * set to null.
7479 * @rep:displayname Offer Applicant Assignment
7480 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
7481 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7482 * @rep:scope public
7483 * @rep:lifecycle active
7484 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7485 */
7486 --
7487 -- {End Of Comments}
7488 --
7489 procedure offer_apl_asg
7490 (p_validate in boolean default false
7491 ,p_effective_date in date
7492 ,p_datetrack_update_mode in varchar2
7493 ,p_assignment_id in number
7494 ,p_object_version_number in out nocopy number
7495 ,p_assignment_status_type_id in number default hr_api.g_number
7496 ,p_change_reason in varchar2 default hr_api.g_varchar2
7497 ,p_effective_start_date out nocopy date
7498 ,p_effective_end_date out nocopy date
7499 );
7500
7501
7502 --
7503 -- ----------------------------------------------------------------------------
7504 -- |------------------------------< accept_apl_asg >--------------------------|
7505 -- ----------------------------------------------------------------------------
7506 --
7507 -- {Start Of Comments}
7508 /*#
7509 * This API changes the status of an applicant assignment to a status of the
7510 * 'Accepted' type.
7511 *
7512 *
7513 * <p><b>Licensing</b><br>
7514 * This API is licensed for use with Human Resources.
7515 *
7516 * <p><b>Prerequisites</b><br>
7517 * The assignment must be an applicant assignment. The assignment must exist as
7518 * of the effective date of the change
7519 *
7520 * <p><b>Post Success</b><br>
7521 * The API updates the assignment.
7522 *
7523 * <p><b>Post Failure</b><br>
7524 * The API does not update the assignment and raises an error.
7525 * @param p_validate If true, then validation alone will be performed and the
7526 * database will remain unchanged. If false and all validation checks pass,
7527 * then the database will be modified.
7528 * @param p_effective_date Determines when the DateTrack operation comes into
7529 * force.
7530 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
7531 * updating the record. You must set to either UPDATE, CORRECTION,
7532 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
7533 * particular record depend on the dates of previous record changes and the
7534 * effective date of this change.
7535 * @param p_assignment_id Identifies the assignment record to be modified.
7536 * @param p_object_version_number Pass in the current version number of the
7537 * assignment to be updated. When the API completes if p_validate is false,
7538 * will be set to the new version number of the updated assignment. If
7539 * p_validate is true will be set to the same value which was passed in.
7540 * @param p_assignment_status_type_id The new assignment status must have a
7541 * system assignment status of ACCEPTED. If the assignment status is already a
7542 * type of ACCEPTED, this API can be used to set a different accepted status.
7543 * If no value is supplied, this API uses the default ACCEPTED status for the
7544 * business group in which this assignment exists.
7545 * @param p_change_reason Reason for the change in the assignment. Valid values
7546 * are defined in the APL_ASSIGN_REASON lookup type.
7547 * @param p_effective_start_date If p_validate is false, then set to the
7548 * earliest effective start date for the created assignment. If p_validate is
7549 * true, then set to null.
7550 * @param p_effective_end_date If p_validate is false, then set to the
7551 * effective end date for the created assignment. If p_validate is true, then
7552 * set to null.
7553 * @rep:displayname Accept Applicant Assignment
7554 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
7555 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7556 * @rep:scope public
7557 * @rep:lifecycle active
7558 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7559 */
7560 --
7561 -- {End Of Comments}
7562 --
7563 procedure accept_apl_asg
7564 (p_validate in boolean default false
7565 ,p_effective_date in date
7566 ,p_datetrack_update_mode in varchar2
7567 ,p_assignment_id in number
7568 ,p_object_version_number in out nocopy number
7569 ,p_assignment_status_type_id in number default hr_api.g_number
7570 ,p_change_reason in varchar2 default hr_api.g_varchar2
7571 ,p_effective_start_date out nocopy date
7572 ,p_effective_end_date out nocopy date
7573 );
7574 --
7575 -- ----------------------------------------------------------------------------
7576 -- |-----------------------------< activate_apl_asg >-------------------------|
7577 -- ----------------------------------------------------------------------------
7578 --
7579 -- {Start Of Comments}
7580 /*#
7581 * This API changes the status of an applicant assignment to a status of the
7582 * 'Active' type.
7583 *
7584 *
7585 * <p><b>Licensing</b><br>
7586 * This API is licensed for use with Human Resources.
7587 *
7588 * <p><b>Prerequisites</b><br>
7589 * The assignment must be an applicant assignment. The assignment must exist as
7590 * of the effective date of the change
7591 *
7592 * <p><b>Post Success</b><br>
7593 * The API updates the assignment.
7594 *
7595 * <p><b>Post Failure</b><br>
7596 * The API does not update the assignment and raises an error.
7597 * @param p_validate If true, then validation alone will be performed and the
7598 * database will remain unchanged. If false and all validation checks pass,
7599 * then the database will be modified.
7600 * @param p_effective_date Determines when the DateTrack operation comes into
7601 * force.
7602 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
7603 * updating the record. You must set to either UPDATE, CORRECTION,
7604 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
7605 * particular record depend on the dates of previous record changes and the
7606 * effective date of this change.
7607 * @param p_assignment_id Identifies the assignment record to be modified.
7608 * @param p_object_version_number Pass in the current version number of the
7609 * assignment to be updated. When the API completes if p_validate is false,
7610 * will be set to the new version number of the updated assignment. If
7611 * p_validate is true will be set to the same value which was passed in.
7612 * @param p_assignment_status_type_id The new assignment status must have a
7613 * system assignment status of ACTIVE_APL. If the assignment status is already
7614 * a type of ACTIVE_APL, this API can be used to set a different accepted
7615 * status. If no value is supplied, this API uses the default ACTIVE_APL status
7616 * for the business group in which this assignment exists.
7617 * @param p_change_reason Reason for the change in the assignment. Valid values
7618 * are defined in the APL_ASSIGN_REASON lookup type.
7619 * @param p_effective_start_date If p_validate is false, then set to the
7620 * earliest effective start date for the created assignment. If p_validate is
7621 * true, then set to null.
7622 * @param p_effective_end_date If p_validate is false, then set to the
7623 * effective end date for the created assignment. If p_validate is true, then
7624 * set to null.
7625 * @rep:displayname Activate Applicant Assignment
7626 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
7627 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7628 * @rep:scope public
7629 * @rep:lifecycle active
7630 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7631 */
7632 --
7633 -- {End Of Comments}
7634 --
7635 PROCEDURE activate_apl_asg
7636 (p_validate IN BOOLEAN DEFAULT FALSE
7637 ,p_effective_date IN DATE
7638 ,p_datetrack_update_mode IN VARCHAR2
7639 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7640 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7641 ,p_assignment_status_type_id IN per_assignment_status_types.assignment_status_type_id%TYPE DEFAULT hr_api.g_number
7642 ,p_change_reason IN per_all_assignments_f.change_reason%TYPE DEFAULT hr_api.g_varchar2
7643 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7644 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7645 );
7646 --
7647 -- ----------------------------------------------------------------------------
7648 -- |----------------------------< terminate_apl_asg >-------------------------|
7649 -- ----------------------------------------------------------------------------
7650 --
7651 -- {Start Of Comments}
7652 /*#
7653 * This API ends an applicant assignment.
7654 *
7655 * A 'Terminate' status type is not explicitly stored against an applicant
7656 * assignment, this API will end date the assignment.
7657 *
7658 * <p><b>Licensing</b><br>
7659 * This API is licensed for use with Human Resources.
7660 *
7661 * <p><b>Prerequisites</b><br>
7662 * The assignment must be an applicant assignment. The assignment must exist as
7663 * of the effective date of the change
7664 *
7665 * <p><b>Post Success</b><br>
7666 * This API terminates the Applicant Assignment
7667 *
7668 * <p><b>Post Failure</b><br>
7669 * The API does not update the assignment and raises an error.
7670 * @param p_validate If true, then validation alone will be performed and the
7671 * database will remain unchanged. If false and all validation checks pass,
7672 * then the database will be modified.
7673 * @param p_effective_date Determines when the DateTrack operation comes into
7674 * force.
7675 * @param p_assignment_id Identifies the assignment record to be terminated.
7676 * @param p_assignment_status_type_id The new assignment status must have a
7677 * system assignment status of TERM_APL. If no value is supplied, this API uses
7678 * the default TERM_APL status for the business group in which this assignment
7679 * exists.
7680 * @param p_object_version_number Pass in the current version number of the
7681 * assignment to be updated. When the API completes if p_validate is false,
7682 * will be set to the new version number of the updated assignment. If
7683 * p_validate is true will be set to the same value which was passed in.
7684 * @param p_effective_start_date If p_validate is false, then set to the
7685 * effective start date for the terminated assignment. If p_validate is true,
7686 * then set to null.
7687 * @param p_effective_end_date If p_validate is false, then set to the
7688 * effective end date for the terminated assignment. If p_validate is true,
7689 * then set to null.
7690 * @rep:displayname Terminate Applicant Assignment
7691 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
7692 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7693 * @rep:scope public
7694 * @rep:lifecycle active
7695 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7696 */
7697 --
7698 -- {End Of Comments}
7699 --
7700 PROCEDURE terminate_apl_asg
7701 (p_validate IN BOOLEAN DEFAULT FALSE
7702 ,p_effective_date IN DATE
7703 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7704 ,p_assignment_status_type_id IN per_all_assignments_f.assignment_status_type_id%TYPE DEFAULT NULL
7705 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7706 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7707 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7708 );
7709 -- -----------------------------------------------------------------------------
7710 -- |-------------------------< terminate_apl_asg >-----------------------------|
7711 -- -----------------------------------------------------------------------------
7712 --
7713 -- {Start of Comments}
7714 --
7715 -- Description:
7716 -- This business process terminates an applicant assignment for a person. It
7717 -- will not allow termination of the assignment if it is the last applicant
7718 -- assignment for the person. In order to terminate the whole application use
7719 -- the terminate_applicant API.
7720 --
7721 -- Pre-requisites:
7722 -- None
7723 --
7724 -- In Parameters
7725 -- Name Reqd Type Description
7726 -- p_validate No boolean If true, the database remains
7727 -- unchanged. If false a valid
7728 -- assignment is updated in the
7729 -- database.
7730 -- p_effective_date Yes date Effective date of change of
7731 -- status.
7732 -- p_assignment_id Yes number Assignment to be terminated.
7733 -- p_assignment_status_type_id No number Required for IRC status maintenance
7734 -- p_object_version_number Yes number Version number of the
7735 -- assignment record.
7736 -- p_change_reason No varchar2 Required for IRC status maintenance
7737 -- p_status_change_comments NO varchar2 Required for IRC Status maintenance.
7738 --
7739 -- Post Success
7740 -- The API updates the person and application and sets the following out
7741 -- parameters:
7742 -- Name Type Description
7743 -- p_object_version_number Number If p_validate is false, set to the
7744 -- new version number of the
7745 -- assignment record. If p_validate is
7746 -- true, set to the value passed in.
7747 -- p_effective_start_date Date If p_validate is false, set to the
7748 -- effective start date of the updated
7749 -- assignment record. If p_validate is
7750 -- true, set to null.
7751 -- p_effective_end_date Date If p_validate is false, set to the
7752 -- effective end date of the updated
7753 -- assignment record. If p_validate is
7754 -- true, set to null.
7755 --
7756 -- Post Failure:
7757 -- The API does not update the assignment and raises an error.
7758 --
7759 -- Access Status:
7760 -- Public
7761 --
7762 -- {End of Comments}
7763 --
7764 PROCEDURE terminate_apl_asg
7765 (p_validate IN BOOLEAN DEFAULT FALSE
7766 ,p_effective_date IN DATE
7767 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7768 ,p_assignment_status_type_id IN per_all_assignments_f.assignment_status_type_id%TYPE DEFAULT NULL
7769 ,p_change_reason IN per_all_assignments_f.change_reason%TYPE -- 4066579
7770 ,p_status_change_comments IN irc_assignment_statuses.status_change_comments%TYPE DEFAULT NULL
7771 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7772 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7773 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7774 );
7775 --
7776 -- ----------------------------------------------------------------------------
7777 -- |---------------------------< set_new_primary_asg >------------------------|
7778 -- ----------------------------------------------------------------------------
7779 --
7780 -- {Start Of Comments}
7781 /*#
7782 * This API sets a chosen employee assignment as the primary assignment.
7783 *
7784 * The API also updates the previous primary assignment so that it becomes
7785 * secondary.
7786 *
7787 * <p><b>Licensing</b><br>
7788 * This API is licensed for use with Human Resources.
7789 *
7790 * <p><b>Prerequisites</b><br>
7791 * The assignment must exist as of the effective date of the change, must be an
7792 * employee assignment and must not be a primary assignment.
7793 *
7794 * <p><b>Post Success</b><br>
7795 * The speficied assignment is set as the primary assignment for the employee.
7796 *
7797 * <p><b>Post Failure</b><br>
7798 * The API does not update the primary employee assignment.
7799 * @param p_validate If true, then validation alone will be performed and the
7800 * database will remain unchanged. If false and all validation checks pass,
7801 * then the database will be modified.
7802 * @param p_effective_date Determines when the DateTrack operation comes into
7803 * force.
7804 * @param p_person_id Identifies the person record that owns the assignments to
7805 * update.
7806 * @param p_assignment_id Identifies the secondary assignment that is to become
7807 * the primary assignment.
7808 * @param p_object_version_number Pass in the current version number of the
7809 * assignment to be updated. When the API completes if p_validate is false,
7810 * will be set to the new version number of the updated assignment. If
7811 * p_validate is true will be set to the same value which was passed in.
7812 * @param p_effective_start_date If p_validate is false, then set to the
7813 * earliest effective start date for the created assignment. If p_validate is
7814 * true, then set to null.
7815 * @param p_effective_end_date If p_validate is false, then set to the
7816 * effective end date for the created assignment. If p_validate is true, then
7817 * set to null.
7818 * @rep:displayname Set New Primary Employee Assignment
7819 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
7820 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7821 * @rep:scope public
7822 * @rep:lifecycle active
7823 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7824 */
7825 --
7826 -- {End Of Comments}
7827 --
7828 PROCEDURE set_new_primary_asg
7829 (p_validate IN BOOLEAN DEFAULT FALSE
7830 ,p_effective_date IN DATE
7831 ,p_person_id IN per_all_people_f.person_id%TYPE
7832 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7833 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7834 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7835 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7836 );
7837 --
7838 -- ----------------------------------------------------------------------------
7839 -- |-------------------------< set_new_primary_cwk_asg >----------------------|
7840 -- ----------------------------------------------------------------------------
7841 --
7842 -- {Start Of Comments}
7843 /*#
7844 * This API sets a chosen contingent worker assignment as the primary
7845 * assignment.
7846 *
7847 * The API also updates the previous primary assignment so that it becomes
7848 * secondary.
7849 *
7850 * <p><b>Licensing</b><br>
7851 * This API is licensed for use with Human Resources.
7852 *
7853 * <p><b>Prerequisites</b><br>
7854 * The assignment must exist as of the effective date of the change, must be a
7855 * contingent worker assignment and must not be a primary assignment.
7856 *
7857 * <p><b>Post Success</b><br>
7858 * The chosen assignment is set as the primary contingent worker assignment.
7859 *
7860 * <p><b>Post Failure</b><br>
7861 * The API does not update the primary contingent worker assignment.
7862 * @param p_validate If true, then validation alone will be performed and the
7863 * database will remain unchanged. If false and all validation checks pass,
7864 * then the database will be modified.
7865 * @param p_effective_date Determines when the DateTrack operation comes into
7866 * force.
7867 * @param p_person_id Identifies the person record that owns the assignments to
7868 * update.
7869 * @param p_assignment_id Identifies the assignment that is to become the
7870 * primary assignment.
7871 * @param p_object_version_number Pass in the current version number of the
7872 * assignment to be updated. When the API completes if p_validate is false,
7873 * will be set to the new version number of the updated assignment. If
7874 * p_validate is true will be set to the same value which was passed in.
7875 * @param p_effective_start_date If p_validate is false, then set to the
7876 * earliest effective start date for the created assignment. If p_validate is
7877 * true, then set to null.
7878 * @param p_effective_end_date If p_validate is false, then set to the
7879 * effective end date for the created assignment. If p_validate is true, then
7880 * set to null.
7881 * @rep:displayname Set New Primary Contingent Worker Assignment
7882 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
7883 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7884 * @rep:scope public
7885 * @rep:lifecycle active
7886 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7887 */
7888 --
7889 -- {End Of Comments}
7890 --
7891 PROCEDURE set_new_primary_cwk_asg
7892 (p_validate IN BOOLEAN DEFAULT FALSE
7893 ,p_effective_date IN DATE
7894 ,p_person_id IN per_all_people_f.person_id%TYPE
7895 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7896 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7897 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7898 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7899 );
7900 --
7901 -- ----------------------------------------------------------------------------
7902 -- |----------------------------< interview1_apl_asg >------------------------|
7903 -- ----------------------------------------------------------------------------
7904 --
7905 -- {Start Of Comments}
7906 /*#
7907 * This API changes the status of an applicant assignment to a status of the
7908 * 'First Interview' type.
7909 *
7910 * Obsolete letter requests may be deleted, and new letter requests may be
7911 * created if the assignment becomes eligible for those.
7912 *
7913 * <p><b>Licensing</b><br>
7914 * This API is licensed for use with Human Resources.
7915 *
7916 * <p><b>Prerequisites</b><br>
7917 * The assignment must be an applicant assignment. The assignment must exist as
7918 * of the effective date of the change.Also the assignment status must exist
7919 * with a system status of INTERVIEW1.
7920 *
7921 * <p><b>Post Success</b><br>
7922 * The API updates the assignment.
7923 *
7924 * <p><b>Post Failure</b><br>
7925 * The API does not update the assignment and raises an error.
7926 * @param p_validate If true, then validation alone will be performed and the
7927 * database will remain unchanged. If false and all validation checks pass,
7928 * then the database will be modified.
7929 * @param p_effective_date Determines when the DateTrack operation comes into
7930 * force.
7931 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
7932 * updating the record. You must set to either UPDATE, CORRECTION,
7933 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
7934 * particular record depend on the dates of previous record changes and the
7935 * effective date of this change.
7936 * @param p_assignment_id Identifies the assignment record to be modified.
7937 * @param p_object_version_number Pass in the current version number of the
7938 * assignment to be updated. When the API completes if p_validate is false,
7939 * will be set to the new version number of the updated assignment. If
7940 * p_validate is true will be set to the same value which was passed in.
7941 * @param p_assignment_status_type_id The new assignment status must have a
7942 * system assignment status of INTERVIEW1 If the assignment status is already a
7943 * type of INTERVIEW1, this API can be used to set a different First Interview
7944 * status. If no value is supplied, this API uses the default INTERVIEW1 status
7945 * for the business group in which this assignment exists.
7946 * @param p_change_reason Reason for the change in the assignment. Valid values
7947 * are defined in the APL_ASSIGN_REASON lookup type.
7948 * @param p_effective_start_date If p_validate is false, then set to the
7949 * earliest effective start date for the created assignment. If p_validate is
7950 * true, then set to null.
7951 * @param p_effective_end_date If p_validate is false, then set to the
7952 * effective end date for the created assignment. If p_validate is true, then
7953 * set to null.
7954 * @rep:displayname Interview1 Applicant Assignment
7955 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
7956 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
7957 * @rep:scope public
7958 * @rep:lifecycle active
7959 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
7960 */
7961 --
7962 -- {End Of Comments}
7963 --
7964 PROCEDURE interview1_apl_asg
7965 (p_validate IN BOOLEAN DEFAULT FALSE
7966 ,p_effective_date IN DATE
7967 ,p_datetrack_update_mode IN VARCHAR2
7968 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
7969 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
7970 ,p_assignment_status_type_id IN per_assignment_status_types.assignment_status_type_id%TYPE DEFAULT hr_api.g_number
7971 ,p_change_reason IN per_all_assignments_f.change_reason%TYPE DEFAULT hr_api.g_varchar2
7972 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
7973 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
7974 );
7975 --
7976 -- ----------------------------------------------------------------------------
7977 -- |----------------------------< interview2_apl_asg >------------------------|
7978 -- ----------------------------------------------------------------------------
7979 --
7980 -- {Start Of Comments}
7981 /*#
7982 * This API changes the status of an applicant assignment to a status of the
7983 * 'Second Interview' type.
7984 *
7985 * Obsolete letter requests may be deleted, and new letter requests may be
7986 * created if the assignment becomes eligible for those.
7987 *
7988 * <p><b>Licensing</b><br>
7989 * This API is licensed for use with Human Resources.
7990 *
7991 * <p><b>Prerequisites</b><br>
7992 * The assignment must be an applicant assignment. The assignment must exist on
7993 * the effective date of the change of status. Also the assignment status must
7994 * exist with a system status of INTERVIEW2.
7995 *
7996 * <p><b>Post Success</b><br>
7997 * The API updates the assignment.
7998 *
7999 * <p><b>Post Failure</b><br>
8000 * The API does not update the assignment and raises an error.
8001 * @param p_validate If true, then validation alone will be performed and the
8002 * database will remain unchanged. If false and all validation checks pass,
8003 * then the database will be modified.
8004 * @param p_effective_date Determines when the DateTrack operation comes into
8005 * force.
8006 * @param p_datetrack_update_mode Indicates which DateTrack mode to use when
8007 * updating the record. You must set to either UPDATE, CORRECTION,
8008 * UPDATE_OVERRIDE or UPDATE_CHANGE_INSERT. Modes available for use with a
8009 * particular record depend on the dates of previous record changes and the
8010 * effective date of this change.
8011 * @param p_assignment_id Identifies the assignment record to be modified.
8012 * @param p_object_version_number Pass in the current version number of the
8013 * assignment to be updated. When the API completes if p_validate is false,
8014 * will be set to the new version number of the updated assignment. If
8015 * p_validate is true will be set to the same value which was passed in.
8016 * @param p_assignment_status_type_id The new assignment status must have a
8017 * system assignment status of INTERVIEW2. If the assignment status is already
8018 * a type of INTERVIEW2, this API can be used to set a different Second
8019 * Interview status. If no value is supplied, this API uses the default
8020 * INTERVIEW2 status for the business group in which this assignment exists.
8021 * @param p_change_reason Reason for the change in the assignment. Valid values
8022 * are defined in the APL_ASSIGN_REASON lookup type.
8023 * @param p_effective_start_date If p_validate is false, then set to the
8024 * earliest effective start date for the created assignment. If p_validate is
8025 * true, then set to null.
8026 * @param p_effective_end_date If p_validate is false, then set to the
8027 * effective end date for the created assignment. If p_validate is true, then
8028 * set to null.
8029 * @rep:displayname Interview2 Applicant Assignment
8030 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
8031 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
8032 * @rep:scope public
8033 * @rep:lifecycle active
8034 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
8035 */
8036 --
8037 -- {End Of Comments}
8038 --
8039 PROCEDURE interview2_apl_asg
8040 (p_validate IN BOOLEAN DEFAULT FALSE
8041 ,p_effective_date IN DATE
8042 ,p_datetrack_update_mode IN VARCHAR2
8043 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
8044 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
8045 ,p_assignment_status_type_id IN per_assignment_status_types.assignment_status_type_id%TYPE DEFAULT hr_api.g_number
8046 ,p_change_reason IN per_all_assignments_f.change_reason%TYPE DEFAULT hr_api.g_varchar2
8047 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
8048 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
8049 );
8050 --
8051 --
8052
8053 -- ----------------------------------------------------------------------------
8054 -- |----------------------------< reverse_term_apln>-------------------------|
8055 -- ----------------------------------------------------------------------------
8056 --
8057 -- {Start Of Comments}
8058 /*
8059 -- this procedure is specifically designed for the IRec team and can be used
8060 -- to reverse terminate an application
8061
8062
8063 -- @param p_effective_date date when the api has to perform validations.
8064 -- @param p_business_group_id business group id of the person
8065 -- @param p_assignment_id assignment_id for which reverse termination should be processed
8066 -- @param p_person_id person id of the person for whom the reverse termination should be processed
8067 -- @param p_status_change_reason the reason for reverse termination.
8068 */
8069 PROCEDURE reverse_term_apln
8070 ( p_effective_date IN date ,
8071 p_business_group_id IN number ,
8072 p_assignment_id IN number ,
8073 p_person_id IN number ,
8074 p_status_change_reason in varchar2 default null,
8075 p_return_status out nocopy varchar2);
8076
8077 --
8078 --
8079 -- ----------------------------------------------------------------------------
8080 -- |----------------------------< delete_assignment >-------------------------|
8081 -- ----------------------------------------------------------------------------
8082 --
8083 -- {Start Of Comments}
8084 /*#
8085 * This API deletes an Assignment of type Employee, Applicant and CWK in the
8086 * required Datetrack mode.
8087 *
8088 * If the deleted Assignment is a Primary Assignment, then if there is a single
8089 * eligible candidate Primary Assignment, API converts that candidate Assignment
8090 * to Primary and deletes the original Primary Assignment. If there are multiple
8091 * eligible candidate Assignments, then an error is raised and user need to do
8092 * the delete operation using Assignment Form.
8093 *
8094 * If there are any warning conditions, then the necessary boolean OUT parameter
8095 * designated to different warning conditions are set to true so that user can
8096 * review them and commit the Delete Assignment changes.
8097 *
8098 * <p><b>Licensing</b><br>
8099 * This API is licensed for use with Human Resources.
8100 *
8101 * <p><b>Prerequisites</b><br>
8102 * The Assignment details provided must be valid and available in the system.
8103 * Benefits type Assignments cannot be deleted using this Delete Assignment API.
8104 *
8105 * <p><b>Post Success</b><br>
8106 * Assignment record will be deleted in the specified Datetrack mode.
8107 *
8108 * <p><b>Post Failure</b><br>
8109 * The API does not update the Delete Assignment changes and raises an error.
8110 *
8111 * @param p_validate If true, then validation alone will be performed and the
8112 * database will remain unchanged. If false and all validation checks pass,
8113 * then the database will be modified.
8114 * @param p_effective_date Determines when the DateTrack operation comes into
8115 * force.
8116 * @param p_datetrack_mode Indicates which DateTrack mode to use when
8117 * deleting the record. You must set to either ZAP, DELETE_NEXT_CHANGE or
8118 * FUTURE_CHANGE. Modes available for use with a particular record depend on
8119 * the dates of previous record changes and the effective date of this change.
8120 * @param p_assignment_id Identifies the assignment record to be deleted.
8121 * @param p_object_version_number Pass in the current version number of the
8122 * assignment to be deleted. When the API completes if p_validate is false,
8123 * will be set to the new version number of the deleted assignment. If
8124 * p_validate is true will be set to the same value which was passed in.
8125 * @param p_effective_start_date If p_validate is false, then set to the
8126 * effective start date on the updated assignment row which now exists as of
8127 * the effective date. If p_validate is true, then set to null.
8128 * @param p_effective_end_date If p_validate is false, then set to the
8129 * effective end date on the updated assignment row which now exists as of the
8130 * effective date. If p_validate is true, then set to null.
8131 * @param p_loc_change_tax_issues If there is a change in the location due to
8132 * the specified Datetrack Delete operation, and if there is a corresponding
8133 * Federal Tax record that gets affected, then this parameter is set to true.
8134 * @param p_delete_asg_budgets If set to true, then corresponding Assignment
8135 * Budget values may have been deleted.
8136 * @param p_org_now_no_manager_warning If set to true, then the current
8137 * Datetrack delete operation resulted in no organization manager.
8138 * @param p_element_salary_warning If set to true, then Element Entries
8139 * including at least one Salary Entry have changed.
8140 * @param p_element_entries_warning If set to true, then this action has
8141 * affected Element Entries.
8142 * @param p_spp_warning If set to true, then this action has deleted any
8143 * future dated grade steps for this assignment.
8144 * @param p_cost_warning If set to true, then there are costing records
8145 * associated with this assignment which have not been adjusted in a similar
8146 * manner due to the presence of costing information in the future.
8147 * @param p_life_events_exists If set to true, then there are Life Events
8148 * created for this Assignment with status "Started".
8149 * @param p_cobra_coverage_elements If set to true, then COBRA Coverage
8150 * Enrollments are invalidated.
8151 * @param p_assgt_term_elements If set to true, then an assignment record with
8152 * TERM_ASSIGN status has been deleted. Elements have not been replaced.
8153 * @rep:displayname Delete Assignment
8154 * @rep:category BUSINESS_ENTITY PER_EMPLOYEE_ASG
8155 * @rep:category BUSINESS_ENTITY PER_APPLICANT_ASG
8156 * @rep:category BUSINESS_ENTITY PER_CWK_ASG
8157 * @rep:lifecycle active
8158 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
8159 * @rep:scope public
8160 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
8161 */
8162 --
8163 -- {End Of Comments}
8164 --
8165 PROCEDURE delete_assignment
8166 (p_validate IN boolean default false
8167 ,p_effective_date IN DATE
8168 ,p_datetrack_mode IN VARCHAR2
8169 ,p_assignment_id IN per_all_assignments_f.assignment_id%TYPE
8170 ,p_object_version_number IN OUT NOCOPY per_all_assignments_f.object_version_number%TYPE
8171 ,p_effective_start_date OUT NOCOPY per_all_assignments_f.effective_start_date%TYPE
8172 ,p_effective_end_date OUT NOCOPY per_all_assignments_f.effective_end_date%TYPE
8173 ,p_loc_change_tax_issues OUT NOCOPY boolean
8174 ,p_delete_asg_budgets OUT NOCOPY boolean
8175 ,p_org_now_no_manager_warning OUT NOCOPY boolean
8176 ,p_element_salary_warning OUT NOCOPY boolean
8177 ,p_element_entries_warning OUT NOCOPY boolean
8178 ,p_spp_warning OUT NOCOPY boolean
8179 ,P_cost_warning OUT NOCOPY Boolean
8180 ,p_life_events_exists OUT NOCOPY Boolean
8181 ,p_cobra_coverage_elements OUT NOCOPY Boolean
8182 ,p_assgt_term_elements OUT NOCOPY Boolean);
8183 --
8184 end hr_assignment_api;