DBA Data[Home] [Help]

PACKAGE: APPS.BEN_RTS_BUS

Source


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