DBA Data[Home] [Help]

PACKAGE: APPS.PAY_STA_INS

Source


1 Package pay_sta_ins AUTHID CURRENT_USER as
2 /* $Header: pystarhi.pkh 120.2 2011/07/06 11:36:45 nkjaladi ship $ */
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 pay_sta_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 pay_sta_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_emp_state_tax_rule_id        out nocopy number,
140   p_effective_start_date         out nocopy date,
141   p_effective_end_date           out nocopy date,
142   p_assignment_id                in number,
143   p_state_code                   in varchar2,
144   p_jurisdiction_code            in varchar2,
145   p_business_group_id            in number,
146   p_additional_wa_amount         in number,
147   p_filing_status_code           in varchar2,
148   p_remainder_percent            in number,
149   p_secondary_wa                 in number,
150   p_sit_additional_tax           in number,
151   p_sit_override_amount          in number,
152   p_sit_override_rate            in number,
153   p_withholding_allowances       in number,
154   p_excessive_wa_reject_date     in date             default null,
155   p_sdi_exempt                   in varchar2         default null,
156   p_sit_exempt                   in varchar2         default null,
157   p_sit_optional_calc_ind        in varchar2         default null,
158   p_state_non_resident_cert      in varchar2         default null,
159   p_sui_exempt                   in varchar2         default null,
160   p_wc_exempt                    in varchar2         default null,
161   p_wage_exempt                  in varchar2         default null,
162   p_sui_wage_base_override_amoun in number           default null,
163   p_supp_tax_override_rate       in number           default null,
164   p_object_version_number        out nocopy number,
165   p_effective_date             in date,
166   p_attribute_category          in varchar2         default null,
167   p_attribute1                  in varchar2         default null,
168   p_attribute2                  in varchar2         default null,
169   p_attribute3                  in varchar2         default null,
170   p_attribute4                  in varchar2         default null,
171   p_attribute5                  in varchar2         default null,
172   p_attribute6                  in varchar2         default null,
173   p_attribute7                  in varchar2         default null,
174   p_attribute8                  in varchar2         default null,
175   p_attribute9                  in varchar2         default null,
176   p_attribute10                 in varchar2         default null,
177   p_attribute11                 in varchar2         default null,
178   p_attribute12                 in varchar2         default null,
179   p_attribute13                 in varchar2         default null,
180   p_attribute14                 in varchar2         default null,
181   p_attribute15                 in varchar2         default null,
182   p_attribute16                 in varchar2         default null,
183   p_attribute17                 in varchar2         default null,
184   p_attribute18                 in varchar2         default null,
185   p_attribute19                 in varchar2         default null,
186   p_attribute20                 in varchar2         default null,
187   p_attribute21                 in varchar2         default null,
188   p_attribute22                 in varchar2         default null,
189   p_attribute23                 in varchar2         default null,
190   p_attribute24                 in varchar2         default null,
191   p_attribute25                 in varchar2         default null,
192   p_attribute26                 in varchar2         default null,
193   p_attribute27                 in varchar2         default null,
194   p_attribute28                 in varchar2         default null,
195   p_attribute29                 in varchar2         default null,
196   p_attribute30                 in varchar2         default null,
197   p_sta_information_category    in varchar2         default null,
198   p_sta_information1            in varchar2         default null,
199   p_sta_information2            in varchar2         default null,
200   p_sta_information3            in varchar2         default null,
201   p_sta_information4            in varchar2         default null,
202   p_sta_information5            in varchar2         default null,
203   p_sta_information6            in varchar2         default null,
204   p_sta_information7            in varchar2         default null,
205   p_sta_information8            in varchar2         default null,
206   p_sta_information9            in varchar2         default null,
207   p_sta_information10           in varchar2         default null,
208   p_sta_information11           in varchar2         default null,
209   p_sta_information12           in varchar2         default null,
210   p_sta_information13           in varchar2         default null,
211   p_sta_information14           in varchar2         default null,
212   p_sta_information15           in varchar2         default null,
213   p_sta_information16           in varchar2         default null,
214   p_sta_information17           in varchar2         default null,
215   p_sta_information18           in varchar2         default null,
216   p_sta_information19           in varchar2         default null,
217   p_sta_information20           in varchar2         default null,
218   p_sta_information21           in varchar2         default null,
219   p_sta_information22           in varchar2         default null,
220   p_sta_information23           in varchar2         default null,
221   p_sta_information24           in varchar2         default null,
222   p_sta_information25           in varchar2         default null,
223   p_sta_information26           in varchar2         default null,
224   p_sta_information27           in varchar2         default null,
225   p_sta_information28           in varchar2         default null,
226   p_sta_information29           in varchar2         default null,
227   p_sta_information30           in varchar2         default null
228   );
229 --
230 end pay_sta_ins;