DBA Data[Home] [Help]

PACKAGE: APPS.PER_ABB_BUS

Source


1 Package per_abb_bus as
2 /* $Header: peabbrhi.pkh 120.2 2006/03/03 02:14 bshukla 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_absence_attendance_type_id
14 --     already exists.
15 --
16 --  In Arguments:
17 --    p_absence_attendance_type_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_absence_attendance_type_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 out nocopy per_abb_shd.g_rec_type
70   );
71 --
72 -- ----------------------------------------------------------------------------
73 -- |---------------------------< update_validate >----------------------------|
74 -- ----------------------------------------------------------------------------
75 -- {Start Of Comments}
76 --
77 -- Description:
78 --   This procedure controls the execution of all update business rules
79 --   validation.
80 --
81 -- Prerequisites:
82 --   This private procedure is called from upd procedure.
83 --
84 -- In Parameters:
85 --   A Pl/Sql record structure.
86 --
87 -- Post Success:
88 --   Processing continues.
89 --
90 -- Post Failure:
91 --   If a business rules fails the error will not be handled by this procedure
92 --   unless explicity coded.
93 --
94 -- Access Status:
95 --   Internal Row Handler Use Only.
96 --
97 -- {End Of Comments}
98 -- ----------------------------------------------------------------------------
99 Procedure update_validate
100   (p_rec                          in out nocopy per_abb_shd.g_rec_type
101   );
102 --
103 -- ----------------------------------------------------------------------------
104 -- |---------------------------< delete_validate >----------------------------|
105 -- ----------------------------------------------------------------------------
106 -- {Start Of Comments}
107 --
108 -- Description:
109 --   This procedure controls the execution of all delete business rules
110 --   validation.
111 --
112 -- Prerequisites:
113 --   This private procedure is called from del 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 delete, your business rules should be executed from this procedure
127 --   and should ideally (unless really necessary) just be straight procedure
128 --   or 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 delete_validate
136   (p_rec              in per_abb_shd.g_rec_type
137   );
138 --
139 end per_abb_bus;