DBA Data[Home] [Help]

PACKAGE: APPS.BEN_EIV_BUS

Source


1 Package ben_eiv_bus AUTHID CURRENT_USER as
2 /* $Header: beeivrhi.pkh 120.0 2005/05/28 02:16:44 appldev noship $ */
3 --
4 -- ---------------------------------------------------------------------------
5 -- |---------------------< return_legislation_code >-------------------------|
6 -- ---------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 --  Description:
10 --    Return the legislation code for a specific primary key value
11 --
12 --  Prerequisites:
13 --    The primary key identified by p_extra_input_value_id
14 --     already exists.
15 --
16 --  In Arguments:
17 --    p_extra_input_value_id
18 --
19 --
20 --  Post Success:
21 --    The business group's legislation code will be returned.
22 --
23 --  Post Failure:
24 --    An error is raised if the value does not exist.
25 --
26 --  Access Status:
27 --    Internal Development Use Only.
28 --
29 -- {End Of Comments}
30 -- ---------------------------------------------------------------------------
31 FUNCTION return_legislation_code
32   (p_extra_input_value_id                 in     number
33   ) RETURN varchar2;
34 --
35 --
36 -- ----------------------------------------------------------------------------
37 -- |---------------------------< insert_validate >----------------------------|
38 -- ----------------------------------------------------------------------------
39 -- {Start of comments}
40 --
41 -- Description:
42 --   This procedure controls the execution of all insert business rules
43 --   validation.
44 --
45 -- Prerequisites:
46 --   This private procedure is called from ins procedure.
47 --
48 -- In Parameters:
49 --   A Pl/Sql record structure.
50 --
51 -- Post Success:
52 --   Processing continues.
53 --
54 -- Post Failure:
55 --   If a business rules fails the error will not be handled by this procedure
56 --   unless explicity coded.
57 --
58 -- Developer Implementation Notes:
59 --   For insert, your business rules should be executed from this procedure
60 --   and should ideally (unless really necessary) just be straight procedure
61 --   or function calls. Try and avoid using conditional branching logic.
62 --
63 -- Access Status:
64 --   Internal Row Handler Use Only.
65 --
66 -- {End of comments}
67 -- ----------------------------------------------------------------------------
68 Procedure insert_validate
69   (p_rec                          in ben_eiv_shd.g_rec_type
70   ,p_effective_date               in date
71   );
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< update_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start Of Comments}
77 --
78 -- Description:
79 --   This procedure controls the execution of all update business rules
80 --   validation.
81 --
82 -- Prerequisites:
83 --   This private procedure is called from upd procedure.
84 --
85 -- In Parameters:
86 --   A Pl/Sql record structure.
87 --
88 -- Post Success:
89 --   Processing continues.
90 --
91 -- Post Failure:
92 --   If a business rules fails the error will not be handled by this procedure
93 --   unless explicity coded.
94 --
95 -- Access Status:
96 --   Internal Row Handler Use Only.
97 --
98 -- {End Of Comments}
99 -- ----------------------------------------------------------------------------
100 Procedure update_validate
101   (p_rec                          in ben_eiv_shd.g_rec_type
102   ,p_effective_date               in date
103   );
104 --
105 -- ----------------------------------------------------------------------------
106 -- |---------------------------< delete_validate >----------------------------|
107 -- ----------------------------------------------------------------------------
108 -- {Start Of Comments}
109 --
110 -- Description:
111 --   This procedure controls the execution of all delete business rules
112 --   validation.
113 --
114 -- Prerequisites:
115 --   This private procedure is called from del 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 delete, your business rules should be executed from this procedure
129 --   and should ideally (unless really necessary) just be straight procedure
130 --   or 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 delete_validate
138   (p_rec              in ben_eiv_shd.g_rec_type
139   ,p_effective_date               in date
140   );
141 --
142 end ben_eiv_bus;