DBA Data[Home] [Help]

PACKAGE: APPS.PER_PSO_BUS

Source


1 Package per_pso_bus as
2 /* $Header: pepsorhi.pkh 120.0 2005/05/31 15:23:06 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_security_organization_id already exists.
15 --
16 --  In Arguments:
17 --    p_security_organization_id
18 --
19 --  Post Success:
20 --    The security_group_id will be set in CLIENT_INFO.
21 --
22 --  Post Failure:
23 --    An error is raised if the value does not exist.
24 --
25 --  Access Status:
26 --    Internal Development Use Only.
27 --
28 -- {End Of Comments}
29 -- ---------------------------------------------------------------------------
30 procedure set_security_group_id
31   (p_security_organization_id             in number
32   ,p_associated_column1                   in varchar2 default null
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
43 --
44 --  Prerequisites:
45 --    The primary key identified by p_security_organization_id already exists.
46 --
47 --  In Arguments:
48 --    p_security_organization_id
49 --
50 --  Post Success:
51 --    The business group's legislation code will be returned.
52 --
53 --  Post Failure:
54 --    An error is raised if the value does not exist.
55 --
56 --  Access Status:
57 --    Internal Development Use Only.
58 --
59 -- {End Of Comments}
60 -- ---------------------------------------------------------------------------
61 FUNCTION return_legislation_code
62   (p_security_organization_id             in     number
63   ) RETURN varchar2;
64 --
65 --
66 -- ----------------------------------------------------------------------------
67 -- |---------------------------< insert_validate >----------------------------|
68 -- ----------------------------------------------------------------------------
69 -- {Start of comments}
70 --
71 -- Description:
72 --   This procedure controls the execution of all insert business rules
73 --   validation.
74 --
75 -- Prerequisites:
76 --   This private procedure is called from ins procedure.
77 --
78 -- In Parameters:
79 --   A Pl/Sql record structure.
80 --
81 -- Post Success:
82 --   Processing continues.
83 --
84 -- Post Failure:
85 --   If a business rules fails the error will not be handled by this procedure
86 --   unless explicity coded.
87 --
88 -- Developer Implementation Notes:
89 --   For insert, your business rules should be executed from this procedure
90 --   and should ideally (unless really necessary) just be straight procedure
91 --   or function calls. Try and avoid using conditional branching logic.
92 --
93 -- Access Status:
94 --   Internal Row Handler Use Only.
95 --
96 -- {End of comments}
97 -- ----------------------------------------------------------------------------
98 Procedure insert_validate
99   (p_rec                          in per_pso_shd.g_rec_type
100   );
101 --
102 -- ----------------------------------------------------------------------------
103 -- |---------------------------< update_validate >----------------------------|
104 -- ----------------------------------------------------------------------------
105 -- {Start Of Comments}
106 --
107 -- Description:
108 --   This procedure controls the execution of all update business rules
109 --   validation.
110 --
111 -- Prerequisites:
112 --   This private procedure is called from upd procedure.
113 --
114 -- In Parameters:
115 --   A Pl/Sql record structure.
116 --
117 -- Post Success:
118 --   Processing continues.
119 --
120 -- Post Failure:
121 --   If a business rules fails the error will not be handled by this procedure
122 --   unless explicity coded.
123 --
124 -- Access Status:
125 --   Internal Row Handler Use Only.
126 --
127 -- {End Of Comments}
128 -- ----------------------------------------------------------------------------
129 Procedure update_validate
130   (p_rec                          in per_pso_shd.g_rec_type
131   );
132 --
133 -- ----------------------------------------------------------------------------
134 -- |---------------------------< delete_validate >----------------------------|
135 -- ----------------------------------------------------------------------------
136 -- {Start Of Comments}
137 --
138 -- Description:
139 --   This procedure controls the execution of all delete business rules
140 --   validation.
141 --
142 -- Prerequisites:
143 --   This private procedure is called from del procedure.
144 --
145 -- In Parameters:
146 --   A Pl/Sql record structure.
147 --
148 -- Post Success:
149 --   Processing continues.
150 --
151 -- Post Failure:
152 --   If a business rules fails the error will not be handled by this procedure
153 --   unless explicity coded.
154 --
155 -- Developer Implementation Notes:
156 --   For delete, your business rules should be executed from this procedure
157 --   and should ideally (unless really necessary) just be straight procedure
158 --   or function calls. Try and avoid using conditional branching logic.
159 --
160 -- Access Status:
161 --   Internal Row Handler Use Only.
162 --
163 -- {End Of Comments}
164 -- ----------------------------------------------------------------------------
165 Procedure delete_validate
166   (p_rec              in per_pso_shd.g_rec_type
167   );
168 --
169 end per_pso_bus;