DBA Data[Home] [Help]

APPS.HR_APPROVAL_SS dependencies on HR_TRANS_HISTORY_API

Line 265: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);

261: -- block update the approval action history
262: begin
263: if(lv_result_code ='APPROVED') then
264: if g_debug then
265: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);
266: end if;
267: -- use the new routing api's to handle archive
268: hr_trans_history_api.archive_approve(c_transaction_id,
269: wf_engine.context_nid,

Line 268: hr_trans_history_api.archive_approve(c_transaction_id,

264: if g_debug then
265: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);
266: end if;
267: -- use the new routing api's to handle archive
268: hr_trans_history_api.archive_approve(c_transaction_id,
269: wf_engine.context_nid,
270: wf_engine.context_user,
271: lv_comments);
272:

Line 275: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);

271: lv_comments);
272:
273: elsif(lv_result_code='RESUBMIT') then
274: if g_debug then
275: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);
276: end if;
277: -- use the new routing api's to handle archive
278: hr_trans_history_api.archive_resubmit(c_transaction_id,
279: wf_engine.context_nid,

Line 278: hr_trans_history_api.archive_resubmit(c_transaction_id,

274: if g_debug then
275: hr_utility.set_location('calling hr_trans_history_api.archive_approve',4);
276: end if;
277: -- use the new routing api's to handle archive
278: hr_trans_history_api.archive_resubmit(c_transaction_id,
279: wf_engine.context_nid,
280: wf_engine.context_user,
281: wf_engine.GetItemAttrText(
282: p_item_type

Line 288: hr_utility.set_location('calling hr_trans_history_api.archive_reject',5);

284: ,'APPROVAL_COMMENT_COPY'));
285: elsif(lv_result_code='REJECTED') then
286:
287: if g_debug then
288: hr_utility.set_location('calling hr_trans_history_api.archive_reject',5);
289: end if;
290: -- archive the action to history
291: hr_trans_history_api.archive_reject(c_transaction_id,
292: wf_engine.context_nid,

Line 291: hr_trans_history_api.archive_reject(c_transaction_id,

287: if g_debug then
288: hr_utility.set_location('calling hr_trans_history_api.archive_reject',5);
289: end if;
290: -- archive the action to history
291: hr_trans_history_api.archive_reject(c_transaction_id,
292: wf_engine.context_nid,
293: wf_engine.context_user,
294: lv_comments);
295: elsif(lv_result_code='RETURNEDFORCORRECTION') then

Line 297: hr_utility.set_location('calling hr_trans_history_api.archive_rfc',6);

293: wf_engine.context_user,
294: lv_comments);
295: elsif(lv_result_code='RETURNEDFORCORRECTION') then
296: if g_debug then
297: hr_utility.set_location('calling hr_trans_history_api.archive_rfc',6);
298: end if;
299: -- archive the action to history
300: hr_trans_history_api.archive_rfc(c_transaction_id,
301: wf_engine.context_nid,

Line 300: hr_trans_history_api.archive_rfc(c_transaction_id,

296: if g_debug then
297: hr_utility.set_location('calling hr_trans_history_api.archive_rfc',6);
298: end if;
299: -- archive the action to history
300: hr_trans_history_api.archive_rfc(c_transaction_id,
301: wf_engine.context_nid,
302: wf_engine.context_user,
303: lv_comments);
304: --wf_engine.context_user_comment);

Line 307: hr_utility.set_location('calling hr_trans_history_api.archive_delete',7);

303: lv_comments);
304: --wf_engine.context_user_comment);
305: elsif(lv_result_code='DEL') then
306: if g_debug then
307: hr_utility.set_location('calling hr_trans_history_api.archive_delete',7);
308: end if;
309: -- archive the action to history
310: hr_trans_history_api.archive_delete(c_transaction_id,
311: wf_engine.context_nid,

Line 310: hr_trans_history_api.archive_delete(c_transaction_id,

306: if g_debug then
307: hr_utility.set_location('calling hr_trans_history_api.archive_delete',7);
308: end if;
309: -- archive the action to history
310: hr_trans_history_api.archive_delete(c_transaction_id,
311: wf_engine.context_nid,
312: wf_engine.context_user,
313: lv_comments);
314: end if;

Line 321: hr_trans_history_api.archive_forward(c_transaction_id,

317: raise;
318: end;
319: elsif( funmode = 'FORWARD' ) then
320: -- FORWARD - When a notification recipient forwards the notification.
321: hr_trans_history_api.archive_forward(c_transaction_id,
322: wf_engine.context_nid,
323: wf_engine.context_user,
324: wf_engine.context_user_comment);
325: null;

Line 328: hr_trans_history_api.archive_transfer(c_transaction_id,

324: wf_engine.context_user_comment);
325: null;
326: elsif( funmode = 'TRANSFER' ) then
327: -- TRANSFER - When a notification recipient transfers the notification.
328: hr_trans_history_api.archive_transfer(c_transaction_id,
329: wf_engine.context_nid,
330: wf_engine.context_user,
331: wf_engine.context_user_comment);
332: -- QUESTION

Line 334: hr_trans_history_api.archive_req_moreinfo(c_transaction_id,

330: wf_engine.context_user,
331: wf_engine.context_user_comment);
332: -- QUESTION
333: elsif( funmode = 'QUESTION' ) then
334: hr_trans_history_api.archive_req_moreinfo(c_transaction_id,
335: wf_engine.context_nid,
336: wf_engine.context_user,
337: wf_engine.context_user_comment);
338:

Line 340: hr_trans_history_api.archive_answer_moreinfo(c_transaction_id,

336: wf_engine.context_user,
337: wf_engine.context_user_comment);
338:
339: elsif( funmode = 'ANSWER' ) then
340: hr_trans_history_api.archive_answer_moreinfo(c_transaction_id,
341: wf_engine.context_nid,
342: wf_engine.context_user,
343: wf_engine.context_user_comment);
344: elsif( funmode = 'TIMEOUT' ) then

Line 354: hr_utility.set_location('calling hr_trans_history_api.archive_timeout',7);

350:
351: hr_multi_tenancy_pkg.set_context_for_person(l_cpersonId);
352: end if;
353: if g_debug then
354: hr_utility.set_location('calling hr_trans_history_api.archive_timeout',7);
355: end if;
356: lv_new_transaction := wf_engine.getitemattrtext(p_item_type,
357: p_item_key,
358: 'HR_NEW_TRANSACTION',true);

Line 373: hr_trans_history_api.archive_timeout(c_transaction_id,

369: when others then
370: null;
371: end;
372: -- archive the action to history
373: hr_trans_history_api.archive_timeout(c_transaction_id,
374: wf_engine.context_nid,
375: lv_recipient,
376: lv_comments);
377: end if;

Line 2948: hr_trans_history_api.archive_submit(c_transaction_id,

2944: -- use the new history API's
2945: -- add the code plugin transfer history
2946: c_transaction_id := wf_engine.getitemattrnumber(p_item_type,p_item_key,'TRANSACTION_ID');
2947: lv_comments := wf_engine.getitemattrtext(p_item_type,p_item_key,'APPROVAL_COMMENT_COPY');
2948: hr_trans_history_api.archive_submit(c_transaction_id,
2949: null,
2950: fnd_global.user_name,
2951: lv_comments);
2952:

Line 5581: hr_trans_history_api.archive_resubmit(p_transaction_id,

5577: -- check if not null value
5578: if(ln_notification_id is not null) then
5579: -- add the code plugin transfer history
5580: -- need to revisit as this is resubmit not submit action
5581: hr_trans_history_api.archive_resubmit(p_transaction_id,
5582: null,
5583: fnd_global.user_name,
5584: p_approval_comments);
5585: -- complete the notification