1 Package per_bpa_ins AUTHID CURRENT_USER as
2 /* $Header: pebparhi.pkh 120.1 2010/08/10 17:42:28 vboggava ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------------< ins >----------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 -- This procedure is the record interface for the insert process
11 -- for the specified entity. The role of this process is to insert a fully
12 -- validated row, into the HR schema passing back to the calling process,
13 -- any system generated values (e.g. primary and object version number
14 -- attributes). This process is the main backbone of the ins
15 -- process. The processing of this procedure is as follows:
16 -- 1) The controlling validation process insert_validate is executed
17 -- which will execute all private and public validation business rule
18 -- processes.
19 -- 2) The pre_insert business process is then executed which enables any
20 -- logic to be processed before the insert dml process is executed.
21 -- 3) The insert_dml process will physical perform the insert dml into the
22 -- specified entity.
23 -- 4) The post_insert business process is then executed which enables any
24 -- logic to be processed after the insert dml process.
25 --
26 -- Prerequisites:
27 -- The main parameters to the this process have to be in the record
28 -- format.
29 --
30 -- In Parameters:
31 --
32 -- Post Success:
33 -- A fully validated row will be inserted into the specified entity
34 -- without being committed.
35 --
36 -- Post Failure:
37 -- If an error has occurred, an error message will be supplied with the work
38 -- rolled back.
39 --
40 -- Developer Implementation Notes:
41 -- None.
42 --
43 -- Access Status:
44 -- Internal Development Use Only.
45 --
46 -- {End Of Comments}
47 -- ----------------------------------------------------------------------------
48 Procedure ins
49 (p_effective_date in date
50 ,p_rec in out nocopy per_bpa_shd.g_rec_type
51 );
52 --
53 -- ----------------------------------------------------------------------------
54 -- |---------------------------------< ins >----------------------------------|
55 -- ----------------------------------------------------------------------------
56 -- {Start Of Comments}
57 --
58 -- Description:
59 -- This procedure is the attribute interface for the insert
60 -- process for the specified entity and is the outermost layer. The role
61 -- of this process is to insert a fully validated row into the HR schema
62 -- passing back to the calling process, any system generated values
63 -- (e.g. object version number attributes).The processing of this
64 -- procedure is as follows:
65 -- 1) The attributes are converted into a local record structure by
66 -- calling the convert_args function.
67 -- 2) After the conversion has taken place, the corresponding record ins
68 -- interface process is executed.
69 -- 3) OUT parameters are then set to their corresponding record attributes.
70 --
71 -- Prerequisites:
72 --
73 -- In Parameters:
74 --
75 -- Post Success:
76 -- A fully validated row will be inserted for 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 (p_effective_date in date,
93 p_processed_assignment_id out nocopy number,
94 p_payroll_run_id in number,
95 p_assignment_id in number,
96 p_object_version_number out nocopy number,
97 p_bpa_attribute_category in varchar2 default null,
98 p_bpa_attribute1 in varchar2 default null,
99 p_bpa_attribute2 in varchar2 default null,
100 p_bpa_attribute3 in varchar2 default null,
101 p_bpa_attribute4 in varchar2 default null,
102 p_bpa_attribute5 in varchar2 default null,
103 p_bpa_attribute6 in varchar2 default null,
104 p_bpa_attribute7 in varchar2 default null,
105 p_bpa_attribute8 in varchar2 default null,
106 p_bpa_attribute9 in varchar2 default null,
107 p_bpa_attribute10 in varchar2 default null,
108 p_bpa_attribute11 in varchar2 default null,
109 p_bpa_attribute12 in varchar2 default null,
110 p_bpa_attribute13 in varchar2 default null,
111 p_bpa_attribute14 in varchar2 default null,
112 p_bpa_attribute15 in varchar2 default null,
113 p_bpa_attribute16 in varchar2 default null,
114 p_bpa_attribute17 in varchar2 default null,
115 p_bpa_attribute18 in varchar2 default null,
116 p_bpa_attribute19 in varchar2 default null,
117 p_bpa_attribute20 in varchar2 default null,
118 p_bpa_attribute21 in varchar2 default null,
119 p_bpa_attribute22 in varchar2 default null,
120 p_bpa_attribute23 in varchar2 default null,
121 p_bpa_attribute24 in varchar2 default null,
122 p_bpa_attribute25 in varchar2 default null,
123 p_bpa_attribute26 in varchar2 default null,
124 p_bpa_attribute27 in varchar2 default null,
125 p_bpa_attribute28 in varchar2 default null,
126 p_bpa_attribute29 in varchar2 default null,
127 p_bpa_attribute30 in varchar2 default null
128 );
129 --
130 end per_bpa_ins;