DBA Data[Home] [Help]

PACKAGE: APPS.BEN_BPP_INS

Source


1 Package ben_bpp_ins as
2 /* $Header: bebpprhi.pkh 120.0 2005/05/28 00:48:43 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_bpp_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_bpp_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_bnft_prvdr_pool_id           out nocopy number,
140   p_effective_start_date         out nocopy date,
141   p_effective_end_date           out nocopy date,
142   p_name                         in varchar2,
143   p_pgm_pool_flag                in varchar2,
144   p_excs_alwys_fftd_flag         in varchar2,
145   p_use_for_pgm_pool_flag        in varchar2,
146   p_pct_rndg_cd                  in varchar2         default null,
147   p_pct_rndg_rl                  in number           default null,
148   p_val_rndg_cd                  in varchar2         default null,
149   p_val_rndg_rl                  in number           default null,
150   p_dflt_excs_trtmt_cd           in varchar2         default null,
151   p_dflt_excs_trtmt_rl           in number           default null,
152   p_rlovr_rstrcn_cd              in varchar2         default null,
153   p_no_mn_dstrbl_pct_flag        in varchar2,
154   p_no_mn_dstrbl_val_flag        in varchar2,
155   p_no_mx_dstrbl_pct_flag        in varchar2,
156   p_no_mx_dstrbl_val_flag        in varchar2,
157   p_auto_alct_excs_flag          in varchar2         default 'N',
158   p_alws_ngtv_crs_flag           in varchar2         default 'N',
159   p_uses_net_crs_mthd_flag       in varchar2         default 'N',
160   p_mx_dfcit_pct_pool_crs_num    in number           default null,
161   p_mx_dfcit_pct_comp_num        in number           default null,
162   p_comp_lvl_fctr_id             in number           default null,
163   p_mn_dstrbl_pct_num            in number           default null,
164   p_mn_dstrbl_val                in number           default null,
165   p_mx_dstrbl_pct_num            in number           default null,
166   p_mx_dstrbl_val                in number           default null,
167   p_excs_trtmt_cd                in varchar2         default null,
168   p_ptip_id                      in number           default null,
169   p_plip_id                      in number           default null,
170   p_pgm_id                       in number,
171   p_oiplip_id                    in number           default null,
172   p_cmbn_plip_id                 in number           default null,
173   p_cmbn_ptip_id                 in number           default null,
174   p_cmbn_ptip_opt_id             in number           default null,
175   p_business_group_id            in number,
176   p_bpp_attribute_category       in varchar2         default null,
177   p_bpp_attribute1               in varchar2         default null,
178   p_bpp_attribute2               in varchar2         default null,
179   p_bpp_attribute3               in varchar2         default null,
180   p_bpp_attribute4               in varchar2         default null,
181   p_bpp_attribute5               in varchar2         default null,
182   p_bpp_attribute6               in varchar2         default null,
183   p_bpp_attribute7               in varchar2         default null,
184   p_bpp_attribute8               in varchar2         default null,
185   p_bpp_attribute9               in varchar2         default null,
186   p_bpp_attribute10              in varchar2         default null,
187   p_bpp_attribute11              in varchar2         default null,
188   p_bpp_attribute12              in varchar2         default null,
189   p_bpp_attribute13              in varchar2         default null,
190   p_bpp_attribute14              in varchar2         default null,
191   p_bpp_attribute15              in varchar2         default null,
192   p_bpp_attribute16              in varchar2         default null,
193   p_bpp_attribute17              in varchar2         default null,
194   p_bpp_attribute18              in varchar2         default null,
195   p_bpp_attribute19              in varchar2         default null,
196   p_bpp_attribute20              in varchar2         default null,
197   p_bpp_attribute21              in varchar2         default null,
198   p_bpp_attribute22              in varchar2         default null,
199   p_bpp_attribute23              in varchar2         default null,
200   p_bpp_attribute24              in varchar2         default null,
201   p_bpp_attribute25              in varchar2         default null,
202   p_bpp_attribute26              in varchar2         default null,
203   p_bpp_attribute27              in varchar2         default null,
204   p_bpp_attribute28              in varchar2         default null,
205   p_bpp_attribute29              in varchar2         default null,
206   p_bpp_attribute30              in varchar2         default null,
207   p_object_version_number        out nocopy number,
208   p_effective_date		 in date
209   );
210 --
211 end ben_bpp_ins;