[Home] [Help]
PACKAGE: APPS.PER_IN_DATA_PUMP
Source
1 PACKAGE per_in_data_pump AUTHID CURRENT_USER AS
2 /* $Header: hrindpmf.pkh 120.0 2005/05/31 00:51 appldev noship $ */
3
4 -- -----------------------------------------------------------------------+
5 -- Name : get_contact_relationship_ovn --+
6 -- Type : Function --+
7 -- Access : Public --+
8 -- Description : Returns the extra contact relationship ovn --+
9 -- --+
10 -- Change History : --+
11 --------------------------------------------------------------------------+
12 -- Rev# Date Userid Description --+
13 --------------------------------------------------------------------------+
14 -- 1.0 15-APR-2004 gaugupta Created this function --+
15 --------------------------------------------------------------------------+
16 FUNCTION get_contact_relationship_ovn(p_contact_rel_user_key in varchar2)
17 RETURN NUMBER ;
18
19
20 -- -----------------------------------------------------------------------+
21 -- Name : get_opm_ovn --+
22 -- Type : Function --+
23 -- Access : Public --+
24 -- Description : Returns the organization payment method ovn --+
25 -- --+
26 -- Change History : --+
27 --------------------------------------------------------------------------+
28 -- Rev# Date Userid Description --+
29 --------------------------------------------------------------------------+
30 -- 1.0 15-APR-2004 gaugupta Created this function --+
31 --------------------------------------------------------------------------+
32
33 FUNCTION get_opm_ovn
34 (
35 p_org_payment_method_user_key IN VARCHAR2,
36 p_effective_date IN DATE
37 ) RETURN NUMBER;
38
39
40
41 -- -----------------------------------------------------------------------+
42 -- Name : get_payment_type_id --+
43 -- Type : Function --+
44 -- Access : Public --+
45 -- Description : Returns the payment method type id --+
46 -- --+
47 -- Change History : --+
48 --------------------------------------------------------------------------+
49 -- Rev# Date Userid Description --+
50 --------------------------------------------------------------------------+
51 -- 1.0 15-APR-2004 gaugupta Created this function --+
52 --------------------------------------------------------------------------+
53
54 FUNCTION get_payment_type_id(payment_type_id IN NUMBER)
55 RETURN NUMBER;
56
57 -- -----------------------------------------------------------------------+
58 -- Name : get_contact_extra_info_ovn --+
59 -- Type : Function --+
60 -- Access : Public --+
61 -- Description : Returns the contact extra info ovn --+
62 -- --+
63 -- Change History : --+
64 --------------------------------------------------------------------------+
65 -- Rev# Date Userid Description --+
66 --------------------------------------------------------------------------+
67 -- 1.0 15-APR-2004 gaugupta Created this function --+
68 -- 1.1 23-Jul-2004 lnagaraj Modified the input parameter --+
69 --------------------------------------------------------------------------+
70 FUNCTION get_contact_extra_info_ovn
71 (
72 p_contact_extra_info_user_key IN VARCHAR2,
73 p_effective_date in date
74 ) return number ;
75
76 -- -----------------------------------------------------------------------+
77 -- Name : get_person_extra_info_ovn --+
78 -- Type : Function --+
79 -- Access : Public --+
80 -- Description : Returns the extra person information ovn --+
81 -- --+
82 -- Change History : --+
83 --------------------------------------------------------------------------+
84 -- Rev# Date Userid Description --+
85 --------------------------------------------------------------------------+
86 -- 1.0 15-APR-2004 gaugupta Created this function --+
87 --------------------------------------------------------------------------+
88 FUNCTION get_person_extra_info_ovn(p_person_extra_info_user_key IN VARCHAR2)
89 RETURN NUMBER;
90
91 -- -----------------------------------------------------------------------+
92 -- Name : get_person_extra_info_id --+
93 -- Type : Function --+
94 -- Access : Public --+
95 -- Description : Returns the extra person information id --+
96 -- --+
97 -- Change History : --+
98 --------------------------------------------------------------------------+
99 -- Rev# Date Userid Description --+
100 --------------------------------------------------------------------------+
101 -- 1.0 15-APR-2004 gaugupta Created this function --+
102 --------------------------------------------------------------------------+
103 FUNCTION get_person_extra_info_id(p_person_extra_info_user_key IN varchar2)
104 RETURN NUMBER ;
105
106 -- -----------------------------------------------------------------------+
107 -- Name : get_contact_extra_info_id --+
108 -- Type : Function --+
109 -- Access : Public --+
110 -- Description : Returns the extra contact relationship id --+
111 -- --+
112 -- Change History : --+
113 --------------------------------------------------------------------------+
114 -- Rev# Date Userid Description --+
115 --------------------------------------------------------------------------+
116 -- 1.0 15-APR-2004 gaugupta Created this function --+
117 --------------------------------------------------------------------------+
118 FUNCTION get_contact_extra_info_id(p_contact_extra_info_user_key IN VARCHAR2)
119 RETURN NUMBER ;
120
121
122 -- -----------------------------------------------------------------------+
123 -- Name : get_sets_of_book_id --+
124 -- Type : Function --+
125 -- Access : Public --+
126 -- Description : Returns the Sets Of Book id --+
127 -- --+
128 -- Change History : --+
129 --------------------------------------------------------------------------+
130 -- Rev# Date Userid Description --+
131 --------------------------------------------------------------------------+
132 -- 1.0 15-APR-2004 gaugupta Created this function --+
133 --------------------------------------------------------------------------+
134 FUNCTION get_sets_of_book_id(p_sets_of_book_name IN VARCHAR2)
135 RETURN NUMBER ;
136
137 -- -----------------------------------------------------------------------+
138 -- Name : get_id --+
139 -- Type : Function --+
140 -- Access : Public --+
141 -- Description : Returns the id of a given organization name. --+
142 -- --+
143 -- Change History : --+
144 --------------------------------------------------------------------------+
145 -- Rev# Date Userid Description --+
146 --------------------------------------------------------------------------+
147 -- 1.0 15-APR-2004 gaugupta Created this function --+
148 --------------------------------------------------------------------------+
149
150 FUNCTION get_id(p_org_name IN VARCHAR2)
151 RETURN NUMBER;
152
153 -- -----------------------------------------------------------------------+
154 -- Name : get_gre_id --+
155 -- Type : Function --+
156 -- Access : Public --+
157 -- Description : Returns the id of the GRE/LEGAL entity --+
158 -- --+
159 -- Change History : --+
160 --------------------------------------------------------------------------+
161 -- Rev# Date Userid Description --+
162 --------------------------------------------------------------------------+
163 -- 1.0 15-APR-2004 gaugupta Created this function --+
164 --------------------------------------------------------------------------+
165
166 FUNCTION get_gre_id(p_gre_legal_entity IN VARCHAR2)
167 RETURN NUMBER;
168
169 -- -----------------------------------------------------------------------+
170 -- Name : get_pf_org_id --+
171 -- Type : Function --+
172 -- Access : Public --+
173 -- Description : Returns the id of the PF organization --+
174 -- --+
175 -- Change History : --+
176 --------------------------------------------------------------------------+
177 -- Rev# Date Userid Description --+
178 --------------------------------------------------------------------------+
179 -- 1.0 15-APR-2004 gaugupta Created this function --+
180 --------------------------------------------------------------------------+
181
182 FUNCTION get_pf_org_id(p_pf_organization IN VARCHAR2)
183 RETURN NUMBER;
184
185 -- -----------------------------------------------------------------------+
186 -- Name : get_prof_tax_org_id --+
187 -- Type : Function --+
188 -- Access : Public --+
189 -- Description : Returns the id of the Proff Tax organization --+
190 -- --+
191 -- Change History : --+
192 --------------------------------------------------------------------------+
193 -- Rev# Date Userid Description --+
194 --------------------------------------------------------------------------+
195 -- 1.0 15-APR-2004 gaugupta Created this function --+
196 --------------------------------------------------------------------------+
197 FUNCTION get_prof_tax_org_id(p_prof_tax_organization IN VARCHAR2)
198 RETURN NUMBER;
199
200
201 -- -----------------------------------------------------------------------+
202 -- Name : get_esi_id --+
203 -- Type : Function --+
204 -- Access : Public --+
205 -- Description : Returns the id of the ESI organization --+
206 -- --+
207 -- Change History : --+
208 --------------------------------------------------------------------------+
209 -- Rev# Date Userid Description --+
210 --------------------------------------------------------------------------+
211 -- 1.0 15-APR-2004 gaugupta Created this function --+
212 --------------------------------------------------------------------------+
213 FUNCTION get_esi_id(p_esi_organization IN VARCHAR2)
214 RETURN NUMBER;
215
216 -- -----------------------------------------------------------------------+
217 -- Name : get_factory_id --+
218 -- Type : Function --+
219 -- Access : Public --+
220 -- Description : Returns the id of the factory organization --+
221 -- --+
222 -- Change History : --+
223 --------------------------------------------------------------------------+
224 -- Rev# Date Userid Description --+
225 --------------------------------------------------------------------------+
226 -- 1.0 15-APR-2004 gaugupta Created this function --+
227 --------------------------------------------------------------------------+
228 FUNCTION get_factory_id(p_factory IN VARCHAR2)
229 RETURN NUMBER;
230
231 -- -----------------------------------------------------------------------+
235 -- Description : Returns the id of the Establishment --+
232 -- Name : get_est_id --+
233 -- Type : Function --+
234 -- Access : Public --+
236 -- --+
237 -- Change History : --+
238 --------------------------------------------------------------------------+
239 -- Rev# Date Userid Description --+
240 --------------------------------------------------------------------------+
241 -- 1.0 15-APR-2004 gaugupta Created this function --+
242 --------------------------------------------------------------------------+
243 FUNCTION get_est_id(p_establishment IN VARCHAR2)
244 RETURN NUMBER;
245
246 -- -----------------------------------------------------------------------+
247 -- Name : get_tp_header_id --+
248 -- Type : Function --+
249 -- Access : Public --+
250 -- Description : --+
251 -- --+
252 -- Change History : --+
253 --------------------------------------------------------------------------+
254 -- Rev# Date Userid Description --+
255 --------------------------------------------------------------------------+
256 -- 1.0 15-APR-2004 gaugupta Created this function --+
257 --------------------------------------------------------------------------+
258 FUNCTION get_tp_header_id
259 RETURN NUMBER;
260
261
262 -- -----------------------------------------------------------------------+
263 -- Name : get_designated_receiver_id --+
264 -- Type : Function --+
265 -- Access : Public --+
266 -- Description : --+
267 -- --+
268 -- Change History : --+
269 --------------------------------------------------------------------------+
270 -- Rev# Date Userid Description --+
271 --------------------------------------------------------------------------+
272 -- 1.0 15-APR-2004 gaugupta Created this function --+
273 --------------------------------------------------------------------------+
274 FUNCTION get_designated_receiver_id
275 RETURN NUMBER ;
276
277
278 -- -----------------------------------------------------------------------+
279 -- Name : get_operating_unit_id --+
280 -- Type : Function --+
281 -- Access : Public --+
282 -- Description : --+
283 -- --+
284 -- Change History : --+
285 --------------------------------------------------------------------------+
286 -- Rev# Date Userid Description --+
287 --------------------------------------------------------------------------+
288 -- 1.0 15-APR-2004 gaugupta Created this function --+
289 --------------------------------------------------------------------------+
290 FUNCTION get_operating_unit_id
291 RETURN NUMBER ;
292
293
294 -- -----------------------------------------------------------------------+
295 -- Name : get_inventory_organization_id --+
296 -- Type : Function --+
297 -- Access : Public --+
298 -- Description : --+
299 -- --+
300 -- Change History : --+
301 --------------------------------------------------------------------------+
302 -- Rev# Date Userid Description --+
303 --------------------------------------------------------------------------+
304 -- 1.0 15-APR-2004 gaugupta Created this function --+
305 --------------------------------------------------------------------------+
306 FUNCTION get_inventory_organization_id
307 RETURN NUMBER ;
308
309
310 -- -----------------------------------------------------------------------+
311 -- Name : get_ship_to_location_id --+
312 -- Type : Function --+
313 -- Access : Public --+
314 -- Description : --+
315 -- --+
316 -- Change History : --+
317 --------------------------------------------------------------------------+
318 -- Rev# Date Userid Description --+
319 --------------------------------------------------------------------------+
320 -- 1.0 15-APR-2004 gaugupta Created this function --+
324
321 --------------------------------------------------------------------------+
322 FUNCTION get_ship_to_location_id(p_ship_to_location_id IN NUMBER)
323 RETURN NUMBER ;
325 -- -----------------------------------------------------------------------+
326 -- Name : get_vendor_site_id --+
327 -- Type : Function --+
328 -- Access : Public --+
329 -- Description : --+
330 -- --+
331 -- Change History : --+
332 --------------------------------------------------------------------------+
333 -- Rev# Date Userid Description --+
334 --------------------------------------------------------------------------+
335 -- 1.0 15-APR-2004 gaugupta Created this function --+
336 --------------------------------------------------------------------------+
337 FUNCTION get_vendor_site_id (p_vendor_site_id IN NUMBER)
338 RETURN NUMBER ;
339
340 -- -----------------------------------------------------------------------+
341 -- Name : get_po_header_id --+
342 -- Type : Function --+
343 -- Access : Public --+
344 -- Description : --+
345 -- --+
346 -- Change History : --+
347 --------------------------------------------------------------------------+
348 -- Rev# Date Userid Description --+
349 --------------------------------------------------------------------------+
350 -- 1.0 15-APR-2004 gaugupta Created this function --+
351 --------------------------------------------------------------------------+
352 FUNCTION get_po_header_id(p_po_header_id IN NUMBER)
353 RETURN NUMBER ;
354
355 -- -----------------------------------------------------------------------+
356 -- Name : get_po_line_id --+
357 -- Type : Function --+
358 -- Access : Public --+
359 -- Description : --+
360 -- --+
361 -- Change History : --+
362 --------------------------------------------------------------------------+
363 -- Rev# Date Userid Description --+
364 --------------------------------------------------------------------------+
365 -- 1.0 15-APR-2004 gaugupta Created this function --+
366 --------------------------------------------------------------------------+
367 FUNCTION get_po_line_id (p_po_line_id IN NUMBER)
368 RETURN NUMBER ;
369
370 -- -----------------------------------------------------------------------+
371 -- Name : get_passport_country --+
372 -- Type : Function --+
373 -- Access : Public --+
374 -- Description : Returns the country code --+
375 -- --+
376 -- Change History : --+
377 --------------------------------------------------------------------------+
378 -- Rev# Date Userid Description --+
379 --------------------------------------------------------------------------+
380 -- 1.0 26-May-2004 gaugupta Created this function --+
381 --------------------------------------------------------------------------+
382 FUNCTION get_passport_country(p_issuing_country IN VARCHAR2)
383 RETURN VARCHAR2 ;
384
385 -- -----------------------------------------------------------------------+
386 -- Name : get_issue_date --+
387 -- Type : Function --+
388 -- Access : Public --+
389 -- Description : Returns the value in canonical format --+
390 -- --+
391 -- Change History : --+
392 --------------------------------------------------------------------------+
393 -- Rev# Date Userid Bug Description --+
394 --------------------------------------------------------------------------+
395 -- 1.0 19-Jul-2004 lnagaraj 3762728 Created this function --+
396 --------------------------------------------------------------------------+
397 FUNCTION get_issue_date(p_issue_date VARCHAR2)
398 RETURN VARCHAR2 ;
399
400 -- -----------------------------------------------------------------------+
401 -- Name : get_birth_date --+
402 -- Type : Function --+
403 -- Access : Public --+
404 -- Description : Returns the value in canonical format --+
405 -- --+
406 -- Change History : --+
407 --------------------------------------------------------------------------+
408 -- Rev# Date Userid Bug Description --+
409 --------------------------------------------------------------------------+
410 -- 1.0 19-Jul-2004 lnagaraj 3762728 Created this function --+
411 --------------------------------------------------------------------------+
412
413 FUNCTION get_birth_date(p_guardian_birth_date VARCHAR2)
414 RETURN VARCHAR2 ;
415
416 -- -----------------------------------------------------------------------+
417 -- Name : get_expiry_date --+
418 -- Type : Function --+
419 -- Access : Public --+
420 -- Description : Returns the value in canonical format --+
421 -- --+
422 -- Change History : --+
423 --------------------------------------------------------------------------+
424 -- Rev# Date Userid Bug Description --+
425 --------------------------------------------------------------------------+
426 -- 1.0 19-Jul-2004 lnagaraj 3762728 Created this function --+
427 --------------------------------------------------------------------------+
428
429 FUNCTION get_expiry_date(p_expiry_date VARCHAR2)
430 RETURN VARCHAR2;
431
432 -- -----------------------------------------------------------------------+
433 -- Name : get_height --+
434 -- Type : Function --+
435 -- Access : Public --+
436 -- Description : validates that height is between 1.00 and 3.00 --+
437 -- --+
438 -- Change History : --+
439 --------------------------------------------------------------------------+
440 -- Rev# Date Userid Description --+
441 --------------------------------------------------------------------------+
442 -- 1.0 19-Jul-2004 lnagaraj Created this function --+
443 --------------------------------------------------------------------------+
444 FUNCTION get_height
445 (
446 p_height IN VARCHAR2
447 ) RETURN VARCHAR2;
448
449 -- -----------------------------------------------------------------------+
450 -- Name : get_weight --+
451 -- Type : Function --+
452 -- Access : Public --+
453 -- Description : validates that weight is between 0.00 and 999.99 --+
454 -- --+
455 -- Change History : --+
456 --------------------------------------------------------------------------+
457 -- Rev# Date Userid Description --+
458 --------------------------------------------------------------------------+
459 -- 1.0 19-Jul-2004 lnagaraj Created this function --+
460 --------------------------------------------------------------------------+
461
462 FUNCTION get_weight
463 (
464 p_weight IN VARCHAR2
465 ) RETURN VARCHAR2;
466
467 -- -----------------------------------------------------------------------+
468 -- Name : get_scl_contractor_id --+
469 -- Type : Function --+
470 -- Access : Public --+
471 -- Description : Returns the id of the Contractor --+
472 -- --+
473 -- Change History : --+
474 --------------------------------------------------------------------------+
475 -- Rev# Date Userid Description --+
476 --------------------------------------------------------------------------+
477 -- 1.0 19-Jul-2004 lnagaraj Created this function --+
478 --------------------------------------------------------------------------+
479 FUNCTION get_scl_contractor_id(p_scl_contractor_name IN VARCHAR2)
480 RETURN NUMBER;
481
482 END per_in_data_pump ;