1 Package pay_con_ins AUTHID CURRENT_USER as
2 /* $Header: pyconrhi.pkh 115.1 99/09/30 13:47:46 porting 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_rec in out pay_con_shd.g_rec_type
52 );
53 --
54 -- ----------------------------------------------------------------------------
55 -- |---------------------------------< ins >----------------------------------|
56 -- ----------------------------------------------------------------------------
57 -- {Start Of Comments}
58 --
59 -- Description:
60 -- This procedure is the attribute interface for the insert
61 -- process for the specified entity and is the outermost layer. The role
62 -- of this process is to insert a fully validated row into the HR schema
63 -- passing back to the calling process, any system generated values
64 -- (e.g. object version number attributes).The processing of this
65 -- procedure is as follows:
66 -- 1) The attributes are converted into a local record structure by
67 -- calling the convert_args function.
68 -- 2) After the conversion has taken place, the corresponding record ins
69 -- interface process is executed.
70 -- 3) OUT parameters are then set to their corresponding record attributes.
71 --
72 -- Prerequisites:
73 --
74 -- In Parameters:
75 --
76 -- Post Success:
77 -- A fully validated row will be inserted for the specified entity
78 -- without being committed.
79 --
80 -- Post Failure:
81 -- If an error has occurred, an error message will be supplied with the work
82 -- rolled back.
83 --
84 -- Developer Implementation Notes:
85 -- None.
86 --
87 -- Access Status:
88 -- Internal Development Use Only.
89 --
90 -- {End Of Comments}
91 -- ----------------------------------------------------------------------------
92 Procedure ins
93 (
94 p_contr_history_id out number,
95 p_person_id in number,
96 p_date_from in date,
97 p_date_to in date,
98 p_contr_type in varchar2,
99 p_business_group_id in number,
100 p_legislation_code in varchar2,
101 p_amt_contr in number default null,
102 p_max_contr_allowed in number default null,
103 p_includable_comp in number default null,
104 p_tax_unit_id in number default null,
105 p_source_system in varchar2 default null,
106 p_contr_information_category in varchar2 default null,
107 p_contr_information1 in varchar2 default null,
108 p_contr_information2 in varchar2 default null,
109 p_contr_information3 in varchar2 default null,
110 p_contr_information4 in varchar2 default null,
111 p_contr_information5 in varchar2 default null,
112 p_contr_information6 in varchar2 default null,
113 p_contr_information7 in varchar2 default null,
114 p_contr_information8 in varchar2 default null,
115 p_contr_information9 in varchar2 default null,
116 p_contr_information10 in varchar2 default null,
117 p_contr_information11 in varchar2 default null,
118 p_contr_information12 in varchar2 default null,
119 p_contr_information13 in varchar2 default null,
120 p_contr_information14 in varchar2 default null,
121 p_contr_information15 in varchar2 default null,
122 p_contr_information16 in varchar2 default null,
123 p_contr_information17 in varchar2 default null,
124 p_contr_information18 in varchar2 default null,
125 p_contr_information19 in varchar2 default null,
126 p_contr_information20 in varchar2 default null,
127 p_contr_information21 in varchar2 default null,
128 p_contr_information22 in varchar2 default null,
129 p_contr_information23 in varchar2 default null,
130 p_contr_information24 in varchar2 default null,
131 p_contr_information25 in varchar2 default null,
132 p_contr_information26 in varchar2 default null,
133 p_contr_information27 in varchar2 default null,
134 p_contr_information28 in varchar2 default null,
135 p_contr_information29 in varchar2 default null,
136 p_contr_information30 in varchar2 default null,
137 p_object_version_number out number
138 );
139 --
140 end pay_con_ins;