1 Package pqh_trl_bus AUTHID CURRENT_USER as
2 /* $Header: pqtrlrhi.pkh 115.1 2002/12/12 21:39:34 rpasapul ship $ */
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 and
29 -- should ideally (unless really necessary) just be straight procedure or
30 -- 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 pqh_trl_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 -- Developer Implementation Notes:
64 -- For update, your business rules should be executed from this procedure and
65 -- should ideally (unless really necessary) just be straight procedure or
66 -- function calls. Try and avoid using conditional branching logic.
67 --
68 -- Access Status:
69 -- Internal Row Handler Use Only.
70 --
71 -- {End Of Comments}
72 -- ----------------------------------------------------------------------------
73 Procedure update_validate
74 (p_rec in pqh_trl_shd.g_rec_type
75 );
76 --
77 -- ----------------------------------------------------------------------------
78 -- |---------------------------< delete_validate >----------------------------|
79 -- ----------------------------------------------------------------------------
80 -- {Start Of Comments}
81 --
82 -- Description:
83 -- This procedure controls the execution of all delete business rules
84 -- validation.
85 --
86 -- Prerequisites:
87 -- This private procedure is called from del procedure.
88 --
89 -- In Parameters:
90 -- A Pl/Sql record structure.
91 --
92 -- Post Success:
93 -- Processing continues.
94 --
95 -- Post Failure:
96 -- If a business rules fails the error will not be handled by this procedure
97 -- unless explicity coded.
98 --
99 -- Developer Implementation Notes:
100 -- For delete, your business rules should be executed from this procedure and
101 -- should ideally (unless really necessary) just be straight procedure or
102 -- function calls. Try and avoid using conditional branching logic.
103 --
104 -- Access Status:
105 -- Internal Row Handler Use Only.
106 --
107 --
108 -- ----------------------------------------------------------------------------
109 Procedure delete_validate
110 (p_rec in pqh_trl_shd.g_rec_type
111 );
112 --
113 end pqh_trl_bus;