DBA Data[Home] [Help]

APPS.OTA_FNS_DEL dependencies on OTA_FNS_SHD

Line 52: (p_rec in ota_fns_shd.g_rec_type

48: --
49: -- {End Of Comments}
50: -- ----------------------------------------------------------------------------
51: Procedure delete_dml
52: (p_rec in ota_fns_shd.g_rec_type
53: ) is
54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --

Line 60: ota_fns_shd.g_api_dml := true; -- Set the api dml status

56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: ota_fns_shd.g_api_dml := true; -- Set the api dml status
61: --
62: -- Delete the ota_frm_notif_subscribers row.
63: --
64: delete from ota_frm_notif_subscribers

Line 69: ota_fns_shd.g_api_dml := false; -- Unset the api dml status

65: where forum_id = p_rec.forum_id
66: and (person_id is null or person_id = p_rec.person_id)
67: and (contact_id is null or contact_id = p_rec.contact_id);
68: --
69: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
70: --
71: hr_utility.set_location(' Leaving:'||l_proc, 10);
72: --
73: Exception

Line 76: ota_fns_shd.g_api_dml := false; -- Unset the api dml status

72: --
73: Exception
74: When hr_api.child_integrity_violated then
75: -- Child integrity has been violated
76: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
77: ota_fns_shd.constraint_error
78: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
79: When Others Then
80: ota_fns_shd.g_api_dml := false; -- Unset the api dml status

Line 77: ota_fns_shd.constraint_error

73: Exception
74: When hr_api.child_integrity_violated then
75: -- Child integrity has been violated
76: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
77: ota_fns_shd.constraint_error
78: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
79: When Others Then
80: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
81: Raise;

Line 80: ota_fns_shd.g_api_dml := false; -- Unset the api dml status

76: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
77: ota_fns_shd.constraint_error
78: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
79: When Others Then
80: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
81: Raise;
82: End delete_dml;
83: --
84: -- ----------------------------------------------------------------------------

Line 116: Procedure pre_delete(p_rec in ota_fns_shd.g_rec_type) is

112: -- Internal Row Handler Use Only.
113: --
114: -- {End Of Comments}
115: -- ----------------------------------------------------------------------------
116: Procedure pre_delete(p_rec in ota_fns_shd.g_rec_type) is
117: --
118: l_proc varchar2(72) := g_package||'pre_delete';
119: --
120: Begin

Line 158: Procedure post_delete(p_rec in ota_fns_shd.g_rec_type) is

154: -- Internal Row Handler Use Only.
155: --
156: -- {End Of Comments}
157: -- -----------------------------------------------------------------------------
158: Procedure post_delete(p_rec in ota_fns_shd.g_rec_type) is
159: --
160: l_proc varchar2(72) := g_package||'post_delete';
161: --
162: Begin

Line 174: => ota_fns_shd.g_old_rec.business_group_id

170: => p_rec.person_id
171: ,p_contact_id
172: => p_rec.contact_id
173: ,p_business_group_id_o
174: => ota_fns_shd.g_old_rec.business_group_id
175: ,p_object_version_number_o
176: => ota_fns_shd.g_old_rec.object_version_number
177: );
178: --

Line 176: => ota_fns_shd.g_old_rec.object_version_number

172: => p_rec.contact_id
173: ,p_business_group_id_o
174: => ota_fns_shd.g_old_rec.business_group_id
175: ,p_object_version_number_o
176: => ota_fns_shd.g_old_rec.object_version_number
177: );
178: --
179: exception
180: --

Line 196: (p_rec in ota_fns_shd.g_rec_type

192: -- ----------------------------------------------------------------------------
193: -- |---------------------------------< del >----------------------------------|
194: -- ----------------------------------------------------------------------------
195: Procedure del
196: (p_rec in ota_fns_shd.g_rec_type
197: ) is
198: --
199: l_proc varchar2(72) := g_package||'del';
200: --

Line 206: ota_fns_shd.lck

202: hr_utility.set_location('Entering:'||l_proc, 5);
203: --
204: -- We must lock the row which we need to delete.
205: --
206: ota_fns_shd.lck
207: (p_rec.forum_id
208: ,p_rec.person_id
209: ,p_rec.contact_id
210: ,p_rec.object_version_number

Line 247: l_rec ota_fns_shd.g_rec_type;

243: ,p_contact_id in number
244: ,p_object_version_number in number
245: ) is
246: --
247: l_rec ota_fns_shd.g_rec_type;
248: l_proc varchar2(72) := g_package||'del';
249: --
250: Begin
251: hr_utility.set_location('Entering:'||l_proc, 5);