DBA Data[Home] [Help]

PACKAGE: APPS.HXC_HAS_BUS

Source


1 Package hxc_has_bus AUTHID CURRENT_USER as
2 /* $Header: hxchasrhi.pkh 120.2 2006/06/08 13:22:58 gsirigin 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_approval_style_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_approval_style_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_approval_style_id                    in number
34   );
35 --
36 --
37 -- ---------------------------------------------------------------------------
38 -- |---------------------< return_legislation_code >-------------------------|
39 -- ---------------------------------------------------------------------------
40 -- {Start Of Comments}
41 --
42 --  Description:
43 --    Return the legislation code for a specific primary key value
44 --
45 --  Prerequisites:
46 --    The primary key identified by p_approval_style_id
47 --     already exists.
48 --
49 --  In Arguments:
50 --    p_approval_style_id
51 --
52 --
53 --  Post Success:
54 --    The business group's legislation code will be returned.
55 --
56 --  Post Failure:
57 --    An error is raised if the value does not exist.
58 --
59 --  Access Status:
60 --    Internal Development Use Only.
61 --
62 -- {End Of Comments}
63 -- ---------------------------------------------------------------------------
64 FUNCTION return_legislation_code
65   (p_approval_style_id                    in     number
66   ) RETURN varchar2;
67 --
68 --
69 -- ----------------------------------------------------------------------------
70 -- |---------------------------< insert_validate >----------------------------|
71 -- ----------------------------------------------------------------------------
72 -- {Start of comments}
73 --
74 -- Description:
75 --   This procedure controls the execution of all insert business rules
76 --   validation.
77 --
78 -- Prerequisites:
79 --   This private procedure is called from ins procedure.
80 --
81 -- In Parameters:
82 --   A Pl/Sql record structure.
83 --
84 -- Post Success:
85 --   Processing continues.
86 --
87 -- Post Failure:
88 --   If a business rules fails the error will not be handled by this procedure
89 --   unless explicity coded.
90 --
91 -- Developer Implementation Notes:
92 --   For insert, your business rules should be executed from this procedure and
93 --   should ideally (unless really necessary) just be straight procedure or
94 --   function calls. Try and avoid using conditional branching logic.
95 --
96 -- Access Status:
97 --   Internal Row Handler Use Only.
98 --
99 -- {End of comments}
100 -- ----------------------------------------------------------------------------
101 Procedure insert_validate
102   (p_rec                          in hxc_has_shd.g_rec_type
103   );
104 --
105 -- ----------------------------------------------------------------------------
106 -- |---------------------------< update_validate >----------------------------|
107 -- ----------------------------------------------------------------------------
108 -- {Start Of Comments}
109 --
110 -- Description:
111 --   This procedure controls the execution of all update business rules
112 --   validation.
113 --
114 -- Prerequisites:
115 --   This private procedure is called from upd procedure.
116 --
117 -- In Parameters:
118 --   A Pl/Sql record structure.
119 --
120 -- Post Success:
121 --   Processing continues.
122 --
123 -- Post Failure:
124 --   If a business rules fails the error will not be handled by this procedure
125 --   unless explicity coded.
126 --
127 -- Developer Implementation Notes:
128 --   For update, your business rules should be executed from this procedure and
129 --   should ideally (unless really necessary) just be straight procedure or
130 --   function calls. Try and avoid using conditional branching logic.
131 --
132 -- Access Status:
133 --   Internal Row Handler Use Only.
134 --
135 -- {End Of Comments}
136 -- ----------------------------------------------------------------------------
137 Procedure update_validate
138   (p_rec                          in hxc_has_shd.g_rec_type
139   );
140 /*
141 --
142 -- ----------------------------------------------------------------------------
143 -- |-----------------------< chk_delete >-------------------------------------|
144 -- ----------------------------------------------------------------------------
145 -- {Start Of Comments}
146 --
147 -- Description:
148 --   This procedure carries out delete time refential integrity checks
149 --
150 -- Pre Conditions:
151 --   None
152 --
153 -- In Arguments:
154 --   approval_style_id
155 --
156 -- Post Success:
157 --   Processing continues if the approval style name is not being referenced
158 --
159 -- Post Failure:
160 --   An application error is raised if the approval style is being used.
161 --
162 -- {End Of Comments}
163 -- ----------------------------------------------------------------------------
164 Procedure chk_delete
165   (
166    p_approval_style_id in hxc_approval_styles.approval_style_id%TYPE
167   );
168 */
169 -- ----------------------------------------------------------------------------
170 -- |---------------------------< delete_validate >----------------------------|
171 -- ----------------------------------------------------------------------------
172 -- {Start Of Comments}
173 --
174 -- Description:
175 --   This procedure controls the execution of all delete business rules
176 --   validation.
177 --
178 -- Prerequisites:
179 --   This private procedure is called from del procedure.
180 --
181 -- In Parameters:
182 --   A Pl/Sql record structure.
183 --
184 -- Post Success:
185 --   Processing continues.
186 --
187 -- Post Failure:
188 --   If a business rules fails the error will not be handled by this procedure
189 --   unless explicity coded.
190 --
191 -- Developer Implementation Notes:
192 --   For delete, your business rules should be executed from this procedure and
193 --   should ideally (unless really necessary) just be straight procedure or
194 --   function calls. Try and avoid using conditional branching logic.
195 --
196 -- Access Status:
197 --   Internal Row Handler Use Only.
198 --
199 --
200 -- ----------------------------------------------------------------------------
201 Procedure delete_validate
202   (p_rec              in hxc_has_shd.g_rec_type
203   );
204 --
205 end hxc_has_bus;