DBA Data[Home] [Help]

PACKAGE: APPS.PQP_GAP_BUS

Source


1 Package pqp_gap_bus AUTHID CURRENT_USER as
2 /* $Header: pqgaprhi.pkh 120.1 2005/06/30 12:01:31 rpinjala noship $ */
3 --
4 -- ---------------------------------------------------------------------------
5 -- |----------------------< set_security_group_id >--------------------------|
6 -- ---------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 --  Description:
10 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
11 --    group context.
12 --
13 --  Prerequisites:
14 --    The primary key identified by p_gap_absence_plan_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_gap_absence_plan_id
19 --
20 --
21 --  Post Success:
22 --    The security_group_id will be set in CLIENT_INFO.
23 --
24 --  Post Failure:
25 --    An error is raised if the value does not exist.
26 --
27 --  Access Status:
28 --    Internal Development Use Only.
29 --
30 -- {End Of Comments}
31 -- ---------------------------------------------------------------------------
32 procedure set_security_group_id
33   (p_gap_absence_plan_id                  in number
34   ,p_associated_column1                   in varchar2 default null
35   );
36 --
37 --
38 -- ---------------------------------------------------------------------------
39 -- |---------------------< return_legislation_code >-------------------------|
40 -- ---------------------------------------------------------------------------
41 -- {Start Of Comments}
42 --
43 --  Description:
44 --    Return the legislation code for a specific primary key value
45 --
46 --  Prerequisites:
47 --    The primary key identified by p_assignment_id
48 --     already exists.
49 --
50 --  In Arguments:
51 --    p_assignment_id
52 --
53 --
54 --  Post Success:
55 --    The business group's legislation code will be returned.
56 --
57 --  Post Failure:
58 --    An error is raised if the value does not exist.
59 --
60 --  Access Status:
61 --    Internal Development Use Only.
62 --
63 -- {End Of Comments}
64 -- ---------------------------------------------------------------------------
65 FUNCTION return_legislation_code
66   (p_assignment_id in     number
67   ) RETURN varchar2;
68 
69 --
70 -- ---------------------------------------------------------------------------
71 -- |-------------------< return_gap_legislation_code >-----------------------|
72 -- ---------------------------------------------------------------------------
73 -- {Start Of Comments}
74 --
75 --  Description:
76 --    Return the legislation code for a specific primary key value
77 --
78 --  Prerequisites:
79 --    The primary key identified by p_gap_absence_plan_id
80 --     already exists.
81 --
82 --  In Arguments:
83 --    p_gap_absence_plan_id
84 --
85 --
86 --  Post Success:
87 --    The business group's legislation code will be returned.
88 --
89 --  Post Failure:
90 --    An error is raised if the value does not exist.
91 --
92 --  Access Status:
93 --    Internal Development Use Only.
94 --
95 -- {End Of Comments}
96 -- ---------------------------------------------------------------------------
97 Function return_gap_legislation_code
98   (p_gap_absence_plan_id  in     number
99   ) Return Varchar2;
100 --
101 --
102 -- ----------------------------------------------------------------------------
103 -- |---------------------------< insert_validate >----------------------------|
104 -- ----------------------------------------------------------------------------
105 -- {Start of comments}
106 --
107 -- Description:
108 --   This procedure controls the execution of all insert business rules
109 --   validation.
110 --
111 -- Prerequisites:
112 --   This private procedure is called from ins procedure.
113 --
114 -- In Parameters:
115 --   A Pl/Sql record structure.
116 --
117 -- Post Success:
118 --   Processing continues.
119 --
120 -- Post Failure:
121 --   If a business rules fails the error will not be handled by this procedure
122 --   unless explicity coded.
123 --
124 -- Developer Implementation Notes:
125 --   For insert, your business rules should be executed from this procedure
126 --   and should ideally (unless really necessary) just be straight procedure
127 --   or function calls. Try and avoid using conditional branching logic.
128 --
129 -- Access Status:
130 --   Internal Row Handler Use Only.
131 --
132 -- {End of comments}
133 -- ----------------------------------------------------------------------------
134 Procedure insert_validate
135   (p_effective_date               in date
136   ,p_rec                          in pqp_gap_shd.g_rec_type
137   );
138 --
139 -- ----------------------------------------------------------------------------
140 -- |---------------------------< update_validate >----------------------------|
141 -- ----------------------------------------------------------------------------
142 -- {Start Of Comments}
143 --
144 -- Description:
145 --   This procedure controls the execution of all update business rules
146 --   validation.
147 --
148 -- Prerequisites:
149 --   This private procedure is called from upd procedure.
150 --
151 -- In Parameters:
152 --   A Pl/Sql record structure.
153 --
154 -- Post Success:
155 --   Processing continues.
156 --
157 -- Post Failure:
158 --   If a business rules fails the error will not be handled by this procedure
159 --   unless explicity coded.
160 --
161 -- Access Status:
162 --   Internal Row Handler Use Only.
163 --
164 -- {End Of Comments}
165 -- ----------------------------------------------------------------------------
166 Procedure update_validate
167   (p_effective_date               in date
168   ,p_rec                          in pqp_gap_shd.g_rec_type
169   );
170 --
171 -- ----------------------------------------------------------------------------
172 -- |---------------------------< delete_validate >----------------------------|
173 -- ----------------------------------------------------------------------------
174 -- {Start Of Comments}
175 --
176 -- Description:
177 --   This procedure controls the execution of all delete business rules
178 --   validation.
179 --
180 -- Prerequisites:
181 --   This private procedure is called from del procedure.
182 --
183 -- In Parameters:
184 --   A Pl/Sql record structure.
185 --
186 -- Post Success:
187 --   Processing continues.
188 --
189 -- Post Failure:
190 --   If a business rules fails the error will not be handled by this procedure
191 --   unless explicity coded.
192 --
193 -- Developer Implementation Notes:
194 --   For delete, your business rules should be executed from this procedure
195 --   and should ideally (unless really necessary) just be straight procedure
196 --   or function calls. Try and avoid using conditional branching logic.
197 --
198 -- Access Status:
199 --   Internal Row Handler Use Only.
200 --
201 -- {End Of Comments}
202 -- ----------------------------------------------------------------------------
203 Procedure delete_validate
204   (p_rec              in pqp_gap_shd.g_rec_type
205   );
206 --
207 end pqp_gap_bus;