DBA Data[Home] [Help]

PACKAGE: APPS.BEN_XCV_BUS

Source


1 Package ben_xcv_bus as
2 /* $Header: bexcvrhi.pkh 120.0 2005/05/28 12:28:09 appldev noship $ */
3 
4 --
5 -- ---------------------------------------------------------------------------
6 -- |----------------------< set_security_group_id >--------------------------|
7 -- ---------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 --  Description:
11 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
12 --    group context.
13 --    It is only valid to call this procedure when the primary key
14 --    is within a buisiness group context.
15 --
16 --  Prerequisites:
17 --    The primary key identified by p_ext_crit_val_id
18 --     already exists.
19 --
20 --  In Arguments:
21 --    p_ext_crit_val_id
22 --
23 --
24 --  Post Success:
25 --    The security_group_id will be set in CLIENT_INFO.
26 --
27 --  Post Failure:
28 --    An error is raised if the value does not exist.
29 --    An error is also raised when the primary key data is outside
30 --    of a buisiness group context.
31 --
32 --  Access Status:
33 --    Internal Development Use Only.
34 --
35 -- {End Of Comments}
36 -- ---------------------------------------------------------------------------
37 procedure set_security_group_id
38   (p_ext_crit_val_id                in number
39   );
40 
41 --
42 --
43 --  ---------------------------------------------------------------------------
44 --  |---------------------< return_legislation_code >-------------------------|
45 --  ---------------------------------------------------------------------------
46 --
47 --  Description:
48 --    Return the legislation code for a specific primary key value
49 --
50 --  Prerequisites:
51 --    The primary key identified by p_ext_crit_val_id already exists.
52 --
53 --  In Arguments:
54 --    p_ext_crit_val_id
55 --
56 --  Post Success:
57 --    If the value is found this function will return the values business
58 --    group legislation code.
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 function return_legislation_code
67   (p_ext_crit_val_id in number) 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 structre.
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(p_rec in ben_xcv_shd.g_rec_type,p_effective_date in date);
103 --
104 -- ----------------------------------------------------------------------------
105 -- |---------------------------< update_validate >----------------------------|
106 -- ----------------------------------------------------------------------------
107 -- {Start Of Comments}
108 --
109 -- Description:
110 --   This procedure controls the execution of all update business rules
111 --   validation.
112 --
113 -- Prerequisites:
114 --   This private procedure is called from upd procedure.
115 --
116 -- In Parameters:
117 --   A Pl/Sql record structre.
118 --
119 -- Post Success:
120 --   Processing continues.
121 --
122 -- Post Failure:
123 --   If a business rules fails the error will not be handled by this procedure
124 --   unless explicity coded.
125 --
126 -- Developer Implementation Notes:
127 --   For update, your business rules should be executed from this procedure and
128 --   should ideally (unless really necessary) just be straight procedure or
129 --   function calls. Try and avoid using conditional branching logic.
130 --
131 -- Access Status:
132 --   Internal Row Handler Use Only.
133 --
134 -- {End Of Comments}
135 -- ----------------------------------------------------------------------------
136 Procedure update_validate(p_rec in ben_xcv_shd.g_rec_type,p_effective_date in date);
137 --
138 -- ----------------------------------------------------------------------------
139 -- |---------------------------< delete_validate >----------------------------|
140 -- ----------------------------------------------------------------------------
141 -- {Start Of Comments}
142 --
143 -- Description:
144 --   This procedure controls the execution of all delete business rules
145 --   validation.
146 --
147 -- Prerequisites:
148 --   This private procedure is called from del procedure.
149 --
150 -- In Parameters:
151 --   A Pl/Sql record structre.
152 --
153 -- Post Success:
154 --   Processing continues.
155 --
156 -- Post Failure:
157 --   If a business rules fails the error will not be handled by this procedure
158 --   unless explicity coded.
159 --
160 -- Developer Implementation Notes:
161 --   For delete, your business rules should be executed from this procedure and
162 --   should ideally (unless really necessary) just be straight procedure or
163 --   function calls. Try and avoid using conditional branching logic.
164 --
165 -- Access Status:
166 --   Internal Row Handler Use Only.
167 --
168 -- {End Of Comments}
169 -- ----------------------------------------------------------------------------
170 Procedure delete_validate(p_rec in ben_xcv_shd.g_rec_type);
171 --
172 end ben_xcv_bus;