1 Package ben_psg_bus as
2 /* $Header: bepsgrhi.pkh 120.0 2005/09/29 06:18:42 ssarkar noship $ */
3 --
4 --
5 -- ----------------------------------------------------------------------------
6 -- |---------------------------< insert_validate >----------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start of comments}
9 --
10 -- Description:
11 -- This procedure controls the execution of all insert business rules
12 -- validation.
13 --
14 -- Prerequisites:
15 -- This private procedure is called from ins procedure.
16 --
17 -- In Parameters:
18 -- A Pl/Sql record structure.
19 --
20 -- Post Success:
21 -- Processing continues.
22 --
23 -- Post Failure:
24 -- If a business rules fails the error will not be handled by this procedure
25 -- unless explicity coded.
26 --
27 -- Developer Implementation Notes:
28 -- For insert, your business rules should be executed from this procedure
29 -- and should ideally (unless really necessary) just be straight procedure
30 -- or function calls. Try and avoid using conditional branching logic.
31 --
32 -- Access Status:
33 -- Internal Row Handler Use Only.
34 --
35 -- {End of comments}
36 -- ----------------------------------------------------------------------------
37 Procedure insert_validate
38 (p_rec in ben_psg_shd.g_rec_type
39 );
40 --
41 -- ----------------------------------------------------------------------------
42 -- |---------------------------< update_validate >----------------------------|
43 -- ----------------------------------------------------------------------------
44 -- {Start Of Comments}
45 --
46 -- Description:
47 -- This procedure controls the execution of all update business rules
48 -- validation.
49 --
50 -- Prerequisites:
51 -- This private procedure is called from upd procedure.
52 --
53 -- In Parameters:
54 -- A Pl/Sql record structure.
55 --
56 -- Post Success:
57 -- Processing continues.
58 --
59 -- Post Failure:
60 -- If a business rules fails the error will not be handled by this procedure
61 -- unless explicity coded.
62 --
63 -- Access Status:
64 -- Internal Row Handler Use Only.
65 --
66 -- {End Of Comments}
67 -- ----------------------------------------------------------------------------
68 Procedure update_validate
69 (p_rec in ben_psg_shd.g_rec_type
70 );
71 --
72 -- ----------------------------------------------------------------------------
73 -- |---------------------------< delete_validate >----------------------------|
74 -- ----------------------------------------------------------------------------
75 -- {Start Of Comments}
76 --
77 -- Description:
78 -- This procedure controls the execution of all delete business rules
79 -- validation.
80 --
81 -- Prerequisites:
82 -- This private procedure is called from del 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 -- Developer Implementation Notes:
95 -- For delete, your business rules should be executed from this procedure
96 -- and should ideally (unless really necessary) just be straight procedure
97 -- or function calls. Try and avoid using conditional branching logic.
98 --
99 -- Access Status:
100 -- Internal Row Handler Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure delete_validate
105 (p_rec in ben_psg_shd.g_rec_type
106 );
107 --
108 end ben_psg_bus;