DBA Data[Home] [Help]

APPS.FF_ARC_UPD dependencies on FF_ARC_SHD

Line 54: Procedure update_dml(p_rec in out nocopy ff_arc_shd.g_rec_type) is

50: -- Internal Row Handler Use Only.
51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml(p_rec in out nocopy ff_arc_shd.g_rec_type) is
55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: l_last_update_date ff_archive_items.last_update_date%TYPE;
58: l_last_updated_by ff_archive_items.last_updated_by%TYPE;

Line 68: ff_arc_shd.g_api_dml := true; -- Set the api dml status

64: -- Increment the object version
65: --
66: p_rec.object_version_number := p_rec.object_version_number + 1;
67: --
68: ff_arc_shd.g_api_dml := true; -- Set the api dml status
69: --
70: -- Set the AOL Who Columns for the update.
71: --
72: l_last_update_date := sysdate;

Line 88: ff_arc_shd.g_api_dml := false; -- Unset the api dml status

84: last_update_login = l_last_update_login,
85: object_version_number = p_rec.object_version_number
86: where archive_item_id = p_rec.archive_item_id;
87: --
88: ff_arc_shd.g_api_dml := false; -- Unset the api dml status
89: --
90: hr_utility.set_location(' Leaving:'||l_proc, 10);
91: --
92: Exception

Line 95: ff_arc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 96: ff_arc_shd.constraint_error

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

Line 100: ff_arc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 101: ff_arc_shd.constraint_error

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

Line 105: ff_arc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 106: ff_arc_shd.constraint_error

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

Line 109: ff_arc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 145: Procedure pre_update(p_rec in ff_arc_shd.g_rec_type) is

141: -- Internal Row Handler Use Only.
142: --
143: -- {End Of Comments}
144: -- ----------------------------------------------------------------------------
145: Procedure pre_update(p_rec in ff_arc_shd.g_rec_type) is
146: --
147: l_proc varchar2(72) := g_package||'pre_update';
148: --
149: Begin

Line 187: Procedure post_update(p_rec in ff_arc_shd.g_rec_type) is

183: -- Internal Row Handler Use Only.
184: --
185: -- {End Of Comments}
186: -- ----------------------------------------------------------------------------
187: Procedure post_update(p_rec in ff_arc_shd.g_rec_type) is
188: --
189: l_proc varchar2(72) := g_package||'post_update';
190: --
191: Begin

Line 241: Procedure convert_defs(p_rec in out nocopy ff_arc_shd.g_rec_type) is

237: -- Internal Row Handler Use Only.
238: --
239: -- {End Of Comments}
240: -- ----------------------------------------------------------------------------
241: Procedure convert_defs(p_rec in out nocopy ff_arc_shd.g_rec_type) is
242: --
243: l_proc varchar2(72) := g_package||'convert_defs';
244: --
245: Begin

Line 256: ff_arc_shd.g_old_rec.user_entity_id;

252: -- is being used then we must set to the 'current' argument value.
253: --
254: If (p_rec.user_entity_id = hr_api.g_number) then
255: p_rec.user_entity_id :=
256: ff_arc_shd.g_old_rec.user_entity_id;
257: End If;
258: If (p_rec.context1 = hr_api.g_number) then
259: p_rec.context1 :=
260: ff_arc_shd.g_old_rec.context1;

Line 260: ff_arc_shd.g_old_rec.context1;

256: ff_arc_shd.g_old_rec.user_entity_id;
257: End If;
258: If (p_rec.context1 = hr_api.g_number) then
259: p_rec.context1 :=
260: ff_arc_shd.g_old_rec.context1;
261: End If;
262: If (p_rec.archive_type = hr_api.g_varchar2) then
263: p_rec.archive_type :=
264: ff_arc_shd.g_old_rec.archive_type;

Line 264: ff_arc_shd.g_old_rec.archive_type;

260: ff_arc_shd.g_old_rec.context1;
261: End If;
262: If (p_rec.archive_type = hr_api.g_varchar2) then
263: p_rec.archive_type :=
264: ff_arc_shd.g_old_rec.archive_type;
265: End If;
266: If (p_rec.value = hr_api.g_varchar2) then
267: p_rec.value :=
268: ff_arc_shd.g_old_rec.value;

Line 268: ff_arc_shd.g_old_rec.value;

264: ff_arc_shd.g_old_rec.archive_type;
265: End If;
266: If (p_rec.value = hr_api.g_varchar2) then
267: p_rec.value :=
268: ff_arc_shd.g_old_rec.value;
269: End If;
270:
271: --
272: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 281: p_rec in out nocopy ff_arc_shd.g_rec_type

277: -- |---------------------------------< upd >----------------------------------|
278: -- ----------------------------------------------------------------------------
279: Procedure upd
280: (
281: p_rec in out nocopy ff_arc_shd.g_rec_type
282: ) is
283: --
284: l_proc varchar2(72) := g_package||'upd';
285: --

Line 291: ff_arc_shd.lck

287: hr_utility.set_location('Entering:'||l_proc, 5);
288: --
289: -- We must lock the row which we need to update.
290: --
291: ff_arc_shd.lck
292: (
293: p_rec.archive_item_id,
294: p_rec.object_version_number
295: );

Line 329: l_rec ff_arc_shd.g_rec_type;

325: p_value in varchar2 default hr_api.g_varchar2,
326: p_object_version_number in out nocopy number
327: ) is
328: --
329: l_rec ff_arc_shd.g_rec_type;
330: l_proc varchar2(72) := g_package||'upd';
331: --
332: Begin
333: hr_utility.set_location('Entering:'||l_proc, 5);

Line 339: ff_arc_shd.convert_args

335: -- Call conversion function to turn arguments into the
336: -- l_rec structure.
337: --
338: l_rec :=
339: ff_arc_shd.convert_args
340: (
341: p_archive_item_id,
342: hr_api.g_number,
343: hr_api.g_varchar2,