DBA Data[Home] [Help]

PACKAGE: APPS.HR_RU_CONTINGENT_WORKER_API

Source


1 Package hr_ru_contingent_worker_api as
2 /* $Header: pecwkrui.pkh 120.1 2005/10/02 02:40:53 aroussel $ */
3 /*#
4  * This package contains contingent worker APIs for Russia.
5  * @rep:scope public
6  * @rep:product PER
7  * @rep:displayname Contingent Worker for Russia
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |------------------------------< create_ru_cwk >---------------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16  * This API creates a new contingent worker for Russia.
17  *
18  * This API creates a new contingent worker including a default primary
19  * assignment for the contingent worker.
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  * The business group for Russian legislation must already exist.
26  *
27  * <p><b>Post Success</b><br>
28  * A contingent worker is successfully inserted in the database.
29  *
30  * <p><b>Post Failure</b><br>
31  * The API does not create the contingent worker and raises an error.
32  *
33  * @param p_validate If true, then validation alone will be performed and the
34  * database will remain unchanged. If false and all validation checks pass,
35  * then the database will be modified.
36  * @param p_start_date Start date for person, default assignment, and placement
37  * record.
38  * @param p_business_group_id Contingent worker's business group.
39  * @param p_last_name Contingent worker's last name.
40  * @param p_person_type_id Identifies the type of person. If an identification
41  * number is not specified, then the API will use the default 'CWK' type for
42  * the business group.
43  * @param p_npw_number Number of non-payrolled worker.
44  * @param p_background_check_status Y/N flag indicates whether background check
45  * has been performed.
46  * @param p_background_date_check Date background check was performed.
47  * @param p_blood_type Type of blood group of the contingent worker. Valid
48  * values are defined by the 'BLOOD_TYPE' lookup type.
49  * @param p_comments Contingent Worker comment text.
50  * @param p_correspondence_language Preferred language for correspondence.
51  * @param p_country_of_birth Country of birth of the contingent worker.
52  * @param p_date_of_birth Date of birth.
53  * @param p_date_of_death Date of death of the contingent worker.
54  * @param p_dpdnt_adoption_date Date dependent was adopted.
55  * @param p_dpdnt_vlntry_svce_flag Indicates whether the dependent is on
56  * voluntary service.
57  * @param p_email_address E-mail address of the contingent worker.
58  * @param p_first_name Contingent worker's first name.
59  * @param p_fte_capacity Full-time employment capacity of the contingent
60  * worker.
61  * @param p_honors Honors or degrees awarded.
62  * @param p_internal_location Internal location of office.
63  * @param p_known_as Alternative name of the contingent worker.
64  * @param p_last_medical_test_by Name of the physician who performed last
65  * medical test.
66  * @param p_last_medical_test_date Date of the last medical test.
67  * @param p_mailstop Office identifier for internal mail.
68  * @param p_marital_status Marital status of the contingent worker. Valid
69  * values are defined by the 'MAR_STATUS' lookup type.
70  * @param p_middle_names Contingent worker's middle name(s).
71  * @param p_inn National identifier.
72  * @param p_nationality Contingent worker's nationality. Valid values are
73  * defined by 'NATIONALITY' lookup type.
74  * @param p_office_number Office number of the contingent worker.
75  * @param p_on_military_service Y/N flag indicating whether the contingent
76  * worker is employed in military service.
77  * @param p_party_id Identifies the party.
78  * @param p_genitive_last_name Genitive last name of the contingent worker.
79  * @param p_previous_last_name Previous last name.
80  * @param p_projected_placement_end Obsolete parameter, do not use.
81  * @param p_receipt_of_death_cert_date Date when the death certificate was
82  * received.
83  * @param p_region_of_birth Geographical region of birth of the contingent
84  * worker.
85  * @param p_registered_disabled_flag Indicates whether person is classified as
86  * disabled. Valid values are defined by the 'REGISTERED_DISABLED' lookup type.
87  * @param p_resume_exists Y/N flag indicating whether resume is on file.
88  * @param p_resume_last_updated Date when the resume was last updated.
89  * @param p_second_passport_exists Y/N flag indicating whether person has
90  * multiple passports.
91  * @param p_sex Contingent worker's sex.
92  * @param p_student_status Full time/part time status of student. Valid values
93  * are defined by the 'STUDENT_STATUS' lookup type.
94  * @param p_suffix This parameter is currently unsupported.
95  * @param p_title Contingent worker's title. Valid values are defined by
96  * 'TITLE' lookup type.
97  * @param p_town_of_birth Town or city of birth of the contingent worker.
98  * @param p_uses_tobacco_flag Tobacco type used by the contingent worker. Valid
99  * values are defined by the 'TOBACCO_USER' lookup type.
100  * @param p_vendor_id Unique identifier of supplier.
101  * @param p_work_schedule Type of work schedule indicating which days the
102  * person works. Valid values are defined by the 'WORK_SCHEDULE' lookup type.
103  * @param p_work_telephone Work telephone of the contingent worker.
104  * @param p_exp_check_send_to_address Mailing address of the contingent worker.
105  * @param p_hold_applicant_date_until Date until which the applicant should be
106  * put on hold.
107  * @param p_date_employee_data_verified Date when the employee last verified
108  * the data.
109  * @param p_benefit_group_id Identifies the benefit group.
110  * @param p_coord_ben_med_pln_no Coordination of benefits medical group plan
111  * number.
112  * @param p_coord_ben_no_cvg_flag Coordination of benefits no other coverage
113  * flag.
114  * @param p_original_date_of_hire Original date of hire of the contingent
115  * worker.
116  * @param p_attribute_category This context value determines which flexfield
117  * structure to use with the descriptive flexfield segments.
118  * @param p_attribute1 Descriptive flexfield segment.
119  * @param p_attribute2 Descriptive flexfield segment.
120  * @param p_attribute3 Descriptive flexfield segment.
121  * @param p_attribute4 Descriptive flexfield segment.
122  * @param p_attribute5 Descriptive flexfield segment.
123  * @param p_attribute6 Descriptive flexfield segment.
124  * @param p_attribute7 Descriptive flexfield segment.
125  * @param p_attribute8 Descriptive flexfield segment.
126  * @param p_attribute9 Descriptive flexfield segment.
127  * @param p_attribute10 Descriptive flexfield segment.
128  * @param p_attribute11 Descriptive flexfield segment.
129  * @param p_attribute12 Descriptive flexfield segment.
130  * @param p_attribute13 Descriptive flexfield segment.
131  * @param p_attribute14 Descriptive flexfield segment.
132  * @param p_attribute15 Descriptive flexfield segment.
133  * @param p_attribute16 Descriptive flexfield segment.
134  * @param p_attribute17 Descriptive flexfield segment.
135  * @param p_attribute18 Descriptive flexfield segment.
136  * @param p_attribute19 Descriptive flexfield segment.
137  * @param p_attribute20 Descriptive flexfield segment.
138  * @param p_attribute21 Descriptive flexfield segment.
139  * @param p_attribute22 Descriptive flexfield segment.
140  * @param p_attribute23 Descriptive flexfield segment.
141  * @param p_attribute24 Descriptive flexfield segment.
142  * @param p_attribute25 Descriptive flexfield segment.
143  * @param p_attribute26 Descriptive flexfield segment.
144  * @param p_attribute27 Descriptive flexfield segment.
145  * @param p_attribute28 Descriptive flexfield segment.
146  * @param p_attribute29 Descriptive flexfield segment.
147  * @param p_attribute30 Descriptive flexfield segment.
148  * @param p_place_of_birth Contingent worker's place of birth.Valid values are
149  * defined by the 'RU_OKATO' lookup type.
150  * @param p_references References for the contingent worker in case of rehire.
151  * @param p_local_coefficient Valid for contingent workers who live in Last
152  * North or regions that are equated to the Last North region.
153  * @param p_citizenship Contingent worker's citizenship. Valid values exist in
154  * the 'RU_CITIZENSHIP' lookup type.
155  * @param p_military_doc Military documents for the contingent worker. Valid
156  * values exist in the 'RU_MILITARY_DOC_TYPE' lookup type.
157  * @param p_reserve_category Reserve category of the contingent worker. Valid
158  * values exist in the 'RU_RESERVE_CATEGORY' lookup type.
159  * @param p_military_rank Military rank of the contingent worker. Valid values
160  * exist in the 'RU_MILITARY_RANK' lookup type.
161  * @param p_military_profile Military profile of the contingent worker. Valid
162  * values exist in the 'RU_MILITARY_PROFILE' lookup type.
163  * @param p_military_reg_code Military registration board code of the
164  * contingent worker.
165  * @param p_mil_srvc_readiness_category Military readiness service category of
166  * the contingent worker. Valid values exist in the
167  * 'RU_MILITARY_SERVICE_READINESS' lookup type.
168  * @param p_military_commissariat Military commissariat of the contingent
169  * worker.
170  * @param p_quitting_mark Conscription dismissal mark of the contingent worker.
171  * Valid values exist in 'RU_QUITTING_MARK' lookup_type.
172  * @param p_military_unit_number Military unit number of the contingent worker.
173  * @param p_military_reg_type Military registration type. Valid values exist in
174  * the 'RU_MILITARY_REGISTRATION' lookup type.
175  * @param p_military_reg_details Military registration details.
176  * @param p_pension_fund_number Pension fund number of the contingent worker.
177  * @param p_person_id If p_validate is false, then this uniquely identifies the
178  * person created. If p_validate is true, then set to null.
179  * @param p_per_object_version_number If p_validate is false, then set to the
180  * version number of the created person. If p_validate is true, then the value
181  * will be null.
182  * @param p_per_effective_start_date If p_validate is false, this will be set
183  * to the effective start date of the contingent worker. If p_validate is true,
184  * this will be null.
185  * @param p_per_effective_end_date If p_validate is false, this will be set to
186  * the effective end date of the contingent worker. If p_validate is true, this
187  * will be null.
188  * @param p_pdp_object_version_number If p_validate is false, this will be set
189  * to the version number of the person created. If p_validate is true, this
190  * parameter will be set to null.
191  * @param p_full_name If p_validate is false, this will be set to the complete
192  * full name of the contingent worker. If p_validate is true, this will be
193  * null.
194  * @param p_comment_id If p_validate is false and comment text was provided,
195  * then will be set to the identifier of the created contingent worker record.
196  * If p_validate is true or no comment text was provided, then this will be
197  * null.
198  * @param p_assignment_id If p_validate is false, then this uniquely identifies
199  * the created assignment. If p_validate is true, then set to null.
200  * @param p_asg_object_version_number If p_validate is false, then this
201  * parameter is set to the version number of the assignment created. If
202  * p_validate is true, then this parameter is null.
203  * @param p_assignment_sequence If p_validate is false, then this will be set
204  * to the assignment sequence of the assignment created. If p_validate is true,
205  * this parameter is set to null.
206  * @param p_assignment_number If p_validate is false this will be set to the
207  * assignment number of the primary assignment. If p_validate is true, this
208  * will be null.
209  * @param p_name_combination_warning If set to true, then the combination of
210  * last name, first name and date of birth existed prior to calling this API.
211  * @rep:displayname Create Contingent Worker for Russia
212  * @rep:category BUSINESS_ENTITY PER_CWK
213  * @rep:lifecycle active
214  * @rep:category MISC_EXTENSIONS HR_DATAPUMP
215  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
216  * @rep:scope public
217  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
218 */
219 --
220 -- {End Of Comments}
221 --
222 procedure create_ru_cwk
223   (p_validate                      in     boolean  default false
224   ,p_start_date                    in     date
225   ,p_business_group_id             in     number
226   ,p_last_name                     in     varchar2
227   ,p_person_type_id                in     number   default null
228   ,p_npw_number                    in out nocopy varchar2
229   ,p_background_check_status       in     varchar2 default null
230   ,p_background_date_check         in     date     default null
231   ,p_blood_type                    in     varchar2 default null
232   ,p_comments                      in     varchar2 default null
233   ,p_correspondence_language       in     varchar2 default null
234   ,p_country_of_birth              in     varchar2 default null
238   ,p_dpdnt_vlntry_svce_flag        in     varchar2 default null
235   ,p_date_of_birth                 in     date     default null
236   ,p_date_of_death                 in     date     default null
237   ,p_dpdnt_adoption_date           in     date     default null
239   ,p_email_address                 in     varchar2 default null
240   ,p_first_name                    in     varchar2
241   ,p_fte_capacity                  in     number   default null
242   ,p_honors                        in     varchar2 default null
243   ,p_internal_location             in     varchar2 default null
244   ,p_known_as                      in     varchar2 default null
245   ,p_last_medical_test_by          in     varchar2 default null
246   ,p_last_medical_test_date        in     date     default null
247   ,p_mailstop                      in     varchar2 default null
248   ,p_marital_status                in     varchar2 default null
249   ,p_middle_names                  in     varchar2 default null
250   ,p_inn		           in     varchar2 default null
251   ,p_nationality                   in     varchar2 default null
252   ,p_office_number                 in     varchar2 default null
253   ,p_on_military_service           in     varchar2 default null
254   ,p_party_id                      in     number   default null
255   ,p_genitive_last_name            in     varchar2 default null
256   ,p_previous_last_name            in     varchar2 default null
257   ,p_projected_placement_end       in     date     default null
258   ,p_receipt_of_death_cert_date    in     date     default null
259   ,p_region_of_birth               in     varchar2 default null
260   ,p_registered_disabled_flag      in     varchar2 default null
261   ,p_resume_exists                 in     varchar2 default null
262   ,p_resume_last_updated           in     date     default null
263   ,p_second_passport_exists        in     varchar2 default null
264   ,p_sex                           in     varchar2 default null
265   ,p_student_status                in     varchar2 default null
266   ,p_suffix                        in     varchar2 default null
267   ,p_title                         in     varchar2 default null
268   ,p_town_of_birth                 in     varchar2 default null
269   ,p_uses_tobacco_flag             in     varchar2 default null
270   ,p_vendor_id                     in     number   default null
271   ,p_work_schedule                 in     varchar2 default null
272   ,p_work_telephone                in     varchar2 default null
273   ,p_exp_check_send_to_address     in     varchar2 default null
274   ,p_hold_applicant_date_until     in     date     default null
275   ,p_date_employee_data_verified   in     date     default null
276   ,p_benefit_group_id              in     number   default null
277   ,p_coord_ben_med_pln_no          in     varchar2 default null
278   ,p_coord_ben_no_cvg_flag         in     varchar2 default null
279   ,p_original_date_of_hire         in     date     default null
280   ,p_attribute_category            in     varchar2 default null
281   ,p_attribute1                    in     varchar2 default null
282   ,p_attribute2                    in     varchar2 default null
283   ,p_attribute3                    in     varchar2 default null
284   ,p_attribute4                    in     varchar2 default null
285   ,p_attribute5                    in     varchar2 default null
286   ,p_attribute6                    in     varchar2 default null
287   ,p_attribute7                    in     varchar2 default null
288   ,p_attribute8                    in     varchar2 default null
289   ,p_attribute9                    in     varchar2 default null
290   ,p_attribute10                   in     varchar2 default null
291   ,p_attribute11                   in     varchar2 default null
292   ,p_attribute12                   in     varchar2 default null
293   ,p_attribute13                   in     varchar2 default null
294   ,p_attribute14                   in     varchar2 default null
295   ,p_attribute15                   in     varchar2 default null
296   ,p_attribute16                   in     varchar2 default null
297   ,p_attribute17                   in     varchar2 default null
298   ,p_attribute18                   in     varchar2 default null
299   ,p_attribute19                   in     varchar2 default null
300   ,p_attribute20                   in     varchar2 default null
301   ,p_attribute21                   in     varchar2 default null
302   ,p_attribute22                   in     varchar2 default null
303   ,p_attribute23                   in     varchar2 default null
304   ,p_attribute24                   in     varchar2 default null
305   ,p_attribute25                   in     varchar2 default null
306   ,p_attribute26                   in     varchar2 default null
307   ,p_attribute27                   in     varchar2 default null
308   ,p_attribute28                   in     varchar2 default null
309   ,p_attribute29                   in     varchar2 default null
310   ,p_attribute30                   in     varchar2 default null
311   ,p_place_of_birth		   in     varchar2 default null
312   ,p_references		           in     varchar2 default null
313   ,p_local_coefficient		   in     varchar2 default null
314   ,p_citizenship		   in     varchar2
315   ,p_military_doc		   in     varchar2 default null
316   ,p_reserve_category		   in     varchar2 default null
317   ,p_military_rank		   in     varchar2 default null
318   ,p_military_profile		   in     varchar2 default null
319   ,p_military_reg_code		   in     varchar2 default null
320   ,p_mil_srvc_readiness_category   in     varchar2 default null
321   ,p_military_commissariat	   in     varchar2 default null
322   ,p_quitting_mark		   in     varchar2 default null
323   ,p_military_unit_number	   in     varchar2 default null
324   ,p_military_reg_type		   in     varchar2 default null
325   ,p_military_reg_details	   in     varchar2 default null
326   ,p_pension_fund_number	   in     varchar2 default null
327   ,p_person_id                        out nocopy   number
328   ,p_per_object_version_number        out nocopy   number
332   ,p_full_name                        out nocopy   varchar2
329   ,p_per_effective_start_date         out nocopy   date
330   ,p_per_effective_end_date           out nocopy   date
331   ,p_pdp_object_version_number        out nocopy   number
333   ,p_comment_id                       out nocopy   number
334   ,p_assignment_id                    out nocopy   number
335   ,p_asg_object_version_number        out nocopy   number
336   ,p_assignment_sequence              out nocopy   number
337   ,p_assignment_number                out nocopy   varchar2
338   ,p_name_combination_warning         out nocopy   boolean
339   );
340 --
341 end hr_ru_contingent_worker_api;