DBA Data[Home] [Help]

APPS.PQH_TAH_UPD dependencies on PQH_TAH_SHD

Line 55: (p_rec in out nocopy pqh_tah_shd.g_rec_type

51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml
55: (p_rec in out nocopy pqh_tah_shd.g_rec_type
56: ) is
57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --

Line 93: pqh_tah_shd.constraint_error

89: Exception
90: When hr_api.check_integrity_violated Then
91: -- A check constraint has been violated
92: --
93: pqh_tah_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.parent_integrity_violated Then
96: -- Parent integrity has been violated
97: --

Line 98: pqh_tah_shd.constraint_error

94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.parent_integrity_violated Then
96: -- Parent integrity has been violated
97: --
98: pqh_tah_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When hr_api.unique_integrity_violated Then
101: -- Unique integrity has been violated
102: --

Line 103: pqh_tah_shd.constraint_error

99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When hr_api.unique_integrity_violated Then
101: -- Unique integrity has been violated
102: --
103: pqh_tah_shd.constraint_error
104: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
105: When Others Then
106: --
107: Raise;

Line 143: (p_rec in pqh_tah_shd.g_rec_type

139: --
140: -- {End Of Comments}
141: -- ----------------------------------------------------------------------------
142: Procedure pre_update
143: (p_rec in pqh_tah_shd.g_rec_type
144: ) is
145: --
146: l_proc varchar2(72) := g_package||'pre_update';
147: --

Line 187: (p_rec in pqh_tah_shd.g_rec_type

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

Line 255: (p_rec in out nocopy pqh_tah_shd.g_rec_type

251: --
252: -- {End Of Comments}
253: -- ----------------------------------------------------------------------------
254: Procedure convert_defs
255: (p_rec in out nocopy pqh_tah_shd.g_rec_type
256: ) is
257: --
258: Begin
259: --

Line 267: pqh_tah_shd.g_old_rec.transaction_effective_date;

263: -- is being used then we must set to the 'current' argument value.
264: --
265: If (p_rec.transaction_effective_date = hr_api.g_date) then
266: p_rec.transaction_effective_date :=
267: pqh_tah_shd.g_old_rec.transaction_effective_date;
268: End If;
269: If (p_rec.action = hr_api.g_varchar2) then
270: p_rec.action :=
271: pqh_tah_shd.g_old_rec.action;

Line 271: pqh_tah_shd.g_old_rec.action;

267: pqh_tah_shd.g_old_rec.transaction_effective_date;
268: End If;
269: If (p_rec.action = hr_api.g_varchar2) then
270: p_rec.action :=
271: pqh_tah_shd.g_old_rec.action;
272: End If;
273: If (p_rec.user_name = hr_api.g_varchar2) then
274: p_rec.user_name :=
275: pqh_tah_shd.g_old_rec.user_name;

Line 275: pqh_tah_shd.g_old_rec.user_name;

271: pqh_tah_shd.g_old_rec.action;
272: End If;
273: If (p_rec.user_name = hr_api.g_varchar2) then
274: p_rec.user_name :=
275: pqh_tah_shd.g_old_rec.user_name;
276: End If;
277: If (p_rec.transaction_item_type = hr_api.g_varchar2) then
278: p_rec.transaction_item_type :=
279: pqh_tah_shd.g_old_rec.transaction_item_type;

Line 279: pqh_tah_shd.g_old_rec.transaction_item_type;

275: pqh_tah_shd.g_old_rec.user_name;
276: End If;
277: If (p_rec.transaction_item_type = hr_api.g_varchar2) then
278: p_rec.transaction_item_type :=
279: pqh_tah_shd.g_old_rec.transaction_item_type;
280: End If;
281: If (p_rec.transaction_item_key = hr_api.g_varchar2) then
282: p_rec.transaction_item_key :=
283: pqh_tah_shd.g_old_rec.transaction_item_key;

Line 283: pqh_tah_shd.g_old_rec.transaction_item_key;

279: pqh_tah_shd.g_old_rec.transaction_item_type;
280: End If;
281: If (p_rec.transaction_item_key = hr_api.g_varchar2) then
282: p_rec.transaction_item_key :=
283: pqh_tah_shd.g_old_rec.transaction_item_key;
284: End If;
285: If (p_rec.effective_date_option = hr_api.g_varchar2) then
286: p_rec.effective_date_option :=
287: pqh_tah_shd.g_old_rec.effective_date_option;

Line 287: pqh_tah_shd.g_old_rec.effective_date_option;

283: pqh_tah_shd.g_old_rec.transaction_item_key;
284: End If;
285: If (p_rec.effective_date_option = hr_api.g_varchar2) then
286: p_rec.effective_date_option :=
287: pqh_tah_shd.g_old_rec.effective_date_option;
288: End If;
289: If (p_rec.orig_system = hr_api.g_varchar2) then
290: p_rec.orig_system :=
291: pqh_tah_shd.g_old_rec.orig_system;

Line 291: pqh_tah_shd.g_old_rec.orig_system;

287: pqh_tah_shd.g_old_rec.effective_date_option;
288: End If;
289: If (p_rec.orig_system = hr_api.g_varchar2) then
290: p_rec.orig_system :=
291: pqh_tah_shd.g_old_rec.orig_system;
292: End If;
293: If (p_rec.orig_system_id = hr_api.g_number) then
294: p_rec.orig_system_id :=
295: pqh_tah_shd.g_old_rec.orig_system_id;

Line 295: pqh_tah_shd.g_old_rec.orig_system_id;

291: pqh_tah_shd.g_old_rec.orig_system;
292: End If;
293: If (p_rec.orig_system_id = hr_api.g_number) then
294: p_rec.orig_system_id :=
295: pqh_tah_shd.g_old_rec.orig_system_id;
296: End If;
297: If (p_rec.notification_id = hr_api.g_number) then
298: p_rec.notification_id :=
299: pqh_tah_shd.g_old_rec.notification_id;

Line 299: pqh_tah_shd.g_old_rec.notification_id;

295: pqh_tah_shd.g_old_rec.orig_system_id;
296: End If;
297: If (p_rec.notification_id = hr_api.g_number) then
298: p_rec.notification_id :=
299: pqh_tah_shd.g_old_rec.notification_id;
300: End If;
301: If (p_rec.user_comment = hr_api.g_varchar2) then
302: p_rec.user_comment :=
303: pqh_tah_shd.g_old_rec.user_comment;

Line 303: pqh_tah_shd.g_old_rec.user_comment;

299: pqh_tah_shd.g_old_rec.notification_id;
300: End If;
301: If (p_rec.user_comment = hr_api.g_varchar2) then
302: p_rec.user_comment :=
303: pqh_tah_shd.g_old_rec.user_comment;
304: End If;
305: --
306: End convert_defs;
307: --

Line 312: (p_rec in out nocopy pqh_tah_shd.g_rec_type

308: -- ----------------------------------------------------------------------------
309: -- |---------------------------------< upd >----------------------------------|
310: -- ----------------------------------------------------------------------------
311: Procedure upd
312: (p_rec in out nocopy pqh_tah_shd.g_rec_type
313: ) is
314: --
315: l_proc varchar2(72) := g_package||'upd';
316: --

Line 322: pqh_tah_shd.lck

318: hr_utility.set_location('Entering:'||l_proc, 5);
319: --
320: -- We must lock the row which we need to update.
321: --
322: pqh_tah_shd.lck
323: (p_rec.approval_history_id
324: ,p_rec.transaction_history_id
325: );
326: --

Line 377: l_rec pqh_tah_shd.g_rec_type;

373: ,p_notification_id in number default hr_api.g_number
374: ,p_user_comment in varchar2 default hr_api.g_varchar2
375: ) is
376: --
377: l_rec pqh_tah_shd.g_rec_type;
378: l_proc varchar2(72) := g_package||'upd';
379: --
380: Begin
381: hr_utility.set_location('Entering:'||l_proc, 5);

Line 387: pqh_tah_shd.convert_args

383: -- Call conversion function to turn arguments into the
384: -- l_rec structure.
385: --
386: l_rec :=
387: pqh_tah_shd.convert_args
388: (p_approval_history_id
389: ,p_transaction_history_id
390: ,p_transaction_effective_date
391: ,p_action