DBA Data[Home] [Help]

PACKAGE: APPS.HR_ORT_BUS

Source


1 Package hr_ort_bus AUTHID CURRENT_USER as
2 /* $Header: hrortrhi.pkh 120.0 2005/05/31 01:52:48 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 --
13 --  Prerequisites:
14 --    The primary key identified by p_organization_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_organization_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_organization_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_organization_id
47 --     already exists.
48 --
49 --  In Arguments:
50 --    p_organization_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_organization_id                      in     number
66   ,p_language                             in     varchar2
67   ) RETURN varchar2;
68 --
69 --
70 -- ----------------------------------------------------------------------------
71 -- |---------------------------< insert_validate >----------------------------|
72 -- ----------------------------------------------------------------------------
73 -- {Start of comments}
74 --
75 -- Description:
76 --   This procedure controls the execution of all insert business rules
77 --   validation.
78 --
79 -- Prerequisites:
80 --   This private procedure is called from ins procedure.
81 --
82 -- In Parameters:
83 --   A Pl/Sql record structure.
84 --
85 -- Post Success:
86 --   Processing continues.
87 --
88 -- Post Failure:
89 --   If a business rules fails the error will not be handled by this procedure
90 --   unless explicity coded.
91 --
92 -- Developer Implementation Notes:
93 --   For insert, your business rules should be executed from this procedure and
94 --   should ideally (unless really necessary) just be straight procedure or
95 --   function calls. Try and avoid using conditional branching logic.
96 --
97 -- Access Status:
98 --   Internal Row Handler Use Only.
99 --
100 -- {End of comments}
101 -- ----------------------------------------------------------------------------
102 Procedure insert_validate
103   (p_rec                          in hr_ort_shd.g_rec_type
104   );
105 --
106 -- ----------------------------------------------------------------------------
107 -- |---------------------------< update_validate >----------------------------|
108 -- ----------------------------------------------------------------------------
109 -- {Start Of Comments}
110 --
111 -- Description:
112 --   This procedure controls the execution of all update business rules
113 --   validation.
114 --
115 -- Prerequisites:
116 --   This private procedure is called from upd procedure.
117 --
118 -- In Parameters:
119 --   A Pl/Sql record structure.
120 --
121 -- Post Success:
122 --   Processing continues.
123 --
124 -- Post Failure:
125 --   If a business rules fails the error will not be handled by this procedure
126 --   unless explicity coded.
127 --
128 -- Developer Implementation Notes:
129 --   For update, your business rules should be executed from this procedure and
130 --   should ideally (unless really necessary) just be straight procedure or
131 --   function calls. Try and avoid using conditional branching logic.
132 --
133 -- Access Status:
134 --   Internal Row Handler Use Only.
135 --
136 -- {End Of Comments}
137 -- ----------------------------------------------------------------------------
138 Procedure update_validate
139   (p_rec                          in hr_ort_shd.g_rec_type
140   );
141 --
142 -- ----------------------------------------------------------------------------
143 -- |---------------------------< delete_validate >----------------------------|
144 -- ----------------------------------------------------------------------------
145 -- {Start Of Comments}
146 --
147 -- Description:
148 --   This procedure controls the execution of all delete business rules
149 --   validation.
150 --
151 -- Prerequisites:
152 --   This private procedure is called from del procedure.
153 --
154 -- In Parameters:
155 --   A Pl/Sql record structure.
156 --
157 -- Post Success:
158 --   Processing continues.
159 --
160 -- Post Failure:
161 --   If a business rules fails the error will not be handled by this procedure
162 --   unless explicity coded.
163 --
164 -- Developer Implementation Notes:
165 --   For delete, your business rules should be executed from this procedure and
166 --   should ideally (unless really necessary) just be straight procedure or
167 --   function calls. Try and avoid using conditional branching logic.
168 --
169 -- Access Status:
170 --   Internal Row Handler Use Only.
171 --
172 -- {End Of Comments}
173 -- ----------------------------------------------------------------------------
174 Procedure delete_validate
175   (p_rec              in hr_ort_shd.g_rec_type
176   );
177 --
178 end hr_ort_bus;