1 PACKAGE pay_pyr_ins AUTHID CURRENT_USER AS
2 /* $Header: pypyrrhi.pkh 120.0 2005/05/29 08:11:24 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 -- This PROCEDURE is called to register the next ID value from the database
9 -- sequence.
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 -- Primary Key
15 --
16 -- Post Success:
17 --
18 -- Post Failure:
19 --
20 -- Developer Implementation Notes:
21 -- None.
22 --
23 -- Access Status:
24 -- Internal Development Use Only.
25 --
26 -- {End of Comments}
27 -- ----------------------------------------------------------------------------
28 PROCEDURE set_base_key_value
29 (p_rate_id IN NUMBER);
30 --
31 -- ----------------------------------------------------------------------------
32 -- |---------------------------------< ins >----------------------------------|
33 -- ----------------------------------------------------------------------------
34 -- {Start Of Comments}
35 --
36 -- Description:
37 -- This PROCEDURE is the record interface for the insert process
38 -- for the specified entity. The role of this process is to insert a fully
39 -- validated row, into the HR schema passing back to the calling process,
40 -- any system generated values (e.g. primary and object version NUMBER
41 -- attributes). This process is the main backbone of the ins
42 -- process. The processing of this PROCEDURE is as follows:
43 -- 1) The controlling validation process insert_validate is executed
44 -- which will execute all private and public validation business rule
45 -- processes.
46 -- 2) The pre_insert business process is then executed which enables any
47 -- logic to be processed before the insert dml process is executed.
48 -- 3) The insert_dml process will physical perform the insert dml into the
49 -- specified entity.
50 -- 4) The post_insert business process is then executed which enables any
51 -- logic to be processed after the insert dml process.
52 --
53 -- Prerequisites:
54 -- The main parameters to the this process have to be IN the record
55 -- format.
56 --
57 -- In Parameters:
58 --
59 -- Post Success:
60 -- A fully validated row will be inserted into the specified entity
61 -- without being committed.
62 --
63 -- Post Failure:
64 -- If an error has occurred, an error message will be raised.
65 --
66 -- Developer Implementation Notes:
67 -- None.
68 --
69 -- Access Status:
70 -- Internal Development Use Only.
71 --
72 -- {End Of Comments}
73 -- ----------------------------------------------------------------------------
74 PROCEDURE ins
75 (p_effective_date IN DATE
76 ,p_rec IN OUT NOCOPY pay_pyr_shd.g_rec_type
77 );
78 --
79 -- ----------------------------------------------------------------------------
80 -- |---------------------------------< ins >----------------------------------|
81 -- ----------------------------------------------------------------------------
82 -- {Start Of Comments}
83 --
84 -- Description:
85 -- This PROCEDURE is the attribute interface for the insert
86 -- process for the specified entity and is the outermost layer. The role
87 -- of this process is to insert a fully validated row into the HR schema
88 -- passing back to the calling process, any system generated values
89 -- (e.g. object version NUMBER attributes).The processing of this
90 -- PROCEDURE is as follows:
91 -- 1) The attributes are converted into a local record structure by
92 -- calling the convert_args function.
93 -- 2) After the conversion has taken place, the corresponding record ins
94 -- interface process is executed.
95 -- 3) OUT parameters are then set to their corresponding record attributes.
96 --
97 -- Prerequisites:
98 --
99 -- In Parameters:
100 --
101 -- Post Success:
102 -- A fully validated row will be inserted for the specified entity
103 -- without being committed.
104 --
105 -- Post Failure:
106 -- If an error has occurred, an error message will be raised.
107 --
108 -- Developer Implementation Notes:
109 -- None.
110 --
111 -- Access Status:
112 -- Internal Development Use Only.
113 --
114 -- {End Of Comments}
115 -- ----------------------------------------------------------------------------
116 PROCEDURE ins
117 (p_effective_date IN DATE
118 ,p_business_group_id IN NUMBER
119 ,p_name IN VARCHAR2
120 ,p_rate_type IN VARCHAR2
121 ,p_rate_uom IN VARCHAR2
122 ,p_parent_spine_id IN NUMBER DEFAULT null
123 ,p_comments IN VARCHAR2 DEFAULT null
124 ,p_request_id IN NUMBER DEFAULT null
125 ,p_program_application_id IN NUMBER DEFAULT null
126 ,p_program_id IN NUMBER DEFAULT null
127 ,p_program_update_date IN DATE DEFAULT null
128 ,p_attribute_category IN VARCHAR2 DEFAULT null
129 ,p_attribute1 IN VARCHAR2 DEFAULT null
130 ,p_attribute2 IN VARCHAR2 DEFAULT null
131 ,p_attribute3 IN VARCHAR2 DEFAULT null
132 ,p_attribute4 IN VARCHAR2 DEFAULT null
133 ,p_attribute5 IN VARCHAR2 DEFAULT null
134 ,p_attribute6 IN VARCHAR2 DEFAULT null
135 ,p_attribute7 IN VARCHAR2 DEFAULT null
136 ,p_attribute8 IN VARCHAR2 DEFAULT null
137 ,p_attribute9 IN VARCHAR2 DEFAULT null
138 ,p_attribute10 IN VARCHAR2 DEFAULT null
139 ,p_attribute11 IN VARCHAR2 DEFAULT null
140 ,p_attribute12 IN VARCHAR2 DEFAULT null
141 ,p_attribute13 IN VARCHAR2 DEFAULT null
142 ,p_attribute14 IN VARCHAR2 DEFAULT null
143 ,p_attribute15 IN VARCHAR2 DEFAULT null
144 ,p_attribute16 IN VARCHAR2 DEFAULT null
145 ,p_attribute17 IN VARCHAR2 DEFAULT null
146 ,p_attribute18 IN VARCHAR2 DEFAULT null
147 ,p_attribute19 IN VARCHAR2 DEFAULT null
148 ,p_attribute20 IN VARCHAR2 DEFAULT null
149 ,p_rate_basis IN VARCHAR2 DEFAULT null
150 ,p_asg_rate_type IN VARCHAR2 DEFAULT NULL
151 ,p_rate_id OUT NOCOPY NUMBER
152 ,p_object_version_NUMBER OUT NOCOPY NUMBER
153 );
154 --
155 END pay_pyr_ins;