DBA Data[Home] [Help]

PACKAGE: APPS.OTA_TPL_BUS

Source


1 Package ota_tpl_bus AUTHID CURRENT_USER as
2 /* $Header: ottpl01t.pkh 115.0 99/07/16 00:56:02 porting 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_tpl_shd.g_rec_type);
37 --
38 -- ----------------------------------------------------------------------------
39 -- |---------------------------< update_validate >----------------------------|
40 -- ----------------------------------------------------------------------------
41 -- {Start Of Comments}
42 --
43 -- Description:
44 --   This procedure controls the execution of all update business rules
45 --   validation.
46 --
47 -- Pre Conditions:
48 --   This private procedure is called from upd procedure.
49 --
50 -- In Arguments:
51 --   A Pl/Sql record structre.
52 --
53 -- Post Success:
54 --   Processing continues.
55 --
56 -- Post Failure:
57 --   If a business rules fails the error will not be handled by this procedure
58 --   unless explicity coded.
59 --
60 -- Developer Implementation Notes:
61 --   For update, your business rules should be coded within this procedure and
62 --   should ideally (unless really necessary) just be straight procedure or
63 --   function calls. Try and avoid using conditional branching logic.
64 --
65 -- Access Status:
66 --   Internal Development Use Only.
67 --
68 -- {End Of Comments}
69 -- ----------------------------------------------------------------------------
70 Procedure update_validate(p_rec in ota_tpl_shd.g_rec_type);
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 -- Pre Conditions:
82 --   This private procedure is called from del procedure.
83 --
84 -- In Arguments:
85 --   A Pl/Sql record structre.
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 coded within this procedure and
96 --   should ideally (unless really necessary) just be straight procedure or
97 --   function calls. Try and avoid using conditional branching logic.
98 --
99 -- Access Status:
100 --   Internal Development Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure delete_validate(p_rec in ota_tpl_shd.g_rec_type);
105 -- ici tpl.h
106 --***********************************************************
107 --			TPL: ADDITIONAL PUBLIC PROCEDURES
108 --***********************************************************
109 -- Version    Date     Author    	Reason
110 -- 10.9     19Apr95    lparient.FR	Suppressed close_down_price_list
111 --					Added change_price_list_dates
112 --***********************************************************
113 --
114 procedure copy_price_list (
115         p_tpl_id in number,
116         p_new_tpl_name in varchar2,
117         p_new_startdate in date,
118 	p_new_enddate in date,
119         p_price_increase in number,
120         p_rounding_direction in varchar2,
121 	p_rounding_factor in number);
122 --
123 procedure change_price_list_dates(
124         p_price_list_id in number,
125         p_new_startdate in date,
126         p_new_enddate in date,
127 	p_change_entries in char );
128 --
129 procedure check_single_name (
130 	p_price_list_id in number
131 	,p_name		in varchar2
132 	,p_business_group_id in number );
133 --
134 --**********************************************************
135 --**********************************************************
136 --
137 end ota_tpl_bus;