DBA Data[Home] [Help]

APPS.HR_TRV_UPD dependencies on HR_TRV_SHD

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

50: -- Internal Table Handler Use Only.
51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml(p_rec in out hr_trv_shd.g_rec_type) is
55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin

Line 62: hr_trv_shd.g_api_dml := true; -- Set the api dml status

58: Begin
59: hr_utility.set_location('Entering:'||l_proc, 5);
60: --
61: --
62: hr_trv_shd.g_api_dml := true; -- Set the api dml status
63: --
64: -- Update the hr_api_transaction_values Row
65: --
66: update hr_api_transaction_values

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

76: original_number_value = p_rec.original_number_value,
77: original_date_value = p_rec.original_date_value
78: where transaction_value_id = p_rec.transaction_value_id;
79: --
80: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
81: --
82: hr_utility.set_location(' Leaving:'||l_proc, 10);
83: --
84: Exception

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

83: --
84: Exception
85: When hr_api.check_integrity_violated Then
86: -- A check constraint has been violated
87: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
88: hr_trv_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated

Line 88: hr_trv_shd.constraint_error

84: Exception
85: When hr_api.check_integrity_violated Then
86: -- A check constraint has been violated
87: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
88: hr_trv_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated
92: hr_trv_shd.g_api_dml := false; -- Unset the api dml status

Line 92: hr_trv_shd.g_api_dml := false; -- Unset the api dml status

88: hr_trv_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated
92: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
93: hr_trv_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated

Line 93: hr_trv_shd.constraint_error

89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated
92: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
93: hr_trv_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated
97: hr_trv_shd.g_api_dml := false; -- Unset the api dml status

Line 97: hr_trv_shd.g_api_dml := false; -- Unset the api dml status

93: hr_trv_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated
97: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
98: hr_trv_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When Others Then
101: hr_trv_shd.g_api_dml := false; -- Unset the api dml status

Line 98: hr_trv_shd.constraint_error

94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated
97: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
98: hr_trv_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When Others Then
101: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
102: Raise;

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

97: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
98: hr_trv_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When Others Then
101: hr_trv_shd.g_api_dml := false; -- Unset the api dml status
102: Raise;
103: End update_dml;
104: --
105: -- ----------------------------------------------------------------------------

Line 137: Procedure pre_update(p_rec in hr_trv_shd.g_rec_type) is

133: -- Internal Table Handler Use Only.
134: --
135: -- {End Of Comments}
136: -- ----------------------------------------------------------------------------
137: Procedure pre_update(p_rec in hr_trv_shd.g_rec_type) is
138: --
139: l_proc varchar2(72) := g_package||'pre_update';
140: --
141: Begin

Line 179: Procedure post_update(p_rec in hr_trv_shd.g_rec_type) is

175: -- Internal Table Handler Use Only.
176: --
177: -- {End Of Comments}
178: -- ----------------------------------------------------------------------------
179: Procedure post_update(p_rec in hr_trv_shd.g_rec_type) is
180: --
181: l_proc varchar2(72) := g_package||'post_update';
182: --
183: Begin

Line 233: Procedure convert_defs(p_rec in out hr_trv_shd.g_rec_type) is

229: -- Internal Table Handler Use Only.
230: --
231: -- {End Of Comments}
232: -- ----------------------------------------------------------------------------
233: Procedure convert_defs(p_rec in out hr_trv_shd.g_rec_type) is
234: --
235: l_proc varchar2(72) := g_package||'convert_defs';
236: --
237: Begin

Line 248: hr_trv_shd.g_old_rec.transaction_step_id;

244: -- is being used then we must set to the 'current' argument value.
245: --
246: If (p_rec.transaction_step_id = hr_api.g_number) then
247: p_rec.transaction_step_id :=
248: hr_trv_shd.g_old_rec.transaction_step_id;
249: End If;
250: If (p_rec.datatype = hr_api.g_varchar2) then
251: p_rec.datatype :=
252: hr_trv_shd.g_old_rec.datatype;

Line 252: hr_trv_shd.g_old_rec.datatype;

248: hr_trv_shd.g_old_rec.transaction_step_id;
249: End If;
250: If (p_rec.datatype = hr_api.g_varchar2) then
251: p_rec.datatype :=
252: hr_trv_shd.g_old_rec.datatype;
253: End If;
254: If (p_rec.name = hr_api.g_varchar2) then
255: p_rec.name :=
256: hr_trv_shd.g_old_rec.name;

Line 256: hr_trv_shd.g_old_rec.name;

252: hr_trv_shd.g_old_rec.datatype;
253: End If;
254: If (p_rec.name = hr_api.g_varchar2) then
255: p_rec.name :=
256: hr_trv_shd.g_old_rec.name;
257: End If;
258: If (p_rec.varchar2_value = hr_api.g_varchar2) then
259: p_rec.varchar2_value :=
260: hr_trv_shd.g_old_rec.varchar2_value;

Line 260: hr_trv_shd.g_old_rec.varchar2_value;

256: hr_trv_shd.g_old_rec.name;
257: End If;
258: If (p_rec.varchar2_value = hr_api.g_varchar2) then
259: p_rec.varchar2_value :=
260: hr_trv_shd.g_old_rec.varchar2_value;
261: End If;
262: If (p_rec.number_value = hr_api.g_number) then
263: p_rec.number_value :=
264: hr_trv_shd.g_old_rec.number_value;

Line 264: hr_trv_shd.g_old_rec.number_value;

260: hr_trv_shd.g_old_rec.varchar2_value;
261: End If;
262: If (p_rec.number_value = hr_api.g_number) then
263: p_rec.number_value :=
264: hr_trv_shd.g_old_rec.number_value;
265: End If;
266: If (p_rec.date_value = hr_api.g_date) then
267: p_rec.date_value :=
268: hr_trv_shd.g_old_rec.date_value;

Line 268: hr_trv_shd.g_old_rec.date_value;

264: hr_trv_shd.g_old_rec.number_value;
265: End If;
266: If (p_rec.date_value = hr_api.g_date) then
267: p_rec.date_value :=
268: hr_trv_shd.g_old_rec.date_value;
269: End If;
270: If (p_rec.original_varchar2_value = hr_api.g_varchar2) then
271: p_rec.original_varchar2_value :=
272: hr_trv_shd.g_old_rec.original_varchar2_value;

Line 272: hr_trv_shd.g_old_rec.original_varchar2_value;

268: hr_trv_shd.g_old_rec.date_value;
269: End If;
270: If (p_rec.original_varchar2_value = hr_api.g_varchar2) then
271: p_rec.original_varchar2_value :=
272: hr_trv_shd.g_old_rec.original_varchar2_value;
273: End If;
274: If (p_rec.original_number_value = hr_api.g_number) then
275: p_rec.original_number_value :=
276: hr_trv_shd.g_old_rec.original_number_value;

Line 276: hr_trv_shd.g_old_rec.original_number_value;

272: hr_trv_shd.g_old_rec.original_varchar2_value;
273: End If;
274: If (p_rec.original_number_value = hr_api.g_number) then
275: p_rec.original_number_value :=
276: hr_trv_shd.g_old_rec.original_number_value;
277: End If;
278: If (p_rec.original_date_value = hr_api.g_date) then
279: p_rec.original_date_value :=
280: hr_trv_shd.g_old_rec.original_date_value;

Line 280: hr_trv_shd.g_old_rec.original_date_value;

276: hr_trv_shd.g_old_rec.original_number_value;
277: End If;
278: If (p_rec.original_date_value = hr_api.g_date) then
279: p_rec.original_date_value :=
280: hr_trv_shd.g_old_rec.original_date_value;
281: End If;
282: --
283: hr_utility.set_location(' Leaving:'||l_proc, 10);
284: --

Line 292: p_rec in out hr_trv_shd.g_rec_type,

288: -- |---------------------------------< upd >----------------------------------|
289: -- ----------------------------------------------------------------------------
290: Procedure upd
291: (
292: p_rec in out hr_trv_shd.g_rec_type,
293: p_validate in boolean default false
294: ) is
295: --
296: l_proc varchar2(72) := g_package||'upd';

Line 312: hr_trv_shd.lck

308: End If;
309: --
310: -- We must lock the row which we need to update.
311: --
312: hr_trv_shd.lck
313: (
314: p_rec.transaction_value_id
315: );
316: --

Line 372: l_rec hr_trv_shd.g_rec_type;

368: p_original_date_value in date default hr_api.g_date,
369: p_validate in boolean default false
370: ) is
371: --
372: l_rec hr_trv_shd.g_rec_type;
373: l_proc varchar2(72) := g_package||'upd';
374: --
375: Begin
376: hr_utility.set_location('Entering:'||l_proc, 5);

Line 382: hr_trv_shd.convert_args

378: -- Call conversion function to turn arguments into the
379: -- l_rec structure.
380: --
381: l_rec :=
382: hr_trv_shd.convert_args
383: (
384: p_transaction_value_id,
385: p_transaction_step_id,
386: p_datatype,