DBA Data[Home] [Help]

PACKAGE: APPS.PAY_PTA_BUS

Source


1 Package pay_pta_bus AUTHID CURRENT_USER as
2 /* $Header: pyptarhi.pkh 120.0 2005/05/29 07:56:32 appldev 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 --    It is only valid to call this procedure when the primary key
13 --    is within a buisiness group context.
14 --
15 --  Prerequisites:
16 --    The primary key identified by p_dated_table_id
17 --     already exists.
18 --
19 --  In Arguments:
20 --    p_dated_table_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 --    An error is also raised when the primary key data is outside
29 --    of a buisiness group context.
30 --
31 --  Access Status:
32 --    Internal Development Use Only.
33 --
34 -- {End Of Comments}
35 -- ---------------------------------------------------------------------------
36 procedure set_security_group_id
37   (p_dated_table_id                       in number
38   );
39 --
40 --
41 -- ---------------------------------------------------------------------------
42 -- |---------------------< return_legislation_code >-------------------------|
43 -- ---------------------------------------------------------------------------
44 -- {Start Of Comments}
45 --
46 --  Description:
47 --    Return the legislation code for a specific primary key value
48 --
49 --  Prerequisites:
50 --    The primary key identified by p_dated_table_id
51 --     already exists.
52 --
53 --  In Arguments:
54 --    p_dated_table_id
55 --
56 --
57 --  Post Success:
58 --    The business group's legislation code will be returned.
59 --
60 --  Post Failure:
61 --    An error is raised if the value does not exist.
62 --
63 --  Access Status:
64 --    Internal Development Use Only.
65 --
66 -- {End Of Comments}
67 -- ---------------------------------------------------------------------------
68 FUNCTION return_legislation_code
69   (p_dated_table_id                       in     number
70   ) RETURN varchar2;
71 --
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< insert_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start of comments}
77 --
78 -- Description:
79 --   This procedure controls the execution of all insert business rules
80 --   validation.
81 --
82 -- Prerequisites:
83 --   This private procedure is called from ins procedure.
84 --
85 -- In Parameters:
86 --   A Pl/Sql record structure.
87 --
88 -- Post Success:
89 --   Processing continues.
90 --
91 -- Post Failure:
92 --   If a business rules fails the error will not be handled by this procedure
93 --   unless explicity coded.
94 --
95 -- Developer Implementation Notes:
96 --   For insert, your business rules should be executed from this procedure and
97 --   should ideally (unless really necessary) just be straight procedure or
98 --   function calls. Try and avoid using conditional branching logic.
99 --
100 -- Access Status:
101 --   Internal Row Handler Use Only.
102 --
103 -- {End of comments}
104 -- ----------------------------------------------------------------------------
105 Procedure insert_validate
106   (p_rec                          in pay_pta_shd.g_rec_type
107   );
108 --
109 -- ----------------------------------------------------------------------------
110 -- |---------------------------< update_validate >----------------------------|
111 -- ----------------------------------------------------------------------------
112 -- {Start Of Comments}
113 --
114 -- Description:
115 --   This procedure controls the execution of all update business rules
116 --   validation.
117 --
118 -- Prerequisites:
119 --   This private procedure is called from upd procedure.
120 --
121 -- In Parameters:
122 --   A Pl/Sql record structure.
123 --
124 -- Post Success:
125 --   Processing continues.
126 --
127 -- Post Failure:
128 --   If a business rules fails the error will not be handled by this procedure
129 --   unless explicity coded.
130 --
131 -- Developer Implementation Notes:
132 --   For update, your business rules should be executed from this procedure and
133 --   should ideally (unless really necessary) just be straight procedure or
134 --   function calls. Try and avoid using conditional branching logic.
135 --
136 -- Access Status:
137 --   Internal Row Handler Use Only.
138 --
139 -- {End Of Comments}
140 -- ----------------------------------------------------------------------------
141 Procedure update_validate
142   (p_rec                          in pay_pta_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 -- {End Of Comments}
176 -- ----------------------------------------------------------------------------
177 Procedure delete_validate
178   (p_rec              in pay_pta_shd.g_rec_type
179   );
180 --
181 end pay_pta_bus;