1 Package hr_application_api as
2 /* $Header: peaplapi.pkh 120.1 2005/10/02 02:09:51 aroussel $ */
3 /*#
4 * This package contains applications APIs.
5 * @rep:scope public
6 * @rep:product per
7 * @rep:displayname Application
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |----------------------------< update_apl_details >------------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API updates application details.
17 *
18 * This API updates the application record identified by p_application_id and
19 * p_object_version_number. An application may be for one or more vacancies,
20 * and is similar to a period of service for an employee. This API allows
21 * changes to attributes of an application other than those related to changes
22 * in the applicant assignment. You can change these attributes of an
23 * application at any time before the termination of the application.
24 *
25 * <p><b>Licensing</b><br>
26 * This API is licensed for use with Human Resources.
27 *
28 * <p><b>Prerequisites</b><br>
29 * The application must exist in the relevant business group on the effective
30 * date.
31 *
32 * <p><b>Post Success</b><br>
33 * The API successfully updates the application record.
34 *
35 * <p><b>Post Failure</b><br>
36 * The API does not update the application record and raises an error.
37 * @param p_validate If true, then validation alone will be performed and the
38 * database will remain unchanged. If false and all validation checks pass,
39 * then the database will be modified.
40 * @param p_application_id Application record that needs to be modified.
41 * @param p_object_version_number Pass in the current version number of the
42 * application to be updated. When the API completes if p_validate is false,
43 * will be set to the new version number of the updated application. If
44 * p_validate is true will be set to the same value which was passed in.
45 * @param p_effective_date Determines when the DateTrack operation comes into
46 * force.
47 * @param p_comments Comment text.
48 * @param p_current_employer Current employer of the applicant.
49 * @param p_projected_hire_date Projected hire date.
50 * @param p_termination_reason Termination Reason. Valid values are defined by
51 * the TERM_APL_REASON lookup type.
52 * @param p_appl_attribute_category This context value determines which
53 * flexfield structure to use with the descriptive flexfield segments.
54 * @param p_appl_attribute1 Descriptive flexfield segment.
55 * @param p_appl_attribute2 Descriptive flexfield segment.
56 * @param p_appl_attribute3 Descriptive flexfield segment.
57 * @param p_appl_attribute4 Descriptive flexfield segment.
58 * @param p_appl_attribute5 Descriptive flexfield segment.
59 * @param p_appl_attribute6 Descriptive flexfield segment.
60 * @param p_appl_attribute7 Descriptive flexfield segment.
61 * @param p_appl_attribute8 Descriptive flexfield segment.
62 * @param p_appl_attribute9 Descriptive flexfield segment.
63 * @param p_appl_attribute10 Descriptive flexfield segment.
64 * @param p_appl_attribute11 Descriptive flexfield segment.
65 * @param p_appl_attribute12 Descriptive flexfield segment.
66 * @param p_appl_attribute13 Descriptive flexfield segment.
67 * @param p_appl_attribute14 Descriptive flexfield segment.
68 * @param p_appl_attribute15 Descriptive flexfield segment.
69 * @param p_appl_attribute16 Descriptive flexfield segment.
70 * @param p_appl_attribute17 Descriptive flexfield segment.
71 * @param p_appl_attribute18 Descriptive flexfield segment.
72 * @param p_appl_attribute19 Descriptive flexfield segment.
73 * @param p_appl_attribute20 Descriptive flexfield segment.
74 * @rep:displayname Update Application Details
75 * @rep:category BUSINESS_ENTITY PER_APPLICANT
76 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
77 * @rep:scope public
78 * @rep:lifecycle active
79 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
80 */
81 --
82 -- {End Of Comments}
83 --
84 procedure update_apl_details
85 (p_validate in boolean default false
86 ,p_application_id in number
87 ,p_object_version_number in out nocopy number
88 ,p_effective_date in date
89 ,p_comments in varchar2 default hr_api.g_varchar2
90 ,p_current_employer in varchar2 default hr_api.g_varchar2
91 ,p_projected_hire_date in date default hr_api.g_date
92 ,p_termination_reason in varchar2 default hr_api.g_varchar2
93 ,p_appl_attribute_category in varchar2 default hr_api.g_varchar2
94 ,p_appl_attribute1 in varchar2 default hr_api.g_varchar2
95 ,p_appl_attribute2 in varchar2 default hr_api.g_varchar2
96 ,p_appl_attribute3 in varchar2 default hr_api.g_varchar2
97 ,p_appl_attribute4 in varchar2 default hr_api.g_varchar2
98 ,p_appl_attribute5 in varchar2 default hr_api.g_varchar2
99 ,p_appl_attribute6 in varchar2 default hr_api.g_varchar2
100 ,p_appl_attribute7 in varchar2 default hr_api.g_varchar2
101 ,p_appl_attribute8 in varchar2 default hr_api.g_varchar2
102 ,p_appl_attribute9 in varchar2 default hr_api.g_varchar2
103 ,p_appl_attribute10 in varchar2 default hr_api.g_varchar2
104 ,p_appl_attribute11 in varchar2 default hr_api.g_varchar2
105 ,p_appl_attribute12 in varchar2 default hr_api.g_varchar2
106 ,p_appl_attribute13 in varchar2 default hr_api.g_varchar2
107 ,p_appl_attribute14 in varchar2 default hr_api.g_varchar2
108 ,p_appl_attribute15 in varchar2 default hr_api.g_varchar2
109 ,p_appl_attribute16 in varchar2 default hr_api.g_varchar2
110 ,p_appl_attribute17 in varchar2 default hr_api.g_varchar2
111 ,p_appl_attribute18 in varchar2 default hr_api.g_varchar2
112 ,p_appl_attribute19 in varchar2 default hr_api.g_varchar2
113 ,p_appl_attribute20 in varchar2 default hr_api.g_varchar2
114 );
115 end hr_application_api;