DBA Data[Home] [Help]

PACKAGE: APPS.PQP_DET_INS

Source


1 Package pqp_det_ins as
2 /* $Header: pqdetrhi.pkh 120.0.12010000.1 2008/07/28 11:08:28 appldev ship $ */
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   (
51   p_effective_date               in date,
52   p_rec        in out nocopy pqp_det_shd.g_rec_type
53   );
54 
55 -- ----------------------------------------------------------------------------
56 -- |---------------------------------< ins >----------------------------------|
57 -- ----------------------------------------------------------------------------
58 -- {Start Of Comments}
59 
60 -- Description:
61 --   This procedure is the attribute interface for the insert
62 --   process for the specified entity and is the outermost layer. The role
63 --   of this process is to insert a fully validated row into the HR schema
64 --   passing back to the calling process, any system generated values
65 --   (e.g. object version number attributes).The processing of this
66 --   procedure is as follows:
67 --   1) The attributes are converted into a local record structure by
68 --      calling the convert_args function.
69 --   2) After the conversion has taken place, the corresponding record ins
70 --      interface process is executed.
71 --   3) OUT parameters are then set to their corresponding record attributes.
72 
73 -- Prerequisites:
74 
75 -- In Parameters:
76 
77 -- Post Success:
78 --   A fully validated row will be inserted for the specified entity
79 --   without being committed.
80 
81 -- Post Failure:
82 --   If an error has occurred, an error message will be supplied with the work
83 --   rolled back.
84 
85 -- Developer Implementation Notes:
86 --   None.
87 
88 -- Access Status:
89 --   Internal Development Use Only.
90 
91 -- {End Of Comments}
92 -- ----------------------------------------------------------------------------
93 Procedure ins
94   (
95   p_effective_date               in date,
96   p_analyzed_data_details_id     out nocopy number,
97   p_analyzed_data_id             in number,
98   p_income_code                  in varchar2         default null,
99   p_withholding_rate             in number           default null,
100   p_income_code_sub_type         in varchar2         default null,
101   p_exemption_code               in varchar2         default null,
102   p_maximum_benefit_amount       in number           default null,
103   p_retro_lose_ben_amt_flag      in varchar2         default null,
104   p_date_benefit_ends            in date             default null,
105   p_retro_lose_ben_date_flag     in varchar2         default null,
106   p_nra_exempt_from_ss           in varchar2         default null,
107   p_nra_exempt_from_medicare     in varchar2         default null,
108   p_student_exempt_from_ss       in varchar2         default null,
109   p_student_exempt_from_medi     in varchar2         default null,
110   p_addl_withholding_flag        in varchar2         default null,
111   p_constant_addl_tax            in number           default null,
112   p_addl_withholding_amt         in number           default null,
113   p_addl_wthldng_amt_period_type in varchar2         default null,
114   p_personal_exemption           in number           default null,
115   p_addl_exemption_allowed       in number           default null,
116   p_treaty_ben_allowed_flag      in varchar2         default null,
117   p_treaty_benefits_start_date   in date             default null,
118   p_object_version_number        out nocopy number ,
119   p_retro_loss_notification_sent in varchar2         default null,
120   p_current_analysis             in varchar2         default null,
121   p_forecast_income_code         in varchar2         default null
122   );
123 
124 end pqp_det_ins;