1 Package PAY_TIME_DEF_Usage_API as
2 /* $Header: pytduapi.pkh 120.2 2006/07/13 13:34:18 pgongada noship $ */
3 /*#
4 * This package is used to Create and Delete Time Definition Usages.
5 * @rep:scope public
6 * @rep:product pay
7 * @rep:displayname Time Definition Usages.
8 */
9 -- ----------------------------------------------------------------------------
10 -- |--------------------------< create_time_def_usage >-----------------------|
11 -- ----------------------------------------------------------------------------
12 --
13 -- {Start Of Comments}
14 /*#
15 * This API creates a Time Definition Usage.
16 *
17 * <p><b>Licensing</b><br>
18 * This API is licensed for use with Oracle Payroll.
19 *
20 * <p><b>Prerequisites</b><br>
21 * The Time Definition should already exist.
22 *
23 * <p><b>Post Success</b><br>
24 * The Time Definition Usage will be successfully created and the out
25 * parameters will be set.
26 *
27 * <p><b>Post Failure</b><br>
28 * The Time Definition will not be crated and the appropriate error
29 * message will be raised.
30 *
31 * @param p_validate If true, then validation alone will be performed and the
32 * database will remain unchanged. If false and all validation checks pass,
33 * then the database will be modified.
34 * @param p_effective_date Effective date is used for business rule validation.
35 * @param p_time_definition_id Identifies the Time Definition.
36 * @param p_usage_type Represents the Usage type for the Time Definition.
37 * @param p_object_version_number If p_validate is false, then set to the
38 * version number of the created Time Definition Usage. If p_validate is true,
39 * then the value will be null.
40 * @rep:displayname Create Time Definition Usages.
41 * @rep:category BUSINESS_ENTITY PAY_TIME_DEFINITION
42 * @rep:lifecycle active
43 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
44 * @rep:scope public
45 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
46 */
47 --
48 -- {End Of Comments}
49 --
50 procedure create_time_def_usage
51 (p_validate in boolean default false
52 ,p_effective_date in date
53 ,p_time_definition_id in number
54 ,p_Usage_type in varchar2
55 ,p_object_version_number out nocopy number
56 );
57 -- ----------------------------------------------------------------------------
58 -- |--------------------------< delete_time_def_Usage >-----------------------|
59 -- ----------------------------------------------------------------------------
60 --
61 -- {Start Of Comments}
62 /*#
63 * This API deletes Time Definition Usages.
64 *
65 *
66 * <p><b>Licensing</b><br>
67 * This API is licensed for use with Oracle Payroll.
68 *
69 * <p><b>Prerequisites</b><br>
70 * The Time Definition Usage should already exist.
71 *
72 * <p><b>Post Success</b><br>
73 * The Time Definition Usage will be deleted.
74 *
75 * <p><b>Post Failure</b><br>
76 * The Time Definition Usage will not be deleted and appropriate error message
77 * will be raised.
78 *
79 * @param p_validate If true, then validation alone will be performed and the
80 * database will remain unchanged. If false and all validation checks pass,
81 * then the database will be modified.
82 * @param p_effective_date Effective date used for business rule validation.
83 * @param p_time_definition_id Identifies the Time Definition.
84 * @param p_usage_type Represents the Usage type for the Time Definition.
85 * @param p_object_version_number Represents the version number of
86 * Time Definition Usage.
87 * @rep:displayname Delete Time Definition Usage.
88 * @rep:category BUSINESS_ENTITY PAY_TIME_DEFINITION
89 * @rep:lifecycle active
90 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
91 * @rep:scope public
92 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
93 */
94 --
95 -- {End Of Comments}
96 --
97 procedure delete_time_def_Usage
98 (p_validate in boolean default false
99 ,p_effective_date in date
100 ,p_time_definition_id in number
101 ,p_Usage_type in varchar2
102 ,p_object_version_number in number
103 );
104 --
105 end PAY_TIME_DEF_Usage_API;