DBA Data[Home] [Help]

PACKAGE: APPS.OTA_TEA_BUS

Source


1 Package ota_tea_bus AUTHID CURRENT_USER as
2 /* $Header: ottea01t.pkh 115.2 2002/11/29 10:05:15 arkashya ship $ */
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 -- Pre Conditions:
14 --   This private procedure is called from ins procedure.
15 --
16 -- In Arguments:
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 coded within 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 Development Use Only.
33 --
34 -- {End Of Comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_validate(p_rec in ota_tea_shd.g_rec_type
37                          ,p_association_type in varchar2);
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 -- Pre Conditions:
49 --   This private procedure is called from upd procedure.
50 --
51 -- In Arguments:
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 coded within 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 Development Use Only.
68 --
69 -- {End Of Comments}
70 -- ----------------------------------------------------------------------------
71 Procedure update_validate(p_rec in ota_tea_shd.g_rec_type
72                          ,p_association_type in varchar2);
73 --
74 -- ----------------------------------------------------------------------------
75 -- |---------------------------< delete_validate >----------------------------|
76 -- ----------------------------------------------------------------------------
77 -- {Start Of Comments}
78 --
79 -- Description:
80 --   This procedure controls the execution of all delete business rules
81 --   validation.
82 --
83 -- Pre Conditions:
84 --   This private procedure is called from del procedure.
85 --
86 -- In Arguments:
87 --   A Pl/Sql record structre.
88 --
89 -- Post Success:
90 --   Processing continues.
91 --
92 -- Post Failure:
93 --   If a business rules fails the error will not be handled by this procedure
94 --   unless explicity coded.
95 --
96 -- Developer Implementation Notes:
97 --   For delete, your business rules should be coded within this procedure and
98 --   should ideally (unless really necessary) just be straight procedure or
99 --   function calls. Try and avoid using conditional branching logic.
100 --
101 -- Access Status:
102 --   Internal Development Use Only.
103 --
104 -- {End Of Comments}
105 -- ----------------------------------------------------------------------------
106 Procedure delete_validate(p_rec in ota_tea_shd.g_rec_type);
107 -- ----------------------------------------------------------------------------
108 Procedure client_check_event_customer (
109 	 p_event_association_id in number
110 	,p_event_id in number
111 	,p_customer_id in number);
112 -- ----------------------------------------------------------------------------
113 function derive_standard_price (
114 	 p_event_id		in number
115 	,p_business_group_id	in number
116 	,p_currency_code	in varchar2
117 	,p_booking_deal_type	in varchar2
118 	,p_customer_total_delegates in number
119 	,p_session_date		in date
120 	)
121 return number;
122 -- ----------------------------------------------------------------------------
123 function new_price_list_hit
124 	(p_event_id                     IN number
125 	,p_business_group_id            IN number
126 	,p_customer_total_delegates     IN number
127 	,p_customer_total_delegates_old IN number
128 	,p_session_date                 IN date
129 	,p_booking_deal_type            IN varchar2
130 	,p_booking_deal_id              IN number
131 	)
132 return boolean;
133 -- ----------------------------------------------------------------------------
134 function check_pre_purchase_agreement
135 	(p_booking_deal_id              IN number,
136 	 p_event_id                     IN number,
137 	 p_money_amount                 IN number,
138 	 p_finance_header_id            IN number) return boolean;
139 -- ----------------------------------------------------------------------------
140 function number_of_delegates (
141 	p_event IN number
142 	,p_customer IN number )
143 return number;
144 pragma restrict_references (number_of_delegates, WNPS,WNDS);
145 -- ----------------------------------------------------------------------------
146 --
147 end ota_tea_bus;