1 Package pay_pap_ins AUTHID CURRENT_USER as
2 /* $Header: pypaprhi.pkh 120.0.12020000.3 2013/02/06 11:04:36 srannama ship $ */
3
4 --
5 -- ----------------------------------------------------------------------------
6 -- |---------------------------------< ins >----------------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description:
11 -- This procedure is the record interface for the insert process
12 -- for the specified entity. The role of this process is to insert a fully
13 -- validated row, into the HR schema passing back to the calling process,
14 -- any system generated values (e.g. primary and object version number
15 -- attributes). This process is the main backbone of the ins
16 -- process. The processing of this procedure is as follows:
17 -- 1) The controlling validation process insert_validate is executed
18 -- which will execute all private and public validation business rule
19 -- processes.
20 -- 2) The pre_insert business process is then executed which enables any
21 -- logic to be processed before the insert dml process is executed.
22 -- 3) The insert_dml process will physical perform the insert dml into the
23 -- specified entity.
24 -- 4) The post_insert business process is then executed which enables any
25 -- logic to be processed after the insert dml process.
26 --
27 -- Prerequisites:
28 -- The main parameters to the this process have to be in the record
29 -- format.
30 --
31 -- In Parameters:
32 -- p_effective_date
33 -- a record structure
34 --
35 -- Post Success:
36 -- A fully validated row will be inserted into the specified entity
37 -- without being committed.
38 --
39 -- Post Failure:
40 -- If an error has occurred, an error message will be supplied with the work
41 -- rolled back.
42 --
43 -- Developer Implementation Notes:
44 -- None.
45 --
46 -- Access Status:
47 -- Internal Development Use Only.
48 --
49 -- {End Of Comments}
50 -- ----------------------------------------------------------------------------
51 PROCEDURE ins
52 (p_effective_date IN DATE
53 ,p_rec IN OUT NOCOPY pay_pap_shd.g_rec_type
54 ,p_check_accrual_ff OUT NOCOPY BOOLEAN);
55 --
56 -- ----------------------------------------------------------------------------
57 -- |---------------------------------< ins >----------------------------------|
58 -- ----------------------------------------------------------------------------
59 -- {Start Of Comments}
60 --
61 -- Description:
62 -- This procedure is the attribute interface for the insert
63 -- process for the specified entity and is the outermost layer. The role
64 -- of this process is to insert a fully validated row into the HR schema
65 -- passing back to the calling process, any system generated values
66 -- (e.g. object version number attributes).The processing of this
67 -- procedure is as follows:
68 -- 1) The attributes are converted into a local record structure by
69 -- calling the convert_args function.
70 -- 2) After the conversion has taken place, the corresponding record ins
71 -- interface process is executed.
72 -- 3) OUT parameters are then set to their corresponding record attributes.
73 --
74 -- Prerequisites:
75 --
76 -- In Parameters:
77 -- p_effective_date
78 -- p_business_group_id
79 -- p_accrual_plan_element_type_id
80 -- p_pto_input_value_id
81 -- p_co_input_value_id
82 -- p_residual_input_value_id
83 -- p_accrual_category
84 -- p_accrual_plan_name
85 -- p_accrual_units_of_measure
86 -- p_accrual_start
87 -- p_ineligible_period_length
88 -- p_ineligible_period_type
89 -- p_accrual_formula_id
90 -- p_co_formula_id
91 -- p_co_date_input_value_id
92 -- p_co_exp_date_input_value_id
93 -- p_residual_date_input_value_id
94 -- p_description
95 -- p_ineligibility_formula_id
96 -- p_payroll_formula_id
97 -- p_defined_balance_id
98 -- p_tagging_element_type_id
99 -- p_balance_element_type_id
100 -- p_information_category
101 -- p_information1..30
102 --
103 -- Post Success:
104 -- A fully validated row will be inserted for the specified entity
105 -- without being committed.
106 --
107 -- Post Failure:
108 -- If an error has occurred, an error message will be supplied with the work
109 -- rolled back.
110 --
111 -- Developer Implementation Notes:
112 -- None.
113 --
114 -- Access Status:
115 -- Internal Development Use Only.
116 --
117 -- {End Of Comments}
118 -- ----------------------------------------------------------------------------
119 PROCEDURE ins
120 (p_effective_date IN DATE
121 ,p_business_group_id IN NUMBER
122 ,p_accrual_plan_element_type_id IN NUMBER
123 ,p_pto_input_value_id IN NUMBER
124 ,p_co_input_value_id IN NUMBER
125 ,p_residual_input_value_id IN NUMBER
126 ,p_accrual_category IN VARCHAR2
127 ,p_accrual_plan_name IN VARCHAR2
128 ,p_accrual_units_of_measure IN VARCHAR2
129 ,p_accrual_start IN VARCHAR2 DEFAULT NULL
130 ,p_ineligible_period_length IN NUMBER DEFAULT NULL
131 ,p_ineligible_period_type IN VARCHAR2 DEFAULT NULL
132 ,p_accrual_formula_id IN NUMBER DEFAULT NULL
133 ,p_co_formula_id IN NUMBER DEFAULT NULL
134 ,p_co_date_input_value_id IN NUMBER DEFAULT NULL
135 ,p_co_exp_date_input_value_id IN NUMBER DEFAULT NULL
136 ,p_residual_date_input_value_id IN NUMBER DEFAULT NULL
137 ,p_description IN VARCHAR2 DEFAULT NULL
138 ,p_ineligibility_formula_id IN NUMBER DEFAULT NULL
139 ,p_payroll_formula_id IN NUMBER DEFAULT NULL
140 ,p_defined_balance_id IN NUMBER DEFAULT NULL
141 ,p_tagging_element_type_id IN NUMBER DEFAULT NULL
142 ,p_balance_element_type_id IN NUMBER DEFAULT NULL
143 ,p_information_category IN VARCHAR2 DEFAULT NULL
144 ,p_information1 IN VARCHAR2 DEFAULT NULL
145 ,p_information2 IN VARCHAR2 DEFAULT NULL
146 ,p_information3 IN VARCHAR2 DEFAULT NULL
147 ,p_information4 IN VARCHAR2 DEFAULT NULL
148 ,p_information5 IN VARCHAR2 DEFAULT NULL
149 ,p_information6 IN VARCHAR2 DEFAULT NULL
150 ,p_information7 IN VARCHAR2 DEFAULT NULL
151 ,p_information8 IN VARCHAR2 DEFAULT NULL
152 ,p_information9 IN VARCHAR2 DEFAULT NULL
153 ,p_information10 IN VARCHAR2 DEFAULT NULL
154 ,p_information11 IN VARCHAR2 DEFAULT NULL
155 ,p_information12 IN VARCHAR2 DEFAULT NULL
156 ,p_information13 IN VARCHAR2 DEFAULT NULL
157 ,p_information14 IN VARCHAR2 DEFAULT NULL
158 ,p_information15 IN VARCHAR2 DEFAULT NULL
159 ,p_information16 IN VARCHAR2 DEFAULT NULL
160 ,p_information17 IN VARCHAR2 DEFAULT NULL
161 ,p_information18 IN VARCHAR2 DEFAULT NULL
162 ,p_information19 IN VARCHAR2 DEFAULT NULL
163 ,p_information20 IN VARCHAR2 DEFAULT NULL
164 ,p_information21 IN VARCHAR2 DEFAULT NULL
165 ,p_information22 IN VARCHAR2 DEFAULT NULL
166 ,p_information23 IN VARCHAR2 DEFAULT NULL
167 ,p_information24 IN VARCHAR2 DEFAULT NULL
168 ,p_information25 IN VARCHAR2 DEFAULT NULL
169 ,p_information26 IN VARCHAR2 DEFAULT NULL
170 ,p_information27 IN VARCHAR2 DEFAULT NULL
171 ,p_information28 IN VARCHAR2 DEFAULT NULL
172 ,p_information29 IN VARCHAR2 DEFAULT NULL
173 ,p_information30 IN VARCHAR2 DEFAULT NULL
174 ,p_accrual_plan_id OUT NOCOPY NUMBER
175 ,p_object_version_number OUT NOCOPY NUMBER
176 ,p_check_accrual_ff OUT NOCOPY BOOLEAN);
177
178 end pay_pap_ins;