DBA Data[Home] [Help]

PACKAGE: APPS.BEN_PRV_INS

Source


1 Package ben_prv_ins AUTHID CURRENT_USER as
2 /* $Header: beprvrhi.pkh 120.0.12000000.1 2007/01/19 22:14:47 appldev noship $ */
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 --
33 -- Post Success:
34 --   A fully validated row will be inserted into the specified entity
35 --   without being committed.
36 --
37 -- Post Failure:
38 --   If an error has occurred, an error message will be supplied with the work
39 --   rolled back.
40 --
41 -- Developer Implementation Notes:
42 --   None.
43 --
44 -- Access Status:
45 --   Internal Development Use Only.
46 --
47 -- {End Of Comments}
48 -- ----------------------------------------------------------------------------
49 Procedure ins
50   ( p_rec        in out nocopy ben_prv_shd.g_rec_type , p_effective_date in date
51   );
52 --
53 -- ----------------------------------------------------------------------------
54 -- |---------------------------------< ins >----------------------------------|
55 -- ----------------------------------------------------------------------------
56 -- {Start Of Comments}
57 --
58 -- Description:
59 --   This procedure is the attribute interface for the insert
60 --   process for the specified entity and is the outermost layer. The role
61 --   of this process is to insert a fully validated row into the HR schema
62 --   passing back to the calling process, any system generated values
63 --   (e.g. object version number attributes).The processing of this
64 --   procedure is as follows:
65 --   1) The attributes are converted into a local record structure by
66 --      calling the convert_args function.
67 --   2) After the conversion has taken place, the corresponding record ins
68 --      interface process is executed.
69 --   3) OUT parameters are then set to their corresponding record attributes.
70 --
71 -- Prerequisites:
72 --
73 -- In Parameters:
74 --
75 -- Post Success:
76 --   A fully validated row will be inserted for 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_prtt_rt_val_id               out nocopy number,
94   p_enrt_rt_id		         in number	     default null,
95   p_rt_strt_dt                   in date,
96   p_rt_end_dt                    in date,
97   p_rt_typ_cd                    in varchar2         default null,
98   p_tx_typ_cd                    in varchar2         default null,
99   p_ordr_num			 in number           default null,
100   p_acty_typ_cd                  in varchar2         default null,
101   p_mlt_cd                       in varchar2         default null,
102   p_acty_ref_perd_cd             in varchar2         default null,
103   p_rt_val                       in number           default null,
104   p_ann_rt_val                   in number           default null,
105   p_cmcd_rt_val                  in number           default null,
106   p_cmcd_ref_perd_cd             in varchar2         default null,
107   p_bnft_rt_typ_cd               in varchar2         default null,
108   p_dsply_on_enrt_flag           in varchar2,
109   p_rt_ovridn_flag               in varchar2,
110   p_rt_ovridn_thru_dt            in date             default null,
111   p_elctns_made_dt               in date             default null,
112   p_prtt_rt_val_stat_cd          in varchar2         default null,
113   p_prtt_enrt_rslt_id            in number,
114   p_cvg_amt_calc_mthd_id         in number           default null,
115   p_actl_prem_id                 in number           default null,
116   p_comp_lvl_fctr_id             in number           default null,
117   p_element_entry_value_id       in number           default null,
118   p_per_in_ler_id                in number           default null,
119   p_ended_per_in_ler_id          in number           default null,
120   p_acty_base_rt_id              in number           default null,
121   p_prtt_reimbmt_rqst_id         in number           default null,
122   p_prtt_rmt_aprvd_fr_pymt_id    in number           default null,
123   p_pp_in_yr_used_num            in number           default null,
124   p_business_group_id            in number,
125   p_prv_attribute_category       in varchar2         default null,
126   p_prv_attribute1               in varchar2         default null,
127   p_prv_attribute2               in varchar2         default null,
128   p_prv_attribute3               in varchar2         default null,
129   p_prv_attribute4               in varchar2         default null,
130   p_prv_attribute5               in varchar2         default null,
131   p_prv_attribute6               in varchar2         default null,
132   p_prv_attribute7               in varchar2         default null,
133   p_prv_attribute8               in varchar2         default null,
134   p_prv_attribute9               in varchar2         default null,
135   p_prv_attribute10              in varchar2         default null,
136   p_prv_attribute11              in varchar2         default null,
137   p_prv_attribute12              in varchar2         default null,
138   p_prv_attribute13              in varchar2         default null,
139   p_prv_attribute14              in varchar2         default null,
140   p_prv_attribute15              in varchar2         default null,
141   p_prv_attribute16              in varchar2         default null,
142   p_prv_attribute17              in varchar2         default null,
143   p_prv_attribute18              in varchar2         default null,
144   p_prv_attribute19              in varchar2         default null,
145   p_prv_attribute20              in varchar2         default null,
146   p_prv_attribute21              in varchar2         default null,
147   p_prv_attribute22              in varchar2         default null,
148   p_prv_attribute23              in varchar2         default null,
149   p_prv_attribute24              in varchar2         default null,
150   p_prv_attribute25              in varchar2         default null,
151   p_prv_attribute26              in varchar2         default null,
152   p_prv_attribute27              in varchar2         default null,
153   p_prv_attribute28              in varchar2         default null,
154   p_prv_attribute29              in varchar2         default null,
155   p_prv_attribute30              in varchar2         default null,
156   p_pk_id_table_name               in  varchar2  default null,
157   p_pk_id                          in  number    default null,
158   p_object_version_number        out nocopy number                      ,
159   p_effective_date               in  date
160   );
161 --
162 end ben_prv_ins;