DBA Data[Home] [Help]

PACKAGE: APPS.HR_FGI_BUS

Source


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