DBA Data[Home] [Help]

PACKAGE: APPS.PER_SBT_BUS

Source


1 Package per_sbt_bus AUTHID CURRENT_USER as
2 /* $Header: pesbtrhi.pkh 120.0 2005/05/31 20:43:20 appldev 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_subjects_taken_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_subjects_taken_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_subjects_taken_id                    in number
34   ,p_associated_column1                   in varchar2 default null
35   );
36 --
37 --
38 -- ----------------------------------------------------------------------------
39 -- |---------------------------< insert_validate >----------------------------|
40 -- ----------------------------------------------------------------------------
41 -- {Start of comments}
42 --
43 -- Description:
44 --   This procedure controls the execution of all insert business rules
45 --   validation.
46 --
47 -- Prerequisites:
48 --   This private procedure is called from ins procedure.
49 --
50 -- In Parameters:
51 --   A Pl/Sql record structure.
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 insert, your business rules should be executed from this procedure
62 --   and should ideally (unless really necessary) just be straight procedure
63 --   or function calls. Try and avoid using conditional branching logic.
64 --
65 -- Access Status:
66 --   Internal Row Handler Use Only.
67 --
68 -- {End of comments}
69 -- ----------------------------------------------------------------------------
70 Procedure insert_validate
71   (p_rec                          in per_sbt_shd.g_rec_type
72   );
73 --
74 -- ----------------------------------------------------------------------------
75 -- |---------------------------< update_validate >----------------------------|
76 -- ----------------------------------------------------------------------------
77 -- {Start Of Comments}
78 --
79 -- Description:
80 --   This procedure controls the execution of all update business rules
81 --   validation.
82 --
83 -- Prerequisites:
84 --   This private procedure is called from upd procedure.
85 --
86 -- In Parameters:
87 --   A Pl/Sql record structure.
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 -- Access Status:
97 --   Internal Row Handler Use Only.
98 --
99 -- {End Of Comments}
100 -- ----------------------------------------------------------------------------
101 Procedure update_validate
102   (p_rec                          in per_sbt_shd.g_rec_type
103   );
104 --
105 -- ----------------------------------------------------------------------------
106 -- |---------------------------< delete_validate >----------------------------|
107 -- ----------------------------------------------------------------------------
108 -- {Start Of Comments}
109 --
110 -- Description:
111 --   This procedure controls the execution of all delete business rules
112 --   validation.
113 --
114 -- Prerequisites:
115 --   This private procedure is called from del procedure.
116 --
117 -- In Parameters:
118 --   A Pl/Sql record structure.
119 --
120 -- Post Success:
121 --   Processing continues.
122 --
123 -- Post Failure:
124 --   If a business rules fails the error will not be handled by this procedure
125 --   unless explicity coded.
126 --
127 -- Developer Implementation Notes:
128 --   For delete, your business rules should be executed from this procedure
129 --   and should ideally (unless really necessary) just be straight procedure
130 --   or function calls. Try and avoid using conditional branching logic.
131 --
132 -- Access Status:
133 --   Internal Row Handler Use Only.
134 --
135 -- {End Of Comments}
136 -- ----------------------------------------------------------------------------
137 Procedure delete_validate
138   (p_rec              in per_sbt_shd.g_rec_type
139   );
140 --
141 end per_sbt_bus;