DBA Data[Home] [Help]

PACKAGE: APPS.BEN_EAO_INS

Source


1 Package ben_eao_ins as
2 /* $Header: beeaorhi.pkh 120.0 2005/05/28 01:44:29 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_eao_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_eao_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_enrld_anthr_oipl_rt_id     out nocopy number,
140   p_effective_start_date         out nocopy date,
141   p_effective_end_date           out nocopy date,
142   p_ordr_num                     in number           default null,
143   p_excld_flag                   in varchar2,
144   p_enrl_det_dt_cd               in varchar2         default null,
145   p_business_group_id            in number,
146   p_oipl_id                      in number,
147   p_vrbl_rt_prfl_id                in number,
148   p_eao_attribute_category       in varchar2         default null,
149   p_eao_attribute1               in varchar2         default null,
150   p_eao_attribute2               in varchar2         default null,
151   p_eao_attribute3               in varchar2         default null,
152   p_eao_attribute4               in varchar2         default null,
153   p_eao_attribute5               in varchar2         default null,
154   p_eao_attribute6               in varchar2         default null,
155   p_eao_attribute7               in varchar2         default null,
156   p_eao_attribute8               in varchar2         default null,
157   p_eao_attribute9               in varchar2         default null,
158   p_eao_attribute10              in varchar2         default null,
159   p_eao_attribute11              in varchar2         default null,
160   p_eao_attribute12              in varchar2         default null,
161   p_eao_attribute13              in varchar2         default null,
162   p_eao_attribute14              in varchar2         default null,
163   p_eao_attribute15              in varchar2         default null,
164   p_eao_attribute16              in varchar2         default null,
165   p_eao_attribute17              in varchar2         default null,
166   p_eao_attribute18              in varchar2         default null,
167   p_eao_attribute19              in varchar2         default null,
168   p_eao_attribute20              in varchar2         default null,
169   p_eao_attribute21              in varchar2         default null,
170   p_eao_attribute22              in varchar2         default null,
171   p_eao_attribute23              in varchar2         default null,
172   p_eao_attribute24              in varchar2         default null,
173   p_eao_attribute25              in varchar2         default null,
174   p_eao_attribute26              in varchar2         default null,
175   p_eao_attribute27              in varchar2         default null,
176   p_eao_attribute28              in varchar2         default null,
177   p_eao_attribute29              in varchar2         default null,
178   p_eao_attribute30              in varchar2         default null,
179   p_object_version_number        out nocopy number,
180   p_effective_date		 in date
181   );
182 --
183 end ben_eao_ins;