DBA Data[Home] [Help]

PACKAGE: APPS.OTA_TSR_BUS

Source


1 Package ota_tsr_bus as
2 /* $Header: ottsr01t.pkh 120.1 2006/02/13 02:49:09 jbharath noship $ */
3 
4 -- ---------------------------------------------------------------------------
5 -- |----------------------< set_security_group_id >--------------------------|
6 -- ---------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 --  Description:
10 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
11 --    group context.
12 --
13 --  Prerequisites:
14 --    The primary key identified by p_supplied_resource_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_supplied_resource_id
19 --
20 --
21 --  Post Success:
22 --    The security_group_id will be set in CLIENT_INFO.
23 --
24 --  Post Failure:
25 --    An error is raised if the value does not exist.
26 --
27 --  Access Status:
28 --    Internal Development Use Only.
29 --
30 -- {End Of Comments}
31 -- ---------------------------------------------------------------------------
32 procedure set_security_group_id
33   (p_supplied_resource_id                 in number
34   ,p_associated_column1                   in varchar2 default null
35   );
36 --
37 --
38 --
39 -- ----------------------------------------------------------------------------
40 -- |---------------------------< insert_validate >----------------------------|
41 -- ----------------------------------------------------------------------------
42 -- {Start Of Comments}
43 --
44 -- Description:
45 --   This procedure controls the execution of all insert business rules
46 --   validation.
47 --
48 -- Pre Conditions:
49 --   This private procedure is called from ins 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 insert, 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 insert_validate(p_rec in ota_tsr_shd.g_rec_type);
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< update_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start Of Comments}
77 --
78 -- Description:
79 --   This procedure controls the execution of all update business rules
80 --   validation.
81 --
82 -- Pre Conditions:
83 --   This private procedure is called from upd procedure.
84 --
85 -- In Arguments:
86 --   A Pl/Sql record structre.
87 --
88 -- Post Success:
89 --   Processing continues.
90 --
91 -- Post Failure:
92 --   If a business rules fails the error will not be handled by this procedure
93 --   unless explicity coded.
94 --
95 -- Developer Implementation Notes:
96 --   For update, your business rules should be coded within this procedure and
97 --   should ideally (unless really necessary) just be straight procedure or
98 --   function calls. Try and avoid using conditional branching logic.
99 --
100 -- Access Status:
101 --   Internal Development Use Only.
102 --
103 -- {End Of Comments}
104 -- ----------------------------------------------------------------------------
105 Procedure update_validate(p_rec in ota_tsr_shd.g_rec_type);
106 --
107 -- ----------------------------------------------------------------------------
108 -- |---------------------------< delete_validate >----------------------------|
109 -- ----------------------------------------------------------------------------
110 -- {Start Of Comments}
111 --
112 -- Description:
113 --   This procedure controls the execution of all delete business rules
114 --   validation.
115 --
116 -- Pre Conditions:
117 --   This private procedure is called from del procedure.
118 --
119 -- In Arguments:
120 --   A Pl/Sql record structre.
121 --
122 -- Post Success:
123 --   Processing continues.
124 --
125 -- Post Failure:
126 --   If a business rules fails the error will not be handled by this procedure
127 --   unless explicity coded.
128 --
129 -- Developer Implementation Notes:
130 --   For delete, your business rules should be coded within this procedure and
131 --   should ideally (unless really necessary) just be straight procedure or
132 --   function calls. Try and avoid using conditional branching logic.
133 --
134 -- Access Status:
135 --   Internal Development Use Only.
136 --
137 -- {End Of Comments}
138 -- ----------------------------------------------------------------------------
139 Procedure delete_validate(p_rec in ota_tsr_shd.g_rec_type);
140 --
141 -- ----------------------------------------------------------------------------
142 -- |-----------------------< return_legislation_code >-------------------------|
143 -- ----------------------------------------------------------------------------
144 --
145 -- {Start Of Comments}
146 --
147 -- Description:
148 --   This function will be used by the user hooks. This will be  used
149 --   of by the user hooks of ota_suppliable_resources business process.
150 --
151 -- Pre Conditions:
152 --   This function will be called by the user hook packages.
153 --
154 -- In Arguments:
155 --   SUPPLIED_RESOURCE_ID
156 --
157 -- Post Success:
158 --   Processing continues.
159 --
160 -- Post Failure:
161 --   Errors out
162 --
163 -- Developer Implementation Notes:
164 --
165 -- Access Status:
166 --   Internal Development Use Only.
167 --
168 -- {End Of Comments}
169 --------------------------------------------------------------------------------
170 --
171 
172 Function return_legislation_code
173          (  p_supplied_resource_id     in number
174           ) return varchar2;
175 
176 end ota_tsr_bus;