DBA Data[Home] [Help]

PACKAGE: APPS.PER_HIERARCHY_VERSIONS_API

Source


1 Package per_hierarchy_versions_api AUTHID CURRENT_USER as
2 /* $Header: pepgvapi.pkh 120.1 2005/10/02 02:21:32 aroussel $ */
3 /*#
4  * This package contains APIs which create and maintain the structure version
5  * for a generic hierarchy.
6  * @rep:scope public
7  * @rep:product per
8  * @rep:displayname Generic Hierarchy Version
9 */
10 --
11 -- ----------------------------------------------------------------------------
12 -- |------------------------< create_hierarchy_versions >---------------------|
13 -- ----------------------------------------------------------------------------
14 --
15 -- {Start Of Comments}
16 /*#
17  * This API creates a generic hierarchy structure version.
18  *
19  * A generic hierarchy can have one or more dated versions of its structure.
20  * Each structure version is given a number, and a (potentially open ended)
21  * date range during which the structure version applies. The generic hierarchy
22  * structure version is the intermediate entity between the generic hierarchy
23  * (which contains the name and type of the hierarchy) and the generic
24  * hierarchy nodes (which contain the actual data participating in the generic
25  * hierarchy).
26  *
27  * <p><b>Licensing</b><br>
28  * This API is licensed for use with Human Resources.
29  *
30  * <p><b>Prerequisites</b><br>
31  * The generic hierarchy under which the structure version is to be created
32  * must exist.
33  *
34  * <p><b>Post Success</b><br>
35  * The generic hierarchy structure version is created.
36  *
37  * <p><b>Post Failure</b><br>
38  * The generic hierarchy structure version is not created and an error is
39  * raised.
40  * @param p_validate If true, then validation alone will be performed and the
41  * database will remain unchanged. If false and all validation checks pass,
42  * then the database will be modified.
43  * @param p_hierarchy_version_id If p_validate is false then uniquely
44  * identifies the generic hierarchy node created. If p_validate is true then
45  * set to null.
46  * @param p_business_group_id The business group under which the generic
47  * hierarchy structure version is created.
48  * @param p_version_number The version number of the structure version.
49  * @param p_hierarchy_id Uniquely identifies the parent generic hierarchy under
50  * which the structure version exists.
51  * @param p_date_from The date from which the structure version is in effect.
52  * @param p_date_to The date until which the structure version is in effect.
53  * @param p_status The status of the structure version. Valid values are
54  * defined by the 'ACTIVE_INACTIVE' lookup type.
55  * @param p_validate_flag Only relevant to the Vets Report generic hierarchy.
56  * Valid values are defined by the 'YES_NO' lookup type.
57  * @param p_request_id When the API is executed from a concurrent program set
58  * to the concurrent request identifier.
59  * @param p_program_application_id When the API is executed from a concurrent
60  * program set to the program's Application.
61  * @param p_program_id When the API is executed from a concurrent program set
62  * to the program's identifier.
63  * @param p_program_update_date When the API is executed from a concurrent
64  * program set to when the program was ran.
65  * @param p_object_version_number If p_validate is false, then set to the
66  * version number of the created generic hierarchy structure version. If
67  * p_validate is true, then the value will be null.
68  * @param p_attribute_category This context value determines which flexfield
69  * structure to use with the descriptive flexfield segments.
70  * @param p_attribute1 Descriptive flexfield segment.
71  * @param p_attribute2 Descriptive flexfield segment.
72  * @param p_attribute3 Descriptive flexfield segment.
73  * @param p_attribute4 Descriptive flexfield segment.
74  * @param p_attribute5 Descriptive flexfield segment.
75  * @param p_attribute6 Descriptive flexfield segment.
76  * @param p_attribute7 Descriptive flexfield segment.
77  * @param p_attribute8 Descriptive flexfield segment.
78  * @param p_attribute9 Descriptive flexfield segment.
79  * @param p_attribute10 Descriptive flexfield segment.
80  * @param p_attribute11 Descriptive flexfield segment.
81  * @param p_attribute12 Descriptive flexfield segment.
82  * @param p_attribute13 Descriptive flexfield segment.
83  * @param p_attribute14 Descriptive flexfield segment.
84  * @param p_attribute15 Descriptive flexfield segment.
85  * @param p_attribute16 Descriptive flexfield segment.
86  * @param p_attribute17 Descriptive flexfield segment.
87  * @param p_attribute18 Descriptive flexfield segment.
88  * @param p_attribute19 Descriptive flexfield segment.
89  * @param p_attribute20 Descriptive flexfield segment.
90  * @param p_attribute21 Descriptive flexfield segment.
91  * @param p_attribute22 Descriptive flexfield segment.
92  * @param p_attribute23 Descriptive flexfield segment.
93  * @param p_attribute24 Descriptive flexfield segment.
94  * @param p_attribute25 Descriptive flexfield segment.
95  * @param p_attribute26 Descriptive flexfield segment.
96  * @param p_attribute27 Descriptive flexfield segment.
97  * @param p_attribute28 Descriptive flexfield segment.
98  * @param p_attribute29 Descriptive flexfield segment.
99  * @param p_attribute30 Descriptive flexfield segment.
100  * @param p_information_category This context value determines which flexfield
101  * structure to use with the developer descriptive flexfield segments.
102  * @param p_information1 Developer descriptive flexfield segment.
103  * @param p_information2 Developer descriptive flexfield segment.
104  * @param p_information3 Developer descriptive flexfield segment.
105  * @param p_information4 Developer descriptive flexfield segment.
106  * @param p_information5 Developer descriptive flexfield segment.
107  * @param p_information6 Developer descriptive flexfield segment.
108  * @param p_information7 Developer descriptive flexfield segment.
109  * @param p_information8 Developer descriptive flexfield segment.
110  * @param p_information9 Developer descriptive flexfield segment.
111  * @param p_information10 Developer descriptive flexfield segment.
112  * @param p_information11 Developer descriptive flexfield segment.
113  * @param p_information12 Developer descriptive flexfield segment.
114  * @param p_information13 Developer descriptive flexfield segment.
115  * @param p_information14 Developer descriptive flexfield segment.
116  * @param p_information15 Developer descriptive flexfield segment.
117  * @param p_information16 Developer descriptive flexfield segment.
118  * @param p_information17 Developer descriptive flexfield segment.
119  * @param p_information18 Developer descriptive flexfield segment.
120  * @param p_information19 Developer descriptive flexfield segment.
121  * @param p_information20 Developer descriptive flexfield segment.
122  * @param p_information21 Developer descriptive flexfield segment.
123  * @param p_information22 Developer descriptive flexfield segment.
124  * @param p_information23 Developer descriptive flexfield segment.
125  * @param p_information24 Developer descriptive flexfield segment.
126  * @param p_information25 Developer descriptive flexfield segment.
127  * @param p_information26 Developer descriptive flexfield segment.
128  * @param p_information27 Developer descriptive flexfield segment.
129  * @param p_information28 Developer descriptive flexfield segment.
130  * @param p_information29 Developer descriptive flexfield segment.
131  * @param p_information30 Developer descriptive flexfield segment.
132  * @param p_effective_date Reference date for validating lookup values are
133  * applicable during the start to end active date range. This date does not
137  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
134  * determine when the changes take effect.
135  * @rep:displayname Create Generic Hierarchy Structure Version
136  * @rep:category BUSINESS_ENTITY PER_GENERIC_HIERARCHY
138  * @rep:scope public
139  * @rep:lifecycle active
140  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
141 */
142 --
143 -- {End Of Comments}
144 --
145 procedure create_hierarchy_versions
146 (
147    p_validate                       in boolean    default false
148   ,p_hierarchy_version_id           out nocopy number
149   ,p_business_group_id              in  number    default null
150   ,p_version_number                 in  number    default null
151   ,p_hierarchy_id                   in  number
152   ,p_date_from                      in  date      default null
153   ,p_date_to                        in  date      default null
154   ,p_status                         in  varchar2  default null
155   ,p_validate_flag                  in  varchar2  default null
156   ,p_request_id                     in  number    default null
157   ,p_program_application_id         in  number    default null
158   ,p_program_id                     in  number    default null
159   ,p_program_update_date            in  date      default null
160   ,p_object_version_number          out nocopy number
161   ,p_attribute_category             in  varchar2  default null
162   ,p_attribute1                     in  varchar2  default null
163   ,p_attribute2                     in  varchar2  default null
164   ,p_attribute3                     in  varchar2  default null
165   ,p_attribute4                     in  varchar2  default null
166   ,p_attribute5                     in  varchar2  default null
167   ,p_attribute6                     in  varchar2  default null
168   ,p_attribute7                     in  varchar2  default null
169   ,p_attribute8                     in  varchar2  default null
170   ,p_attribute9                     in  varchar2  default null
171   ,p_attribute10                    in  varchar2  default null
172   ,p_attribute11                    in  varchar2  default null
173   ,p_attribute12                    in  varchar2  default null
174   ,p_attribute13                    in  varchar2  default null
175   ,p_attribute14                    in  varchar2  default null
176   ,p_attribute15                    in  varchar2  default null
177   ,p_attribute16                    in  varchar2  default null
178   ,p_attribute17                    in  varchar2  default null
179   ,p_attribute18                    in  varchar2  default null
180   ,p_attribute19                    in  varchar2  default null
181   ,p_attribute20                    in  varchar2  default null
182   ,p_attribute21                    in  varchar2  default null
183   ,p_attribute22                    in  varchar2  default null
184   ,p_attribute23                    in  varchar2  default null
185   ,p_attribute24                    in  varchar2  default null
186   ,p_attribute25                    in  varchar2  default null
187   ,p_attribute26                    in  varchar2  default null
188   ,p_attribute27                    in  varchar2  default null
189   ,p_attribute28                    in  varchar2  default null
190   ,p_attribute29                    in  varchar2  default null
191   ,p_attribute30                    in  varchar2  default null
192   ,p_information_category           in  varchar2  default null
193   ,p_information1                   in  varchar2  default null
194   ,p_information2                   in  varchar2  default null
195   ,p_information3                   in  varchar2  default null
196   ,p_information4                   in  varchar2  default null
197   ,p_information5                   in  varchar2  default null
198   ,p_information6                   in  varchar2  default null
199   ,p_information7                   in  varchar2  default null
200   ,p_information8                   in  varchar2  default null
201   ,p_information9                   in  varchar2  default null
202   ,p_information10                  in  varchar2  default null
203   ,p_information11                  in  varchar2  default null
204   ,p_information12                  in  varchar2  default null
205   ,p_information13                  in  varchar2  default null
206   ,p_information14                  in  varchar2  default null
207   ,p_information15                  in  varchar2  default null
208   ,p_information16                  in  varchar2  default null
209   ,p_information17                  in  varchar2  default null
210   ,p_information18                  in  varchar2  default null
211   ,p_information19                  in  varchar2  default null
212   ,p_information20                  in  varchar2  default null
213   ,p_information21                  in  varchar2  default null
214   ,p_information22                  in  varchar2  default null
215   ,p_information23                  in  varchar2  default null
216   ,p_information24                  in  varchar2  default null
217   ,p_information25                  in  varchar2  default null
218   ,p_information26                  in  varchar2  default null
219   ,p_information27                  in  varchar2  default null
220   ,p_information28                  in  varchar2  default null
221   ,p_information29                  in  varchar2  default null
222   ,p_information30                  in  varchar2  default null
223   ,p_effective_date            in  date
224  );
225 --
226 -- ----------------------------------------------------------------------------
227 -- |------------------------< update_hierarchy_versions >---------------------|
228 -- ----------------------------------------------------------------------------
229 --
230 -- {Start Of Comments}
231 /*#
232  * This API updates a generic hierarchy structure version.
233  *
234  * A generic hierarchy can have one or more dated versions of its structure.
238  * (which contains the name and type of the hierarchy) and the generic
235  * Each structure version is given a number, and a (potentially open ended)
236  * date range during which the structure version applies. The generic hierarchy
237  * structure version is the intermediate entity between the generic hierarchy
239  * hierarchy nodes (which contain the actual data participating in the generic
240  * hierarchy).
241  *
242  * <p><b>Licensing</b><br>
243  * This API is licensed for use with Human Resources.
244  *
245  * <p><b>Prerequisites</b><br>
246  * The generic hierarchy structure version to be updated must exist.
247  *
248  * <p><b>Post Success</b><br>
249  * The generic hierarchy structure version is updated.
250  *
251  * <p><b>Post Failure</b><br>
252  * The generic hierarchy structure version is not updated and an error is
253  * raised.
254  * @param p_validate If true, then validation alone will be performed and the
255  * database will remain unchanged. If false and all validation checks pass,
256  * then the database will be modified.
257  * @param p_hierarchy_version_id Uniquely identifies the generic hierarchy
258  * structure version to be updated.
259  * @param p_version_number The version number of the structure version.
260  * @param p_date_from The date from which the structure version is in effect.
261  * @param p_date_to The date until which the structure version is in effect.
262  * @param p_status The status of the structure version. Valid values are
263  * defined by the 'ACTIVE_INACTIVE' lookup type.
264  * @param p_validate_flag Only relevant to the Vets Report generic hierarchy.
265  * Valid values are defined by the 'YES_NO' lookup type.
266  * @param p_request_id When the API is executed from a concurrent program set
267  * to the concurrent request identifier.
268  * @param p_program_application_id When the API is executed from a concurrent
269  * program set to the program's Application.
270  * @param p_program_id When the API is executed from a concurrent program set
271  * to the program's identifier.
272  * @param p_program_update_date When the API is executed from a concurrent
273  * program set to when the program was ran.
274  * @param p_object_version_number Pass in the current version number of the
275  * generic hierarchy structure version to be updated. When the API completes if
276  * p_validate is false, will be set to the new version number of the updated
277  * generic hierarchy structure version. If p_validate is true will be set to
278  * the same value which was passed in.
279  * @param p_attribute_category This context value determines which flexfield
280  * structure to use with the descriptive flexfield segments.
281  * @param p_attribute1 Descriptive flexfield segment.
282  * @param p_attribute2 Descriptive flexfield segment.
283  * @param p_attribute3 Descriptive flexfield segment.
284  * @param p_attribute4 Descriptive flexfield segment.
285  * @param p_attribute5 Descriptive flexfield segment.
286  * @param p_attribute6 Descriptive flexfield segment.
287  * @param p_attribute7 Descriptive flexfield segment.
288  * @param p_attribute8 Descriptive flexfield segment.
289  * @param p_attribute9 Descriptive flexfield segment.
290  * @param p_attribute10 Descriptive flexfield segment.
291  * @param p_attribute11 Descriptive flexfield segment.
292  * @param p_attribute12 Descriptive flexfield segment.
293  * @param p_attribute13 Descriptive flexfield segment.
294  * @param p_attribute14 Descriptive flexfield segment.
295  * @param p_attribute15 Descriptive flexfield segment.
296  * @param p_attribute16 Descriptive flexfield segment.
297  * @param p_attribute17 Descriptive flexfield segment.
298  * @param p_attribute18 Descriptive flexfield segment.
299  * @param p_attribute19 Descriptive flexfield segment.
300  * @param p_attribute20 Descriptive flexfield segment.
301  * @param p_attribute21 Descriptive flexfield segment.
302  * @param p_attribute22 Descriptive flexfield segment.
303  * @param p_attribute23 Descriptive flexfield segment.
304  * @param p_attribute24 Descriptive flexfield segment.
305  * @param p_attribute25 Descriptive flexfield segment.
306  * @param p_attribute26 Descriptive flexfield segment.
307  * @param p_attribute27 Descriptive flexfield segment.
308  * @param p_attribute28 Descriptive flexfield segment.
309  * @param p_attribute29 Descriptive flexfield segment.
310  * @param p_attribute30 Descriptive flexfield segment.
311  * @param p_information_category This context value determines which flexfield
312  * structure to use with the developer descriptive flexfield segments.
313  * @param p_information1 Developer descriptive flexfield segment.
314  * @param p_information2 Developer descriptive flexfield segment.
315  * @param p_information3 Developer descriptive flexfield segment.
316  * @param p_information4 Developer descriptive flexfield segment.
317  * @param p_information5 Developer descriptive flexfield segment.
318  * @param p_information6 Developer descriptive flexfield segment.
319  * @param p_information7 Developer descriptive flexfield segment.
320  * @param p_information8 Developer descriptive flexfield segment.
321  * @param p_information9 Developer descriptive flexfield segment.
322  * @param p_information10 Developer descriptive flexfield segment.
323  * @param p_information11 Developer descriptive flexfield segment.
324  * @param p_information12 Developer descriptive flexfield segment.
325  * @param p_information13 Developer descriptive flexfield segment.
326  * @param p_information14 Developer descriptive flexfield segment.
327  * @param p_information15 Developer descriptive flexfield segment.
328  * @param p_information16 Developer descriptive flexfield segment.
329  * @param p_information17 Developer descriptive flexfield segment.
330  * @param p_information18 Developer descriptive flexfield segment.
331  * @param p_information19 Developer descriptive flexfield segment.
332  * @param p_information20 Developer descriptive flexfield segment.
336  * @param p_information24 Developer descriptive flexfield segment.
333  * @param p_information21 Developer descriptive flexfield segment.
334  * @param p_information22 Developer descriptive flexfield segment.
335  * @param p_information23 Developer descriptive flexfield segment.
337  * @param p_information25 Developer descriptive flexfield segment.
338  * @param p_information26 Developer descriptive flexfield segment.
339  * @param p_information27 Developer descriptive flexfield segment.
340  * @param p_information28 Developer descriptive flexfield segment.
341  * @param p_information29 Developer descriptive flexfield segment.
342  * @param p_information30 Developer descriptive flexfield segment.
343  * @param p_effective_date Reference date for validating lookup values are
344  * applicable during the start to end active date range. This date does not
345  * determine when the changes take effect.
346  * @rep:displayname Update Generic Hierarchy Structure Version
347  * @rep:category BUSINESS_ENTITY PER_GENERIC_HIERARCHY
348  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
349  * @rep:scope public
350  * @rep:lifecycle active
351  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
352 */
353 --
354 -- {End Of Comments}
355 --
356 procedure update_hierarchy_versions
357   (
358    p_validate                       in boolean    default false
359   ,p_hierarchy_version_id           in  number
360   ,p_version_number                 in  number    default hr_api.g_number
361   ,p_date_from                      in  date      default hr_api.g_date
362   ,p_date_to                        in  date      default hr_api.g_date
363   ,p_status                         in  varchar2  default hr_api.g_varchar2
364   ,p_validate_flag                  in  varchar2  default hr_api.g_varchar2
365   ,p_request_id                     in  number    default hr_api.g_number
366   ,p_program_application_id         in  number    default hr_api.g_number
367   ,p_program_id                     in  number    default hr_api.g_number
368   ,p_program_update_date            in  date      default hr_api.g_date
369   ,p_object_version_number          in out nocopy number
370   ,p_attribute_category             in  varchar2  default hr_api.g_varchar2
371   ,p_attribute1                     in  varchar2  default hr_api.g_varchar2
372   ,p_attribute2                     in  varchar2  default hr_api.g_varchar2
373   ,p_attribute3                     in  varchar2  default hr_api.g_varchar2
374   ,p_attribute4                     in  varchar2  default hr_api.g_varchar2
375   ,p_attribute5                     in  varchar2  default hr_api.g_varchar2
376   ,p_attribute6                     in  varchar2  default hr_api.g_varchar2
377   ,p_attribute7                     in  varchar2  default hr_api.g_varchar2
378   ,p_attribute8                     in  varchar2  default hr_api.g_varchar2
379   ,p_attribute9                     in  varchar2  default hr_api.g_varchar2
380   ,p_attribute10                    in  varchar2  default hr_api.g_varchar2
381   ,p_attribute11                    in  varchar2  default hr_api.g_varchar2
382   ,p_attribute12                    in  varchar2  default hr_api.g_varchar2
383   ,p_attribute13                    in  varchar2  default hr_api.g_varchar2
384   ,p_attribute14                    in  varchar2  default hr_api.g_varchar2
385   ,p_attribute15                    in  varchar2  default hr_api.g_varchar2
386   ,p_attribute16                    in  varchar2  default hr_api.g_varchar2
387   ,p_attribute17                    in  varchar2  default hr_api.g_varchar2
388   ,p_attribute18                    in  varchar2  default hr_api.g_varchar2
389   ,p_attribute19                    in  varchar2  default hr_api.g_varchar2
390   ,p_attribute20                    in  varchar2  default hr_api.g_varchar2
391   ,p_attribute21                    in  varchar2  default hr_api.g_varchar2
392   ,p_attribute22                    in  varchar2  default hr_api.g_varchar2
393   ,p_attribute23                    in  varchar2  default hr_api.g_varchar2
394   ,p_attribute24                    in  varchar2  default hr_api.g_varchar2
395   ,p_attribute25                    in  varchar2  default hr_api.g_varchar2
396   ,p_attribute26                    in  varchar2  default hr_api.g_varchar2
397   ,p_attribute27                    in  varchar2  default hr_api.g_varchar2
398   ,p_attribute28                    in  varchar2  default hr_api.g_varchar2
399   ,p_attribute29                    in  varchar2  default hr_api.g_varchar2
400   ,p_attribute30                    in  varchar2  default hr_api.g_varchar2
401   ,p_information_category           in  varchar2  default hr_api.g_varchar2
402   ,p_information1                   in  varchar2  default hr_api.g_varchar2
403   ,p_information2                   in  varchar2  default hr_api.g_varchar2
404   ,p_information3                   in  varchar2  default hr_api.g_varchar2
405   ,p_information4                   in  varchar2  default hr_api.g_varchar2
406   ,p_information5                   in  varchar2  default hr_api.g_varchar2
407   ,p_information6                   in  varchar2  default hr_api.g_varchar2
408   ,p_information7                   in  varchar2  default hr_api.g_varchar2
409   ,p_information8                   in  varchar2  default hr_api.g_varchar2
410   ,p_information9                   in  varchar2  default hr_api.g_varchar2
411   ,p_information10                  in  varchar2  default hr_api.g_varchar2
412   ,p_information11                  in  varchar2  default hr_api.g_varchar2
413   ,p_information12                  in  varchar2  default hr_api.g_varchar2
414   ,p_information13                  in  varchar2  default hr_api.g_varchar2
415   ,p_information14                  in  varchar2  default hr_api.g_varchar2
416   ,p_information15                  in  varchar2  default hr_api.g_varchar2
417   ,p_information16                  in  varchar2  default hr_api.g_varchar2
418   ,p_information17                  in  varchar2  default hr_api.g_varchar2
419   ,p_information18                  in  varchar2  default hr_api.g_varchar2
423   ,p_information22                  in  varchar2  default hr_api.g_varchar2
420   ,p_information19                  in  varchar2  default hr_api.g_varchar2
421   ,p_information20                  in  varchar2  default hr_api.g_varchar2
422   ,p_information21                  in  varchar2  default hr_api.g_varchar2
424   ,p_information23                  in  varchar2  default hr_api.g_varchar2
425   ,p_information24                  in  varchar2  default hr_api.g_varchar2
426   ,p_information25                  in  varchar2  default hr_api.g_varchar2
427   ,p_information26                  in  varchar2  default hr_api.g_varchar2
428   ,p_information27                  in  varchar2  default hr_api.g_varchar2
429   ,p_information28                  in  varchar2  default hr_api.g_varchar2
430   ,p_information29                  in  varchar2  default hr_api.g_varchar2
431   ,p_information30                  in  varchar2  default hr_api.g_varchar2
432   ,p_effective_date            in  date
433   );
434 --
435 -- ----------------------------------------------------------------------------
436 -- |------------------------< delete_hierarchy_versions >---------------------|
437 -- ----------------------------------------------------------------------------
438 --
439 -- {Start Of Comments}
440 /*#
441  * This API deletes a generic hierarchy structure version.
442  *
443  * A generic hierarchy can have one or more dated versions of its structure.
444  * Each structure version is given a number, and a (potentially open ended)
445  * date range during which the structure version applies. The generic hierarchy
446  * structure version is the intermediate entity between the generic hierarchy
447  * (which contains the name and type of the hierarchy) and the generic
448  * hierarchy nodes (which contain the actual data participating in the generic
449  * hierarchy).
450  *
451  * <p><b>Licensing</b><br>
452  * This API is licensed for use with Human Resources.
453  *
454  * <p><b>Prerequisites</b><br>
455  * The generic hierarchy structure version to be deleted must exist and there
456  * must not be any generic hierarchy nodes in existence referencing the
457  * structure version to be deleted.
458  *
459  * <p><b>Post Success</b><br>
460  * The generic hierarchy structure version is deleted.
461  *
462  * <p><b>Post Failure</b><br>
463  * The generic hierarchy structure version is not deleted and an error is
464  * raised.
465  * @param p_validate If true, then validation alone will be performed and the
466  * database will remain unchanged. If false and all validation checks pass,
467  * then the database will be modified.
468  * @param p_hierarchy_version_id Uniquely identifies the generic hierarchy
469  * structure version to be deleted.
470  * @param p_object_version_number Current version number of the generic
471  * hierarchy structure version to be deleted.
472  * @param p_effective_date Reference date for validating lookup values are
473  * applicable during the start to end active date range. This date does not
474  * determine when the changes take effect.
475  * @rep:displayname Delete Generic Hierarchy Structure Version
476  * @rep:category BUSINESS_ENTITY PER_GENERIC_HIERARCHY
477  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
478  * @rep:scope public
479  * @rep:lifecycle active
480  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
481 */
482 --
483 -- {End Of Comments}
484 --
485 procedure delete_hierarchy_versions
486   (
487    p_validate                       in boolean        default false
488   ,p_hierarchy_version_id           in  number
489   ,p_object_version_number          in out nocopy number
490   ,p_effective_date            in date
491   );
492 --
493 -- ----------------------------------------------------------------------------
494 -- |----------------------------------< lck >---------------------------------|
495 -- ----------------------------------------------------------------------------
496 -- {Start Of Comments}
497 --
498 -- Description:
499 --
500 -- Prerequisites:
501 --
502 --
503 -- In Parameters:
504 --   Name                           Reqd Type     Description
505 --   p_hierarchy_version_id                 Yes  number   PK of record
506 --   p_object_version_number        Yes  number   OVN of record
507 --
508 -- Post Success:
509 --
510 --   Name                           Type     Description
511 --
512 -- Post Failure:
513 --
514 -- Access Status:
515 --   Public.
516 --
517 -- {End Of Comments}
518 --
519 procedure lck
520   (
521     p_hierarchy_version_id                 in number
522    ,p_object_version_number        in number
523   );
524 --
525 end per_hierarchy_versions_api;