DBA Data[Home] [Help]

PACKAGE: APPS.HR_HU_CONTINGENT_WORKER_API

Source


1 Package hr_hu_contingent_worker_api as
2 /* $Header: pecwkhui.pkh 120.1 2005/10/02 02:14:35 aroussel $ */
3 /*#
4  * This package contains Contingent Worker APIs for Hungary.
5  * @rep:scope public
6  * @rep:product per
7  * @rep:displayname Contingent Worker for Hungary
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |------------------------------< create_hu_cwk >---------------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16  * This API creates a new contingent worker for Hungary.
17  *
18  * This API creates a new contingent worker. It creates the contingent worker
19  * personal details, and a default contingent worker assignment.
20  *
21  * <p><b>Licensing</b><br>
22  * This API is licensed for use with Human Resources.
23  *
24  * <p><b>Prerequisites</b><br>
25  * Valid business group for Hungary.
26  *
27  * <p><b>Post Success</b><br>
28  * Contingent worker is created without any errors.
29  *
30  * <p><b>Post Failure</b><br>
31  * Contingent Worker is not created and an error message is generated.
32  * @param p_validate If true, then validation alone will be performed and the
33  * database will remain unchanged. If false and all validation checks pass,
34  * then the database will be modified.
35  * @param p_start_date Start Date.
36  * @param p_business_group_id Business group of the person.
37  * @param p_last_name Last name.
38  * @param p_person_type_id Type of contingent worker being created.
39  * @param p_npw_number The business group's contingent worker number generation
40  * method determines when the API derives and passes out a contingent worker
41  * number or when the calling program should pass in a value. When the API call
42  * completes if p_validate is true then will be set to the contingent worker
43  * number. If p_validate is true then will be set to the passed value.
44  * @param p_background_check_status Flag indicating whether the person's
45  * background has been checked.
46  * @param p_background_date_check Date on which the background check was
47  * performed.
48  * @param p_blood_type Blood type.
49  * @param p_comments Comment text.
50  * @param p_correspondence_language Preferred language for correspondence.
51  * @param p_country_of_birth Country of birth.
52  * @param p_date_of_birth Date of birth.
53  * @param p_date_of_death Date of death.
54  * @param p_dpdnt_adoption_date Date on which the dependent was adopted.
55  * @param p_dpdnt_vlntry_svce_flag Flag indicating whether the dependent is on
56  * voluntary service.
57  * @param p_email_address Email address.
58  * @param p_first_name First name.
59  * @param p_fte_capacity Obsolete parameter, do not use.
60  * @param p_honors Honors awarded.
61  * @param p_internal_location Internal location of office.
62  * @param p_preferred_name Alternative name
63  * @param p_last_medical_test_by Name of physician who performed last medical
64  * test.
65  * @param p_last_medical_test_date Date of last medical test.
66  * @param p_mailstop Internal mail location.
67  * @param p_marital_status Marital status. Valid values are defined by the
68  * MAR_STATUS lookup type.
69  * @param p_middle_names Middle names.
70  * @param p_ss_number National identifier.
71  * @param p_nationality Nationality. Valid values are defined by the
72  * NATIONALITY lookup type.
73  * @param p_office_number Office number.
74  * @param p_on_military_service Flag indicating whether the person is on
75  * military service.
76  * @param p_party_id TCA party for whom you create the person record.
77  * @param p_prefix Name prefix
78  * @param p_maiden_name Previous last name
79  * @param p_projected_placement_end Obsolete parameter, do not use.
80  * @param p_receipt_of_death_cert_date Date death certificate was received.
81  * @param p_region_of_birth Geographical region of birth.
82  * @param p_registered_disabled_flag Flag indicating whether the person is
83  * classified as disabled.
84  * @param p_resume_exists Flag indicating whether the person's resume is on
85  * file.
86  * @param p_resume_last_updated Date on which the resume was last updated.
87  * @param p_second_passport_exists Flag indicating whether a person has
88  * multiple passports.
89  * @param p_sex Legal gender. Valid values are defined by the SEX lookup type.
90  * @param p_student_status If this contingent worker is a student, this field
91  * is used to capture their status. Valid values are defined by the
92  * STUDENT_STATUS lookup type.
93  * @param p_suffix Suffix after the person's last name e.g. Sr., Jr., III.
94  * @param p_title Title. Valid values are defined by the TITLE lookup type.
95  * @param p_place_of_birth Town or city of birth
96  * @param p_uses_tobacco_flag Flag indicating whether the person uses tobacco.
97  * @param p_vendor_id Obsolete parameter, do not use.
98  * @param p_work_schedule Days on which this person will work.
99  * @param p_work_telephone Obsolete parameter, do not use.
100  * @param p_exp_check_send_to_address Mailing address.
101  * @param p_hold_applicant_date_until Date until when the applicant's
102  * information is to be maintained.
103  * @param p_date_employee_data_verified Date on which the contingent worker
104  * data was last verified.
105  * @param p_benefit_group_id Benefit group to which this person will belong.
106  * @param p_coord_ben_med_pln_no Secondary medical plan name. Column used for
107  * external processing.
108  * @param p_coord_ben_no_cvg_flag No secondary medical plan coverage. Column
109  * used for external processing.
110  * @param p_original_date_of_hire Original date of hire.
111  * @param p_attribute_category This context value determines which flexfield
112  * structure to use with the descriptive flexfield segments.
113  * @param p_attribute1 Descriptive flexfield segment.
114  * @param p_attribute2 Descriptive flexfield segment.
115  * @param p_attribute3 Descriptive flexfield segment.
116  * @param p_attribute4 Descriptive flexfield segment.
117  * @param p_attribute5 Descriptive flexfield segment.
118  * @param p_attribute6 Descriptive flexfield segment.
119  * @param p_attribute7 Descriptive flexfield segment.
120  * @param p_attribute8 Descriptive flexfield segment.
121  * @param p_attribute9 Descriptive flexfield segment.
122  * @param p_attribute10 Descriptive flexfield segment.
123  * @param p_attribute11 Descriptive flexfield segment.
124  * @param p_attribute12 Descriptive flexfield segment.
125  * @param p_attribute13 Descriptive flexfield segment.
126  * @param p_attribute14 Descriptive flexfield segment.
127  * @param p_attribute15 Descriptive flexfield segment.
128  * @param p_attribute16 Descriptive flexfield segment.
129  * @param p_attribute17 Descriptive flexfield segment.
130  * @param p_attribute18 Descriptive flexfield segment.
131  * @param p_attribute19 Descriptive flexfield segment.
132  * @param p_attribute20 Descriptive flexfield segment.
133  * @param p_attribute21 Descriptive flexfield segment.
134  * @param p_attribute22 Descriptive flexfield segment.
135  * @param p_attribute23 Descriptive flexfield segment.
136  * @param p_attribute24 Descriptive flexfield segment.
137  * @param p_attribute25 Descriptive flexfield segment.
138  * @param p_attribute26 Descriptive flexfield segment.
139  * @param p_attribute27 Descriptive flexfield segment.
140  * @param p_attribute28 Descriptive flexfield segment.
141  * @param p_attribute29 Descriptive flexfield segment.
142  * @param p_attribute30 Descriptive flexfield segment.
143  * @param p_per_information_category Obsolete parameter, do not use.
144  * @param p_mothers_maiden_name Mother's Maiden Name
145  * @param p_tax_identification_no Tax Identification Number
146  * @param p_personal_identity_no Personal Identity Number
147  * @param p_pensioner_registration_no Pensioner Registration Number
148  * @param p_contact_employers_name Name of the contact's employer
149  * @param p_per_information6 Developer descriptive flexfield segment.
150  * @param p_service_completed Military Service Completed. Valid values exist in
151  * the 'YES_NO' lookup type.
152  * @param p_reason_not_completed Reason military service not completed
153  * @param p_service_start_date Military Service Start Date
154  * @param p_service_end_date Military Service End Date
155  * @param p_mandate_code Mandate Code. Valid values exist in
156  * 'HR_HU_MILITARY_MANDATE_CODE' lookup type.
157  * @param p_mandate_date Mandate Date
158  * @param p_command_type Command Type. Valid values exist in
159  * 'HR_HU_MILITARY_COMMAND_TYPE' lookup type.
160  * @param p_command_color Command Color. Valid values exist in
161  * 'HR_HU_MILITARY_COMMAND_COLOR' lookup type.
162  * @param p_command_number Command Number
163  * @param p_rank Military Rank. Valid values exist in 'HR_HU_MILITARY_RANK'
164  * lookup type.
165  * @param p_position Civil defence position
166  * @param p_organization Civil Defence Organization. Valid values exist in
167  * 'HR_HU_CIVIL_DEFENCE_ORG' lookup type.
168  * @param p_local_department Local Department. Valid values exist in
169  * 'HR_HU_CIVIL_LOCAL_DEPT' lookup type.
170  * @param p_local_sub_department Local Sub-Department. Valid values exist in
171  * 'HR_HU_CIVIL_LOCAL_SUB_DEP' lookup type. T
172  * @param p_group Civil Defence Group. Valid values exist in
173  * 'HR_HU_CIVIL_GROUP' lookup type.
174  * @param p_sub_group Civil Defence Sub-Group. Valid values exist in
175  * 'HR_HU_CIVIL_SUB_GROUP' lookup type.
176  * @param p_ss_start_date Social Security Start Date
177  * @param p_ss_end_date Social Security End Date
178  * @param p_per_information25 Developer descriptive flexfield segment.
179  * @param p_per_information26 Developer descriptive flexfield segment.
180  * @param p_per_information27 Developer descriptive flexfield segment.
181  * @param p_per_information28 Developer descriptive flexfield segment.
182  * @param p_per_information29 Developer descriptive flexfield segment.
183  * @param p_per_information30 Developer descriptive flexfield segment.
184  * @param p_person_id If p_validate is false, then this uniquely identifies the
185  * person created. If p_validate is true, then set to null.
186  * @param p_per_object_version_number If p_validate is false, then set to the
187  * version number of the created person. If p_validate is true, then the value
188  * will be null.
189  * @param p_per_effective_start_date If p_validate is false, then set to the
190  * earliest effective start date for the created person. If p_validate is true,
191  * then set to null.
192  * @param p_per_effective_end_date If p_validate is false, then set to the
193  * effective end date for the created person. If p_validate is true, then set
194  * to null.
195  * @param p_pdp_object_version_number If p_validate is false, this will be set
196  * to the version number of the person created. If p_validate is true this
197  * parameter will be set to null.
198  * @param p_full_name If p_validate is false, then set to the complete full
199  * name of the person. If p_validate is true, then set to null.
200  * @param p_comment_id Comment text.
201  * @param p_assignment_id If p_validate is false, then this uniquely identifies
202  * the created assignment. If p_validate is true, then set to null.
203  * @param p_asg_object_version_number If p_validate is false, then this
204  * parameter is set to the version number of the assignment created. If
205  * p_validate is true, then this parameter is null.
206  * @param p_assignment_sequence If p_validate is false, then set to the
207  * sequence number of the default assignment. If p_validate is true, then set
208  * to null.
209  * @param p_assignment_number If p_validate is false, then set to the
210  * assignment number of the default assignment. If p_validate is true, then set
211  * to null.
212  * @param p_name_combination_warning If set to true, then the combination of
213  * last name, first name and date of birth existed prior to calling this API.
214  * @rep:displayname Create Contingent Worker for Hungary
215  * @rep:category BUSINESS_ENTITY PER_CWK
216  * @rep:scope public
217  * @rep:lifecycle active
218  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
219 */
220 --
221 -- {End Of Comments}
222 --
223 procedure create_hu_cwk
224   (p_validate                      in     boolean  default false
225   ,p_start_date                    in     date
226   ,p_business_group_id             in     number
227   ,p_last_name                     in     varchar2
228   ,p_person_type_id                in     number   default null
229   ,p_npw_number                    in out nocopy varchar2
230   ,p_background_check_status       in     varchar2 default null
231   ,p_background_date_check         in     date     default null
232   ,p_blood_type                    in     varchar2 default null
233   ,p_comments                      in     varchar2 default null
234   ,p_correspondence_language       in     varchar2 default null
235   ,p_country_of_birth              in     varchar2 default null
236   ,p_date_of_birth                 in     date     default null
237   ,p_date_of_death                 in     date     default null
238   ,p_dpdnt_adoption_date           in     date     default null
239   ,p_dpdnt_vlntry_svce_flag        in     varchar2 default null
240   ,p_email_address                 in     varchar2 default null
241   ,p_first_name                    in     varchar2 default null
242   ,p_fte_capacity                  in     number   default null
243   ,p_honors                        in     varchar2 default null
244   ,p_internal_location             in     varchar2 default null
245   ,p_preferred_name                in     varchar2 default null
246   ,p_last_medical_test_by          in     varchar2 default null
247   ,p_last_medical_test_date        in     date     default null
248   ,p_mailstop                      in     varchar2 default null
249   ,p_marital_status                in     varchar2 default null
250   ,p_middle_names                  in     varchar2 default null
251   ,p_ss_number                     in     varchar2 default null
252   ,p_nationality                   in     varchar2 default null
253   ,p_office_number                 in     varchar2 default null
254   ,p_on_military_service           in     varchar2 default null
255   ,p_party_id                      in     number   default null
256   ,p_prefix                        in     varchar2 default null
257   ,p_maiden_name                   in     varchar2 default null
258   ,p_projected_placement_end       in     date     default null
259   ,p_receipt_of_death_cert_date    in     date     default null
260   ,p_region_of_birth               in     varchar2 default null
261   ,p_registered_disabled_flag      in     varchar2 default null
262   ,p_resume_exists                 in     varchar2 default null
263   ,p_resume_last_updated           in     date     default null
264   ,p_second_passport_exists        in     varchar2 default null
265   ,p_sex                           in     varchar2 default null
266   ,p_student_status                in     varchar2 default null
267   ,p_suffix                        in     varchar2 default null
268   ,p_title                         in     varchar2 default null
269   ,p_place_of_birth                in     varchar2 default null
270   ,p_uses_tobacco_flag             in     varchar2 default null
271   ,p_vendor_id                     in     number   default null
272   ,p_work_schedule                 in     varchar2 default null
273   ,p_work_telephone                in     varchar2 default null
274   ,p_exp_check_send_to_address     in     varchar2 default null
275   ,p_hold_applicant_date_until     in     date     default null
276   ,p_date_employee_data_verified   in     date     default null
277   ,p_benefit_group_id              in     number   default null
278   ,p_coord_ben_med_pln_no          in     varchar2 default null
279   ,p_coord_ben_no_cvg_flag         in     varchar2 default null
280   ,p_original_date_of_hire         in     date     default null
281   ,p_attribute_category            in     varchar2 default null
282   ,p_attribute1                    in     varchar2 default null
283   ,p_attribute2                    in     varchar2 default null
284   ,p_attribute3                    in     varchar2 default null
285   ,p_attribute4                    in     varchar2 default null
286   ,p_attribute5                    in     varchar2 default null
287   ,p_attribute6                    in     varchar2 default null
288   ,p_attribute7                    in     varchar2 default null
289   ,p_attribute8                    in     varchar2 default null
290   ,p_attribute9                    in     varchar2 default null
291   ,p_attribute10                   in     varchar2 default null
292   ,p_attribute11                   in     varchar2 default null
293   ,p_attribute12                   in     varchar2 default null
294   ,p_attribute13                   in     varchar2 default null
295   ,p_attribute14                   in     varchar2 default null
296   ,p_attribute15                   in     varchar2 default null
300   ,p_attribute19                   in     varchar2 default null
297   ,p_attribute16                   in     varchar2 default null
298   ,p_attribute17                   in     varchar2 default null
299   ,p_attribute18                   in     varchar2 default null
301   ,p_attribute20                   in     varchar2 default null
302   ,p_attribute21                   in     varchar2 default null
303   ,p_attribute22                   in     varchar2 default null
304   ,p_attribute23                   in     varchar2 default null
305   ,p_attribute24                   in     varchar2 default null
306   ,p_attribute25                   in     varchar2 default null
307   ,p_attribute26                   in     varchar2 default null
308   ,p_attribute27                   in     varchar2 default null
309   ,p_attribute28                   in     varchar2 default null
310   ,p_attribute29                   in     varchar2 default null
311   ,p_attribute30                   in     varchar2 default null
312   ,p_per_information_category      in     varchar2 default null
313   ,p_mothers_maiden_name           in     varchar2 default null
314   ,p_tax_identification_no         in     varchar2 default null
315   ,p_personal_identity_no          in     varchar2 default null
316   ,p_pensioner_registration_no     in     varchar2 default null
317   ,p_contact_employers_name        in     varchar2 default null
318   ,p_per_information6              in     varchar2 default null
319   ,p_service_completed            in     varchar2 default null
320   ,p_reason_not_completed         in     varchar2 default null
321   ,p_service_start_date           in     varchar2 default null
322   ,p_service_end_date             in     varchar2 default null
323   ,p_mandate_code                 in     varchar2 default null
324   ,p_mandate_date                 in     varchar2 default null
325   ,p_command_type                 in     varchar2 default null
326   ,p_command_color                in     varchar2 default null
327   ,p_command_number               in     varchar2 default null
328   ,p_rank                         in     varchar2 default null
329   ,p_position                     in     varchar2 default null
330   ,p_organization                 in     varchar2 default null
331   ,p_local_department             in     varchar2 default null
332   ,p_local_sub_department         in     varchar2 default null
333   ,p_group                        in     varchar2 default null
334   ,p_sub_group                    in     varchar2 default null
335   ,p_ss_start_date                in     varchar2 default null
336   ,p_ss_end_date                  in     varchar2 default null
337   ,p_per_information25             in       varchar2 default null
338   ,p_per_information26             in       varchar2 default null
339   ,p_per_information27             in       varchar2 default null
340   ,p_per_information28             in       varchar2 default null
341   ,p_per_information29             in       varchar2 default null
342   ,p_per_information30             in       varchar2 default null
343   ,p_person_id                        out nocopy   number
344   ,p_per_object_version_number        out nocopy   number
345   ,p_per_effective_start_date         out nocopy   date
346   ,p_per_effective_end_date           out nocopy   date
347   ,p_pdp_object_version_number        out nocopy   number
348   ,p_full_name                        out nocopy   varchar2
349   ,p_comment_id                       out nocopy   number
350   ,p_assignment_id                    out nocopy   number
351   ,p_asg_object_version_number        out nocopy   number
352   ,p_assignment_sequence              out nocopy   number
353   ,p_assignment_number                out nocopy   varchar2
354   ,p_name_combination_warning         out nocopy   boolean
355   );
356 --
357 End hr_hu_contingent_worker_api;