DBA Data[Home] [Help]

PACKAGE: APPS.BEN_ECV_INS

Source


1 Package ben_ecv_ins AS
2 /* $Header: beecvrhi.pkh 120.1 2005/07/29 10:02:03 rbingi noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |------------------------------< insert_dml >------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 --   This procedure calls the dt_insert_dml control logic which handles
11 --   the actual datetrack dml.
12 --
13 -- Prerequisites:
14 --   This is an internal private procedure which must be called from the ins
15 --   procedure and must have all mandatory attributes set (except the
16 --   object_version_number which is initialised within the dt_insert_dml
17 --   procedure).
18 --
19 -- In Parameters:
20 --   A Pl/Sql record structre.
21 --
22 -- Post Success:
23 --   Processing contines.
24 --
25 -- Post Failure:
26 --   No specific error handling is required within this procedure.
27 --
28 -- Developer Implementation Notes:
29 --   None.
30 --
31 -- Access Status:
32 --   Internal Row Handler Use Only.
33 --
34 -- {End Of Comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_dml
37 	(p_rec 			 in out nocopy ben_ecv_shd.g_rec_type,
38 	 p_effective_date	 in	date,
39 	 p_datetrack_mode	 in	varchar2,
40 	 p_validation_start_date in	date,
41 	 p_validation_end_date	 in	date);
42 --
43 -- ----------------------------------------------------------------------------
44 -- |---------------------------------< ins >----------------------------------|
45 -- ----------------------------------------------------------------------------
46 -- {Start Of Comments}
47 --
48 -- Description:
49 --   This procedure is the record interface for the insert process
50 --   for the specified entity. The role of this process is to insert a fully
51 --   validated row, into the HR schema passing back to  the calling process,
52 --   any system generated values (e.g. primary and object version number
53 --   attributes). This process is the main backbone of the ins business
54 --   process. The processing of this procedure is as follows:
55 --   1) We must lock parent rows (if any exist).
56 --   2) The controlling validation process insert_validate is then executed
57 --      which will execute all private and public validation business rule
58 --      processes.
59 --   3) The pre_insert process is then executed which enables any
60 --      logic to be processed before the insert dml process is executed.
61 --   4) The insert_dml process will physical perform the insert dml into the
62 --      specified entity.
63 --   5) The post_insert process is then executed which enables any
64 --      logic to be processed after the insert dml process.
65 --
66 -- Prerequisites:
67 --   The main parameters to the process have to be in the record
68 --   format.
69 --
70 -- In Parameters:
71 --   p_effective_date
72 --    Specifies the date of the datetrack insert operation.
73 --
74 -- Post Success:
75 --   A fully validated row will be inserted into the specified entity
76 --   without being committed.
77 --
78 -- Post Failure:
79 --   If an error has occurred, an error message will be supplied with the work
80 --   rolled back.
81 --
82 -- Developer Implementation Notes:
83 --   None.
84 --
85 -- Access Status:
86 --   Internal Development Use Only.
87 --
88 -- {End Of Comments}
89 -- ----------------------------------------------------------------------------
90 Procedure ins
91   (
92   p_rec		   in out nocopy ben_ecv_shd.g_rec_type,
93   p_effective_date in     date
94   );
95 --
96 -- ----------------------------------------------------------------------------
97 -- |---------------------------------< ins >----------------------------------|
98 -- ----------------------------------------------------------------------------
99 -- {Start Of Comments}
100 --
101 -- Description:
102 --   This procedure is the attribute interface for the insert
103 --   process for the specified entity and is the outermost layer. The role
104 --   of this process is to insert a fully validated row into the HR schema
105 --   passing back to the calling process, any system generated values
106 --   (e.g. object version number attributes). The processing of this
107 --   procedure is as follows:
108 --   1) The attributes are converted into a local record structure by
109 --      calling the convert_args function.
110 --   2) After the conversion has taken place, the corresponding record ins
111 --      interface process is executed.
112 --   3) OUT parameters are then set to their corresponding record attributes.
113 --
114 -- Prerequisites:
115 --
116 -- In Parameters:
117 --   p_effective_date
118 --    Specifies the date of the datetrack insert operation.
119 --
120 -- Post Success:
121 --   A fully validated row will be inserted for the specified entity
122 --   without being committed.
123 --
124 -- Post Failure:
125 --   If an error has occurred, an error message will be supplied with the work
126 --   rolled back.
127 --
128 -- Developer Implementation Notes:
129 --   None.
130 --
131 -- Access Status:
132 --   Internal Development Use Only.
133 --
134 -- {End Of Comments}
135 -- ----------------------------------------------------------------------------
136 Procedure ins
137   (
138    p_eligy_crit_values_id         Out nocopy Number
139   ,p_eligy_prfl_id                In  Number       default NULL
140   ,p_eligy_criteria_id            In  Number       default NULL
141   ,p_effective_start_date         Out nocopy Date
142   ,p_effective_end_date           Out nocopy Date
143   ,p_ordr_num                     In  Number       default NULL
144   ,p_number_value1                In  Number       default NULL
145   ,p_number_value2                In  Number       default NULL
146   ,p_char_value1                  In  Varchar2     default NULL
147   ,p_char_value2                  In  Varchar2     default NULL
148   ,p_date_value1                  In  Date         default NULL
149   ,p_date_value2                  In  Date         default NULL
150   ,p_excld_flag                   In  Varchar2     default 'N'
151   ,p_business_group_id            In  Number       default NULL
152   ,p_legislation_code             In  varchar2     default NULL
153   ,p_ecv_attribute_category       In  Varchar2     default NULL
154   ,p_ecv_attribute1               In  Varchar2     default NULL
155   ,p_ecv_attribute2               In  Varchar2     default NULL
156   ,p_ecv_attribute3               In  Varchar2     default NULL
157   ,p_ecv_attribute4               In  Varchar2     default NULL
158   ,p_ecv_attribute5               In  Varchar2     default NULL
159   ,p_ecv_attribute6               In  Varchar2     default NULL
160   ,p_ecv_attribute7               In  Varchar2     default NULL
161   ,p_ecv_attribute8               In  Varchar2     default NULL
162   ,p_ecv_attribute9               In  Varchar2     default NULL
163   ,p_ecv_attribute10              In  Varchar2     default NULL
164   ,p_ecv_attribute11              In  Varchar2     default NULL
165   ,p_ecv_attribute12              In  Varchar2     default NULL
166   ,p_ecv_attribute13              In  Varchar2     default NULL
167   ,p_ecv_attribute14              In  Varchar2     default NULL
168   ,p_ecv_attribute15              In  Varchar2     default NULL
169   ,p_ecv_attribute16              In  Varchar2     default NULL
170   ,p_ecv_attribute17              In  Varchar2     default NULL
171   ,p_ecv_attribute18              In  Varchar2     default NULL
172   ,p_ecv_attribute19              In  Varchar2     default NULL
173   ,p_ecv_attribute20              In  Varchar2     default NULL
174   ,p_ecv_attribute21              In  Varchar2     default NULL
175   ,p_ecv_attribute22              In  Varchar2     default NULL
176   ,p_ecv_attribute23              In  Varchar2     default NULL
177   ,p_ecv_attribute24              In  Varchar2     default NULL
178   ,p_ecv_attribute25              In  Varchar2     default NULL
179   ,p_ecv_attribute26              In  Varchar2     default NULL
180   ,p_ecv_attribute27              In  Varchar2     default NULL
181   ,p_ecv_attribute28              In  Varchar2     default NULL
182   ,p_ecv_attribute29              In  Varchar2     default NULL
183   ,p_ecv_attribute30              In  Varchar2     default NULL
184   ,p_object_version_number        Out nocopy Number
185   ,p_effective_date               In  Date
186   ,p_criteria_score               In  Number       default NULL
187   ,p_criteria_weight              In  Number       default NULL
188   ,p_Char_value3                  In  Varchar2     default NULL
189   ,p_Char_value4                  In  Varchar2     default NULL
190   ,p_Number_value3                In  Number	   default NULL
191   ,p_Number_value4                In  Number	   default NULL
192   ,p_Date_value3                  In  Date	   default NULL
193   ,p_Date_value4                  In  Date	   default NULL
194   );
195 --
196 end ben_ecv_ins;