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