DBA Data[Home] [Help]

PACKAGE: APPS.BEN_RTS_INS

Source


1 Package ben_rts_ins as
2 /* $Header: bertsrhi.pkh 120.1 2006/01/09 14:36 maagrawa noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 --   This procedure is called to register the next ID value from the database
9 --   sequence.
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 --   Primary Key
15 --
16 -- Post Success:
17 --
18 -- Post Failure:
19 --
20 -- Developer Implementation Notes:
21 --   None.
22 --
23 -- Access Status:
24 --   Internal Development Use Only.
25 --
26 -- {End of Comments}
27 -- ----------------------------------------------------------------------------
28 procedure set_base_key_value
29   (p_person_rate_id  in  number);
30 --
31 -- ----------------------------------------------------------------------------
32 -- |---------------------------------< ins >----------------------------------|
33 -- ----------------------------------------------------------------------------
34 -- {Start Of Comments}
35 --
36 -- Description:
37 --   This procedure is the record interface for the insert process
38 --   for the specified entity. The role of this process is to insert a fully
39 --   validated row, into the HR schema passing back to  the calling process,
40 --   any system generated values (e.g. primary and object version number
41 --   attributes). This process is the main backbone of the ins
42 --   process. The processing of this procedure is as follows:
43 --   1) The controlling validation process insert_validate is executed
44 --      which will execute all private and public validation business rule
45 --      processes.
46 --   2) The pre_insert business process is then executed which enables any
47 --      logic to be processed before the insert dml process is executed.
48 --   3) The insert_dml process will physical perform the insert dml into the
49 --      specified entity.
50 --   4) The post_insert business process is then executed which enables any
51 --      logic to be processed after the insert dml process.
52 --
53 -- Prerequisites:
54 --   The main parameters to the this process have to be in the record
55 --   format.
56 --
57 -- In Parameters:
58 --
59 -- Post Success:
60 --   A fully validated row will be inserted into the specified entity
61 --   without being committed.
62 --
63 -- Post Failure:
64 --   If an error has occurred, an error message will be raised.
65 --
66 -- Developer Implementation Notes:
67 --   None.
68 --
69 -- Access Status:
70 --   Internal Development Use Only.
71 --
72 -- {End Of Comments}
73 -- ----------------------------------------------------------------------------
74 Procedure ins
75   (p_rec                      in out nocopy ben_rts_shd.g_rec_type
76   );
77 --
78 -- ----------------------------------------------------------------------------
79 -- |---------------------------------< ins >----------------------------------|
80 -- ----------------------------------------------------------------------------
81 -- {Start Of Comments}
82 --
83 -- Description:
84 --   This procedure is the attribute interface for the insert
85 --   process for the specified entity and is the outermost layer. The role
86 --   of this process is to insert a fully validated row into the HR schema
87 --   passing back to the calling process, any system generated values
88 --   (e.g. object version number attributes).The processing of this
89 --   procedure is as follows:
90 --   1) The attributes are converted into a local record structure by
91 --      calling the convert_args function.
92 --   2) After the conversion has taken place, the corresponding record ins
93 --      interface process is executed.
94 --   3) OUT parameters are then set to their corresponding record attributes.
95 --
96 -- Prerequisites:
97 --
98 -- In Parameters:
99 --
100 -- Post Success:
101 --   A fully validated row will be inserted for the specified entity
102 --   without being committed.
103 --
104 -- Post Failure:
105 --   If an error has occurred, an error message will be raised.
106 --
107 -- Developer Implementation Notes:
108 --   None.
109 --
110 -- Access Status:
111 --   Internal Development Use Only.
112 --
113 -- {End Of Comments}
114 -- ----------------------------------------------------------------------------
115 Procedure ins
116   (p_group_per_in_ler_id            in     number
117   ,p_pl_id                          in     number
118   ,p_oipl_id                        in     number
119   ,p_group_pl_id                    in     number
120   ,p_group_oipl_id                  in     number
121   ,p_lf_evt_ocrd_dt                 in     date     default null
122   ,p_person_id                      in     number   default null
123   ,p_assignment_id                  in     number   default null
124   ,p_elig_flag                      in     varchar2 default null
125   ,p_ws_val                         in     number   default null
126   ,p_ws_mn_val                      in     number   default null
127   ,p_ws_mx_val                      in     number   default null
128   ,p_ws_incr_val                    in     number   default null
129   ,p_elig_sal_val                   in     number   default null
130   ,p_stat_sal_val                   in     number   default null
131   ,p_oth_comp_val                   in     number   default null
132   ,p_tot_comp_val                   in     number   default null
133   ,p_misc1_val                      in     number   default null
134   ,p_misc2_val                      in     number   default null
135   ,p_misc3_val                      in     number   default null
136   ,p_rec_val                        in     number   default null
137   ,p_rec_mn_val                     in     number   default null
138   ,p_rec_mx_val                     in     number   default null
139   ,p_rec_incr_val                   in     number   default null
140   ,p_ws_val_last_upd_date           in     date     default null
141   ,p_ws_val_last_upd_by             in     number   default null
142   ,p_pay_proposal_id                in     number   default null
143   ,p_element_entry_value_id         in     number   default null
144   ,p_inelig_rsn_cd                  in     varchar2 default null
145   ,p_elig_ovrid_dt                  in     date     default null
146   ,p_elig_ovrid_person_id           in     number   default null
147   ,p_copy_dist_bdgt_val             in     number   default null
148   ,p_copy_ws_bdgt_val               in     number   default null
149   ,p_copy_rsrv_val                  in     number   default null
150   ,p_copy_dist_bdgt_mn_val          in     number   default null
151   ,p_copy_dist_bdgt_mx_val          in     number   default null
152   ,p_copy_dist_bdgt_incr_val        in     number   default null
153   ,p_copy_ws_bdgt_mn_val            in     number   default null
154   ,p_copy_ws_bdgt_mx_val            in     number   default null
155   ,p_copy_ws_bdgt_incr_val          in     number   default null
156   ,p_copy_rsrv_mn_val               in     number   default null
157   ,p_copy_rsrv_mx_val               in     number   default null
158   ,p_copy_rsrv_incr_val             in     number   default null
159   ,p_copy_dist_bdgt_iss_val         in     number   default null
160   ,p_copy_ws_bdgt_iss_val           in     number   default null
161   ,p_copy_dist_bdgt_iss_date        in     date     default null
162   ,p_copy_ws_bdgt_iss_date          in     date     default null
163   ,p_comp_posting_date              in     date     default null
164   ,p_ws_rt_start_date               in     date     default null
165   ,p_currency                       in     varchar2 default null
166   ,p_person_rate_id                    out nocopy number
167   ,p_object_version_number             out nocopy number
168   );
169 --
170 end ben_rts_ins;