DBA Data[Home] [Help]

APPS.HXC_MAP_UPD dependencies on HXC_MAP_SHD

Line 57: (p_rec in out nocopy hxc_map_shd.g_rec_type

53: --
54: -- {End Of Comments}
55: -- ----------------------------------------------------------------------------
56: Procedure update_dml
57: (p_rec in out nocopy hxc_map_shd.g_rec_type
58: ) is
59: --
60: l_proc varchar2(72);
61: --

Line 73: hxc_map_shd.g_api_dml := true; -- Set the api dml status

69: --
70: -- Increment the object version
71: p_rec.object_version_number := p_rec.object_version_number + 1;
72: --
73: hxc_map_shd.g_api_dml := true; -- Set the api dml status
74: --
75: -- Update the hxc_mappings Row
76: --
77: update hxc_mappings

Line 87: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

83: ,last_update_date = sysdate
84: ,last_update_login = fnd_global.login_id
85: where mapping_id = p_rec.mapping_id;
86: --
87: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
88: --
89: if g_debug then
90: hr_utility.set_location(' Leaving:'||l_proc, 10);
91: end if;

Line 96: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

92: --
93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
97: hxc_map_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated

Line 97: hxc_map_shd.constraint_error

93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
97: hxc_map_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

Line 101: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

97: hxc_map_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
102: hxc_map_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated

Line 102: hxc_map_shd.constraint_error

98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
102: hxc_map_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

Line 106: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

102: hxc_map_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
107: hxc_map_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

Line 107: hxc_map_shd.constraint_error

103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
107: hxc_map_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;

Line 110: hxc_map_shd.g_api_dml := false; -- Unset the api dml status

106: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
107: hxc_map_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: hxc_map_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;
112: End update_dml;
113: --
114: -- ----------------------------------------------------------------------------

Line 147: (p_rec in hxc_map_shd.g_rec_type

143: --
144: -- {End Of Comments}
145: -- ----------------------------------------------------------------------------
146: Procedure pre_update
147: (p_rec in hxc_map_shd.g_rec_type
148: ) is
149: --
150: l_proc varchar2(72);
151: --

Line 196: (p_rec in hxc_map_shd.g_rec_type

192: --
193: -- {End Of Comments}
194: -- ----------------------------------------------------------------------------
195: Procedure post_update
196: (p_rec in hxc_map_shd.g_rec_type
197: ) is
198: --
199: l_proc varchar2(72);
200: --

Line 218: => hxc_map_shd.g_old_rec.name

214: => p_rec.name
215: ,p_object_version_number
216: => p_rec.object_version_number
217: ,p_name_o
218: => hxc_map_shd.g_old_rec.name
219: ,p_object_version_number_o
220: => hxc_map_shd.g_old_rec.object_version_number
221: );
222: --

Line 220: => hxc_map_shd.g_old_rec.object_version_number

216: => p_rec.object_version_number
217: ,p_name_o
218: => hxc_map_shd.g_old_rec.name
219: ,p_object_version_number_o
220: => hxc_map_shd.g_old_rec.object_version_number
221: );
222: --
223: exception
224: --

Line 282: (p_rec in out nocopy hxc_map_shd.g_rec_type

278: --
279: -- {End Of Comments}
280: -- ----------------------------------------------------------------------------
281: Procedure convert_defs
282: (p_rec in out nocopy hxc_map_shd.g_rec_type
283: ) is
284: --
285: Begin
286: --

Line 294: hxc_map_shd.g_old_rec.name;

290: -- is being used then we must set to the 'current' argument value.
291: --
292: If (p_rec.name = hr_api.g_varchar2) then
293: p_rec.name :=
294: hxc_map_shd.g_old_rec.name;
295: End If;
296: --
297: End convert_defs;
298: --

Line 303: (p_rec in out nocopy hxc_map_shd.g_rec_type

299: -- ----------------------------------------------------------------------------
300: -- |---------------------------------< upd >----------------------------------|
301: -- ----------------------------------------------------------------------------
302: Procedure upd
303: (p_rec in out nocopy hxc_map_shd.g_rec_type
304: ) is
305: --
306: l_proc varchar2(72);
307: --

Line 318: hxc_map_shd.lck

314: end if;
315: --
316: -- We must lock the row which we need to update.
317: --
318: hxc_map_shd.lck
319: (p_rec.mapping_id
320: ,p_rec.object_version_number
321: );
322: --

Line 358: l_rec hxc_map_shd.g_rec_type;

354: ,p_object_version_number in out nocopy number
355: ,p_name in varchar2 default hr_api.g_varchar2
356: ) is
357: --
358: l_rec hxc_map_shd.g_rec_type;
359: l_proc varchar2(72);
360: --
361: Begin
362: g_debug := hr_utility.debug_enabled;

Line 373: hxc_map_shd.convert_args

369: -- Call conversion function to turn arguments into the
370: -- l_rec structure.
371: --
372: l_rec :=
373: hxc_map_shd.convert_args
374: (p_mapping_id
375: ,p_name
376: ,p_object_version_number
377: );