DBA Data[Home] [Help]

PACKAGE: APPS.PAY_BTL_BUS

Source


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