DBA Data[Home] [Help]

PACKAGE: APPS.HR_IPT_BUS

Source


1 Package hr_ipt_bus as
2 /* $Header: hriptrhi.pkh 120.0 2005/05/31 00:54:23 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 --    No business group context. Security group not applicable.
13 --
14 --  Prerequisites:
15 --    The primary key identified by p_item_property_id already exists.
16 --
17 --  In Arguments:
18 --    p_item_property_id
19 --
20 --  Post Success:
21 --    The security_group_id will be set in CLIENT_INFO.
22 --
23 --  Post Failure:
24 --    An error is raised.
25 --
26 --  Access Status:
27 --    Internal Development Use Only.
28 --
29 -- {End Of Comments}
30 -- ---------------------------------------------------------------------------
31 procedure set_security_group_id
32   (p_item_property_id                     in number
33   );
34 --
35 --
36 -- ---------------------------------------------------------------------------
37 -- |---------------------< return_legislation_code >-------------------------|
38 -- ---------------------------------------------------------------------------
39 -- {Start Of Comments}
40 --
41 --  Description:
42 --    Return the legislation code for a specific primary key value. This may
43 --    be null in certain cases.
44 --
45 --  Prerequisites:
46 --    The primary key identified by p_item_property_id already exists.
47 --
48 --  In Arguments:
49 --    p_item_property_id
50 --
51 --  Post Success:
52 --    The business group's legislation code will be returned.
53 --
54 --  Post Failure:
55 --    An error is raised.
56 --
57 --  Access Status:
58 --    Internal Development Use Only.
59 --
60 -- {End Of Comments}
61 -- ---------------------------------------------------------------------------
62 FUNCTION return_legislation_code
63   (p_item_property_id                     in     number
64   ,p_language                             in     varchar2
65   ) RETURN varchar2;
66 --
67 --
68 -- ----------------------------------------------------------------------------
69 -- |---------------------------< insert_validate >----------------------------|
70 -- ----------------------------------------------------------------------------
71 -- {Start of comments}
72 --
73 -- Description:
74 --   This procedure controls the execution of all insert business rules
75 --   validation.
76 --
77 -- Prerequisites:
78 --   This private procedure is called from ins procedure.
79 --
80 -- In Parameters:
81 --   A Pl/Sql record structure.
82 --
83 -- Post Success:
84 --   Processing continues.
85 --
86 -- Post Failure:
87 --   If a business rules fails the error will not be handled by this procedure
88 --   unless explicity coded.
89 --
90 -- Developer Implementation Notes:
91 --   For insert, your business rules should be executed from this procedure and
92 --   should ideally (unless really necessary) just be straight procedure or
93 --   function calls. Try and avoid using conditional branching logic.
94 --
95 -- Access Status:
96 --   Internal Row Handler Use Only.
97 --
98 -- {End of comments}
99 -- ----------------------------------------------------------------------------
100 Procedure insert_validate
101   (p_rec                          in hr_ipt_shd.g_rec_type
102   ,p_item_property_id             in number
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 hr_ipt_shd.g_rec_type
139   );
140 --
141 -- ----------------------------------------------------------------------------
142 -- |---------------------------< delete_validate >----------------------------|
143 -- ----------------------------------------------------------------------------
144 -- {Start Of Comments}
145 --
146 -- Description:
147 --   This procedure controls the execution of all delete business rules
148 --   validation.
149 --
150 -- Prerequisites:
151 --   This private procedure is called from del procedure.
152 --
153 -- In Parameters:
154 --   A Pl/Sql record structure.
155 --
156 -- Post Success:
157 --   Processing continues.
158 --
159 -- Post Failure:
160 --   If a business rules fails the error will not be handled by this procedure
161 --   unless explicity coded.
162 --
163 -- Developer Implementation Notes:
164 --   For delete, your business rules should be executed from this procedure and
165 --   should ideally (unless really necessary) just be straight procedure or
166 --   function calls. Try and avoid using conditional branching logic.
167 --
168 -- Access Status:
169 --   Internal Row Handler Use Only.
170 --
171 --
172 -- ----------------------------------------------------------------------------
173 Procedure delete_validate
174   (p_rec              in hr_ipt_shd.g_rec_type
175   );
176 --
177 end hr_ipt_bus;