1 Package hr_hu_contact_api as
2 /* $Header: peconhui.pkh 120.1 2005/10/02 02:13:27 aroussel $ */
3 /*#
4 * This package contains contact APIs for Hungary.
5 * @rep:scope public
6 * @rep:product per
7 * @rep:displayname Personal Contact for Hungary
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |-----------------------------< create_hu_person >-------------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API creates a new contact for Hungary.
17 *
18 * This Hungarian Contact API calls the generic API create_person, with the
19 * parameters set as appropriate for a Hungarian Contact. See the create_person
20 * API for further documentation as this API is effectively an alternative.
21 *
22 * <p><b>Licensing</b><br>
23 * This API is licensed for use with Human Resources.
24 *
25 * <p><b>Prerequisites</b><br>
26 * Valid business group for Hungary.
27 *
28 * <p><b>Post Success</b><br>
29 * Hungarian contact is created successfully.
30 *
31 * <p><b>Post Failure</b><br>
32 * The API does not create the contact and raises an error.
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.
37 * @param p_business_group_id Business group of the person.
38 * @param p_last_name Last name.
39 * @param p_sex Legal gender. Valid values are defined by the SEX lookup type.
40 * @param p_person_type_id Type of person being created.
41 * @param p_comments Comment text.
42 * @param p_date_employee_data_verified Date on which the person data was last
43 * verified.
44 * @param p_date_of_birth Date of birth.
45 * @param p_email_address Email address.
46 * @param p_expense_check_send_to_addres Mailing address.
47 * @param p_first_name First name.
48 * @param p_preferred_name Contact's Alternative name
49 * @param p_marital_status Marital status. Valid values are defined by the
50 * MAR_STATUS lookup type.
51 * @param p_middle_names Middle names.
52 * @param p_nationality Nationality. Valid values are defined by the
53 * NATIONALITY lookup type.
54 * @param p_ss_number National identifier
55 * @param p_maiden_name Contact's previous last name.
56 * @param p_registered_disabled_flag Flag indicating whether the person is
57 * classified as disabled.
58 * @param p_title Title. Valid values are defined by the TITLE lookup type.
59 * @param p_vendor_id Obsolete parameter, do not use.
60 * @param p_work_telephone Obsolete parameter, do not use.
61 * @param p_attribute_category This context value determines which flexfield
62 * structure to use with the descriptive flexfield segments.
63 * @param p_attribute1 Descriptive flexfield segment.
64 * @param p_attribute2 Descriptive flexfield segment.
65 * @param p_attribute3 Descriptive flexfield segment.
66 * @param p_attribute4 Descriptive flexfield segment.
67 * @param p_attribute5 Descriptive flexfield segment.
68 * @param p_attribute6 Descriptive flexfield segment.
69 * @param p_attribute7 Descriptive flexfield segment.
70 * @param p_attribute8 Descriptive flexfield segment.
71 * @param p_attribute9 Descriptive flexfield segment.
72 * @param p_attribute10 Descriptive flexfield segment.
73 * @param p_attribute11 Descriptive flexfield segment.
74 * @param p_attribute12 Descriptive flexfield segment.
75 * @param p_attribute13 Descriptive flexfield segment.
76 * @param p_attribute14 Descriptive flexfield segment.
77 * @param p_attribute15 Descriptive flexfield segment.
78 * @param p_attribute16 Descriptive flexfield segment.
79 * @param p_attribute17 Descriptive flexfield segment.
80 * @param p_attribute18 Descriptive flexfield segment.
81 * @param p_attribute19 Descriptive flexfield segment.
82 * @param p_attribute20 Descriptive flexfield segment.
83 * @param p_attribute21 Descriptive flexfield segment.
84 * @param p_attribute22 Descriptive flexfield segment.
85 * @param p_attribute23 Descriptive flexfield segment.
86 * @param p_attribute24 Descriptive flexfield segment.
87 * @param p_attribute25 Descriptive flexfield segment.
88 * @param p_attribute26 Descriptive flexfield segment.
89 * @param p_attribute27 Descriptive flexfield segment.
90 * @param p_attribute28 Descriptive flexfield segment.
91 * @param p_attribute29 Descriptive flexfield segment.
92 * @param p_attribute30 Descriptive flexfield segment.
93 * @param p_per_information_category Obsolete parameter, do not use.
94 * @param p_mothers_maiden_name Mother's Maiden Name
95 * @param p_tax_identification_no Tax Identification Number
96 * @param p_personal_identity_no Personal Identity Number
97 * @param p_pensioner_registration_no Pensioner Registration Number
98 * @param p_contact_employers_name Name of the contact's employer
99 * @param p_per_information6 Developer descriptive flexfield segment.
100 * @param p_service_completed Military Service Completed. Valid values exist in
101 * the 'YES_NO' lookup type.
102 * @param p_reason_not_completed Reason military service not completed
103 * @param p_service_start_date Military Service Start Date
104 * @param p_service_end_date Military Service End Date
105 * @param p_mandate_code Mandate Code. Valid values exist in
106 * 'HR_HU_MILITARY_MANDATE_CODE' lookup type.
107 * @param p_mandate_date Mandate Date
108 * @param p_command_type Command Type. Valid values exist in
109 * 'HR_HU_MILITARY_COMMAND_TYPE' lookup type.
110 * @param p_command_color Command Color. Valid values exist in
111 * 'HR_HU_MILITARY_COMMAND_COLOR' lookup type.
112 * @param p_command_number Command Number
113 * @param p_rank Military Rank. Valid values exist in 'HR_HU_MILITARY_RANK'
114 * lookup type.
115 * @param p_position Civil defence position
116 * @param p_organization Civil Defence Organization. Valid values exist in
117 * 'HR_HU_CIVIL_DEFENCE_ORG' lookup type.
118 * @param p_local_department Local Department. Valid values exist in
119 * 'HR_HU_CIVIL_LOCAL_DEPT' lookup type.
120 * @param p_local_sub_department Local Sub-Department. Valid values exist in
121 * 'HR_HU_CIVIL_LOCAL_SUB_DEP' lookup type. T
122 * @param p_group Civil Defence Group. Valid values exist in
123 * 'HR_HU_CIVIL_GROUP' lookup type.
124 * @param p_sub_group Civil Defence Sub-Group. Valid values exist in
125 * 'HR_HU_CIVIL_SUB_GROUP' lookup type.
126 * @param p_ss_start_date Social Security Start Date
127 * @param p_ss_end_date Social Security End Date
128 * @param p_per_information25 Developer descriptive flexfield segment.
129 * @param p_per_information26 Developer descriptive flexfield segment.
130 * @param p_per_information27 Developer descriptive flexfield segment.
131 * @param p_per_information28 Developer descriptive flexfield segment.
132 * @param p_per_information29 Developer descriptive flexfield segment.
133 * @param p_per_information30 Developer descriptive flexfield segment.
134 * @param p_correspondence_language Preferred language for correspondence.
135 * @param p_honors Honors awarded.
136 * @param p_benefit_group_id Benefit group to which this person will belong.
137 * @param p_on_military_service Flag indicating whether the person is on
138 * military service.
139 * @param p_student_status If this person is a student, this field is used to
140 * capture their status. Valid values are defined by the STUDENT_STATUS lookup
141 * type.
142 * @param p_uses_tobacco_flag Flag indicating whether the person uses tobacco.
143 * @param p_coord_ben_no_cvg_flag No secondary medical plan coverage. Column
144 * used for external processing.
145 * @param p_prefix Name prefix
146 * @param p_suffix Suffix after the person's last name e.g. Sr., Jr., III.
147 * @param p_place_of_birth Town or city of birth
148 * @param p_region_of_birth Geographical region of birth.
149 * @param p_country_of_birth Country of birth.
150 * @param p_global_person_id Obsolete parameter, do not use.
151 * @param p_person_id If p_validate is false, then this uniquely identifies the
152 * person created. If p_validate is true, then set to null.
153 * @param p_object_version_number If p_validate is false, then set to the
154 * version number of the created person. If p_validate is true, then the value
155 * will be null.
156 * @param p_effective_start_date If p_validate is false, then set to the
157 * earliest effective start date for the created person. If p_validate is true,
158 * then set to null.
159 * @param p_effective_end_date If p_validate is false, then set to the
160 * effective end date for the created person. If p_validate is true, then set
161 * to null.
162 * @param p_full_name If p_validate is false, then set to the complete full
163 * name of the person. If p_validate is true, then set to null.
164 * @param p_comment_id Comment text.
165 * @param p_name_combination_warning If set to true, then the combination of
166 * last name, first name and date of birth existed prior to calling this API.
167 * @param p_orig_hire_warning If set to true, an orginal date of hire exists
168 * for a person who has never been an employee.
169 * @rep:displayname Create Contact Person for Hungary
170 * @rep:category BUSINESS_ENTITY PER_PERSONAL_CONTACT
171 * @rep:scope public
172 * @rep:lifecycle active
173 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
174 */
175 --
176 -- {End Of Comments}
177 --
178 procedure create_hu_person
179 (p_validate in boolean default false
180 ,p_start_date in date
181 ,p_business_group_id in number
182 ,p_last_name in varchar2
183 ,p_sex in varchar2
184 ,p_person_type_id in number default null
185 ,p_comments in varchar2 default null
186 ,p_date_employee_data_verified in date default null
187 ,p_date_of_birth in date default null
188 ,p_email_address in varchar2 default null
189 ,p_expense_check_send_to_addres in varchar2 default null
190 ,p_first_name in varchar2 default null
191 ,p_preferred_name in varchar2 default null
192 ,p_marital_status in varchar2 default null
193 ,p_middle_names in varchar2 default null
194 ,p_nationality in varchar2 default null
195 ,p_ss_number in varchar2 default null
196 ,p_maiden_name in varchar2 default null
197 ,p_registered_disabled_flag in varchar2 default null
198 ,p_title in varchar2 default null
199 ,p_vendor_id in number default null
200 ,p_work_telephone in varchar2 default null
201 ,p_attribute_category in varchar2 default null
202 ,p_attribute1 in varchar2 default null
203 ,p_attribute2 in varchar2 default null
204 ,p_attribute3 in varchar2 default null
205 ,p_attribute4 in varchar2 default null
206 ,p_attribute5 in varchar2 default null
207 ,p_attribute6 in varchar2 default null
208 ,p_attribute7 in varchar2 default null
209 ,p_attribute8 in varchar2 default null
210 ,p_attribute9 in varchar2 default null
211 ,p_attribute10 in varchar2 default null
212 ,p_attribute11 in varchar2 default null
213 ,p_attribute12 in varchar2 default null
214 ,p_attribute13 in varchar2 default null
215 ,p_attribute14 in varchar2 default null
216 ,p_attribute15 in varchar2 default null
217 ,p_attribute16 in varchar2 default null
218 ,p_attribute17 in varchar2 default null
219 ,p_attribute18 in varchar2 default null
220 ,p_attribute19 in varchar2 default null
221 ,p_attribute20 in varchar2 default null
222 ,p_attribute21 in varchar2 default null
223 ,p_attribute22 in varchar2 default null
224 ,p_attribute23 in varchar2 default null
225 ,p_attribute24 in varchar2 default null
226 ,p_attribute25 in varchar2 default null
227 ,p_attribute26 in varchar2 default null
228 ,p_attribute27 in varchar2 default null
229 ,p_attribute28 in varchar2 default null
230 ,p_attribute29 in varchar2 default null
231 ,p_attribute30 in varchar2 default null
232 ,p_per_information_category in varchar2 default null
233 ,p_mothers_maiden_name in varchar2 default null
234 ,p_tax_identification_no in varchar2 default null
235 ,p_personal_identity_no in varchar2 default null
236 ,p_pensioner_registration_no in varchar2 default null
237 ,p_contact_employers_name in varchar2 default null
238 ,p_per_information6 in varchar2 default null
239 ,p_service_completed in varchar2 default null
240 ,p_reason_not_completed in varchar2 default null
241 ,p_service_start_date in varchar2 default null
242 ,p_service_end_date in varchar2 default null
243 ,p_mandate_code in varchar2 default null
244 ,p_mandate_date in varchar2 default null
245 ,p_command_type in varchar2 default null
246 ,p_command_color in varchar2 default null
247 ,p_command_number in varchar2 default null
248 ,p_rank in varchar2 default null
249 ,p_position in varchar2 default null
250 ,p_organization in varchar2 default null
251 ,p_local_department in varchar2 default null
252 ,p_local_sub_department in varchar2 default null
253 ,p_group in varchar2 default null
254 ,p_sub_group in varchar2 default null
255 ,p_ss_start_date in varchar2 default null
256 ,p_ss_end_date in varchar2 default null
257 ,p_per_information25 in varchar2 default null
258 ,p_per_information26 in varchar2 default null
259 ,p_per_information27 in varchar2 default null
260 ,p_per_information28 in varchar2 default null
261 ,p_per_information29 in varchar2 default null
262 ,p_per_information30 in varchar2 default null
263 ,p_correspondence_language in varchar2 default null
264 ,p_honors in varchar2 default null
265 ,p_benefit_group_id in number default null
266 ,p_on_military_service in varchar2 default null
267 ,p_student_status in varchar2 default null
268 ,p_uses_tobacco_flag in varchar2 default null
269 ,p_coord_ben_no_cvg_flag in varchar2 default null
270 ,p_prefix in varchar2 default null
271 ,p_suffix in varchar2 default null
272 ,p_place_of_birth in varchar2 default null
273 ,p_region_of_birth in varchar2 default null
274 ,p_country_of_birth in varchar2 default null
275 ,p_global_person_id in varchar2 default null
276 ,p_person_id out nocopy number
277 ,p_object_version_number out nocopy number
278 ,p_effective_start_date out nocopy date
279 ,p_effective_end_date out nocopy date
280 ,p_full_name out nocopy varchar2
281 ,p_comment_id out nocopy number
282 ,p_name_combination_warning out nocopy boolean
283 ,p_orig_hire_warning out nocopy boolean
284 );
285 --
286 end hr_hu_contact_api;