DBA Data[Home] [Help]

PACKAGE: APPS.HR_DEI_BUS

Source


1 Package hr_dei_bus as
2 /* $Header: hrdeirhi.pkh 120.1 2005/09/09 08:32:33 kramajey 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_document_extra_info_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_document_extra_info_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_document_extra_info_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_document_extra_info_id
48 --     already exists.
49 --
50 --  In Arguments:
51 --    p_document_extra_info_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_document_extra_info_id               in     number
67   ) RETURN varchar2;
68 --
69 --
70 
71 -- ---------------------------------------------------------------------------
72 -- |----------------< return_leg_code_perid >---------------------|
73 -- ---------------------------------------------------------------------------
74 -- {Start Of Comments}
75 --
76 --  Description:
77 --    Return the legislation code for a specific person_id value
78 --
79 --  Prerequisites:
80 --    The record identified by person_id
81 --     already exists.
82 --
83 --  In Arguments:
84 --    p_person_id
85 --
86 --
87 --  Post Success:
88 --    The business group's legislation code will be returned.
89 --
90 --  Post Failure:
91 --    An error is raised if the value does not exist.
92 --
93 --  Access Status:
94 --    Internal Development Use Only.
95 --
96 -- {End Of Comments}
97 -- ---------------------------------------------------------------------------
98 FUNCTION return_leg_code_perid
99   (p_person_id               in     number
100   ) RETURN varchar2;
101 --
102 
103 -- ----------------------------------------------------------------------------
104 -- |---------------------------< insert_validate >----------------------------|
105 -- ----------------------------------------------------------------------------
106 -- {Start of comments}
107 --
108 -- Description:
109 --   This procedure controls the execution of all insert business rules
110 --   validation.
111 --
112 -- Prerequisites:
113 --   This private procedure is called from ins procedure.
114 --
115 -- In Parameters:
116 --   A Pl/Sql record structure.
117 --
118 -- Post Success:
119 --   Processing continues.
120 --
121 -- Post Failure:
122 --   If a business rules fails the error will not be handled by this procedure
123 --   unless explicity coded.
124 --
125 -- Developer Implementation Notes:
126 --   For insert, your business rules should be executed from this procedure
127 --   and should ideally (unless really necessary) just be straight procedure
128 --   or function calls. Try and avoid using conditional branching logic.
129 --
130 -- Access Status:
131 --   Internal Row Handler Use Only.
132 --
133 -- {End of comments}
134 -- ----------------------------------------------------------------------------
135 Procedure insert_validate
136   (p_rec                          in hr_dei_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_rec                          in hr_dei_shd.g_rec_type
168   );
169 --
170 -- ----------------------------------------------------------------------------
171 -- |---------------------------< delete_validate >----------------------------|
172 -- ----------------------------------------------------------------------------
173 -- {Start Of Comments}
174 --
175 -- Description:
176 --   This procedure controls the execution of all delete business rules
177 --   validation.
178 --
179 -- Prerequisites:
180 --   This private procedure is called from del procedure.
181 --
182 -- In Parameters:
183 --   A Pl/Sql record structure.
184 --
185 -- Post Success:
186 --   Processing continues.
187 --
188 -- Post Failure:
189 --   If a business rules fails the error will not be handled by this procedure
190 --   unless explicity coded.
191 --
192 -- Developer Implementation Notes:
193 --   For delete, your business rules should be executed from this procedure
194 --   and should ideally (unless really necessary) just be straight procedure
195 --   or function calls. Try and avoid using conditional branching logic.
196 --
197 -- Access Status:
198 --   Internal Row Handler Use Only.
199 --
200 -- {End Of Comments}
201 -- ----------------------------------------------------------------------------
202 Procedure delete_validate
203   (p_rec              in hr_dei_shd.g_rec_type
204   );
205 --
206 end hr_dei_bus;