1 Package ben_epf_ins AUTHID CURRENT_USER as
2 /* $Header: beepfrhi.pkh 120.0 2005/05/28 02:38:20 appldev noship $ */
3
4 --
5 -- ----------------------------------------------------------------------------
6 -- |------------------------------< insert_dml >------------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description:
11 -- This procedure calls the dt_insert_dml control logic which handles
12 -- the actual datetrack dml.
13 --
14 -- Prerequisites:
15 -- This is an internal private procedure which must be called from the ins
16 -- procedure and must have all mandatory attributes set (except the
17 -- object_version_number which is initialised within the dt_insert_dml
18 -- procedure).
19 --
20 -- In Parameters:
21 -- A Pl/Sql record structre.
22 --
23 -- Post Success:
24 -- Processing contines.
25 --
26 -- Post Failure:
27 -- No specific error handling is required within this procedure.
28 --
29 -- Developer Implementation Notes:
30 -- None.
31 --
32 -- Access Status:
33 -- Internal Row Handler Use Only.
34 --
35 -- {End Of Comments}
36 -- ----------------------------------------------------------------------------
37 Procedure insert_dml
38 (p_rec in out nocopy ben_epf_shd.g_rec_type,
39 p_effective_date in date,
40 p_datetrack_mode in varchar2,
41 p_validation_start_date in date,
42 p_validation_end_date in date);
43 --
44 -- ----------------------------------------------------------------------------
45 -- |---------------------------------< ins >----------------------------------|
46 -- ----------------------------------------------------------------------------
47 -- {Start Of Comments}
48 --
49 -- Description:
50 -- This procedure is the record interface for the insert process
51 -- for the specified entity. The role of this process is to insert a fully
52 -- validated row, into the HR schema passing back to the calling process,
53 -- any system generated values (e.g. primary and object version number
54 -- attributes). This process is the main backbone of the ins business
55 -- process. The processing of this procedure is as follows:
56 -- 1) We must lock parent rows (if any exist).
57 -- 2) The controlling validation process insert_validate is then executed
58 -- which will execute all private and public validation business rule
59 -- processes.
60 -- 3) The pre_insert process is then executed which enables any
61 -- logic to be processed before the insert dml process is executed.
62 -- 4) The insert_dml process will physical perform the insert dml into the
63 -- specified entity.
64 -- 5) The post_insert process is then executed which enables any
65 -- logic to be processed after the insert dml process.
66 --
67 -- Prerequisites:
68 -- The main parameters to the process have to be in the record
69 -- format.
70 --
71 -- In Parameters:
72 -- p_effective_date
73 -- Specifies the date of the datetrack insert operation.
74 --
75 -- Post Success:
76 -- A fully validated row will be inserted into the specified entity
77 -- without being committed.
78 --
79 -- Post Failure:
80 -- If an error has occurred, an error message will be supplied with the work
81 -- rolled back.
82 --
83 -- Developer Implementation Notes:
84 -- None.
85 --
86 -- Access Status:
87 -- Internal Development Use Only.
88 --
89 -- {End Of Comments}
90 -- ----------------------------------------------------------------------------
91 Procedure ins
92 (
93 p_rec in out nocopy ben_epf_shd.g_rec_type,
94 p_effective_date in date
95 );
96 --
97 -- ----------------------------------------------------------------------------
98 -- |---------------------------------< ins >----------------------------------|
99 -- ----------------------------------------------------------------------------
100 -- {Start Of Comments}
101 --
102 -- Description:
103 -- This procedure is the attribute interface for the insert
104 -- process for the specified entity and is the outermost layer. The role
105 -- of this process is to insert a fully validated row into the HR schema
106 -- passing back to the calling process, any system generated values
107 -- (e.g. object version number attributes). The processing of this
108 -- procedure is as follows:
109 -- 1) The attributes are converted into a local record structure by
110 -- calling the convert_args function.
111 -- 2) After the conversion has taken place, the corresponding record ins
112 -- interface process is executed.
113 -- 3) OUT parameters are then set to their corresponding record attributes.
114 --
115 -- Prerequisites:
116 --
117 -- In Parameters:
118 -- p_effective_date
119 -- Specifies the date of the datetrack insert operation.
120 --
121 -- Post Success:
122 -- A fully validated row will be inserted for the specified entity
123 -- without being committed.
124 --
125 -- Post Failure:
126 -- If an error has occurred, an error message will be supplied with the work
127 -- rolled back.
128 --
129 -- Developer Implementation Notes:
130 -- None.
131 --
132 -- Access Status:
133 -- Internal Development Use Only.
134 --
135 -- {End Of Comments}
136 -- ----------------------------------------------------------------------------
137 Procedure ins
138 (
139 p_elig_pct_fl_tm_prte_id out nocopy number,
140 p_effective_start_date out nocopy date,
141 p_effective_end_date out nocopy date,
142 p_business_group_id in number,
143 p_eligy_prfl_id in number,
144 p_pct_fl_tm_fctr_id in number,
145 p_excld_flag in varchar2,
146 p_ordr_num in number default null,
147 p_epf_attribute_category in varchar2 default null,
148 p_epf_attribute1 in varchar2 default null,
149 p_epf_attribute2 in varchar2 default null,
150 p_epf_attribute3 in varchar2 default null,
151 p_epf_attribute4 in varchar2 default null,
152 p_epf_attribute5 in varchar2 default null,
153 p_epf_attribute6 in varchar2 default null,
154 p_epf_attribute7 in varchar2 default null,
155 p_epf_attribute8 in varchar2 default null,
156 p_epf_attribute9 in varchar2 default null,
157 p_epf_attribute10 in varchar2 default null,
158 p_epf_attribute11 in varchar2 default null,
159 p_epf_attribute12 in varchar2 default null,
160 p_epf_attribute13 in varchar2 default null,
161 p_epf_attribute14 in varchar2 default null,
162 p_epf_attribute15 in varchar2 default null,
163 p_epf_attribute16 in varchar2 default null,
164 p_epf_attribute17 in varchar2 default null,
165 p_epf_attribute18 in varchar2 default null,
166 p_epf_attribute19 in varchar2 default null,
167 p_epf_attribute20 in varchar2 default null,
168 p_epf_attribute21 in varchar2 default null,
169 p_epf_attribute22 in varchar2 default null,
170 p_epf_attribute23 in varchar2 default null,
171 p_epf_attribute24 in varchar2 default null,
172 p_epf_attribute25 in varchar2 default null,
173 p_epf_attribute26 in varchar2 default null,
174 p_epf_attribute27 in varchar2 default null,
175 p_epf_attribute28 in varchar2 default null,
176 p_epf_attribute29 in varchar2 default null,
177 p_epf_attribute30 in varchar2 default null,
178 p_object_version_number out nocopy number,
179 p_effective_date in date ,
180 p_criteria_score in number default null,
181 p_criteria_weight in number default null
182 );
183 --
184 end ben_epf_ins;