DBA Data[Home] [Help]

APPS.HR_TRANSACTION_SWI dependencies on WF_ENGINE

Line 1240: if(fnd_global.user_name=wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,

1236: elsif(p_transaction_status in ('Y','YS','RO','ROS' )) then
1237: -- case where approvers trying to edit
1238:
1239: -- check if the login person is the approver
1240: if(fnd_global.user_name=wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1241: lr_hr_api_transaction_rec.item_key,
1242: 'FORWARD_TO_USERNAME',true)) then
1243: -- check the profile if the system is configured for approvers editing
1244: IF ( nvl(fnd_profile.value('PQH_ALLOW_APPROVER_TO_EDIT_TXN'),'N') = 'Y' ) THEN

Line 1249: if(wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,

1245: -- add specific override logic here
1246: -- case 1: check the programatic overide for the flow
1247: -- wf item attribute HR_RESTRICT_EDIT_ATTR
1248:
1249: if(wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1250: lr_hr_api_transaction_rec.item_key,
1251: 'HR_RESTRICT_EDIT_ATTR',true)='Y') then
1252: editAllowed := 'N';
1253: return editAllowed;

Line 1425: /* wf_engine.CompleteActivity(

1421: -- hsundar: Delete any open SFL Notification for this txn
1422: hr_sflutil_ss.closesflnotifications(p_transaction_id,p_item_type,p_item_key);
1423:
1424: -- complete ntf with HR_V5_ALL_RESPONSES.del code
1425: /* wf_engine.CompleteActivity(
1426: p_item_Type
1427: , p_item_Key
1428: , wf_engine.getactivitylabel(ln_activity_id)
1429: , 'DEL') ; */

Line 1428: , wf_engine.getactivitylabel(ln_activity_id)

1424: -- complete ntf with HR_V5_ALL_RESPONSES.del code
1425: /* wf_engine.CompleteActivity(
1426: p_item_Type
1427: , p_item_Key
1428: , wf_engine.getactivitylabel(ln_activity_id)
1429: , 'DEL') ; */
1430: -- fix for bug 5328872
1431: wf_notification.setattrtext(
1432: ln_notification_id

Line 1452: wf_engine.eng_run,

1448:
1449: hr_transaction_ss.rollback_transaction(p_item_type,
1450: p_item_key,
1451: null,
1452: wf_engine.eng_run,
1453: lv_result);
1454: wf_engine.abortprocess(itemtype => p_item_type
1455: ,itemkey => p_item_key
1456: ,process =>null

Line 1454: wf_engine.abortprocess(itemtype => p_item_type

1450: p_item_key,
1451: null,
1452: wf_engine.eng_run,
1453: lv_result);
1454: wf_engine.abortprocess(itemtype => p_item_type
1455: ,itemkey => p_item_key
1456: ,process =>null
1457: ,result => wf_engine.eng_force
1458: ,verify_lock=> true

Line 1457: ,result => wf_engine.eng_force

1453: lv_result);
1454: wf_engine.abortprocess(itemtype => p_item_type
1455: ,itemkey => p_item_key
1456: ,process =>null
1457: ,result => wf_engine.eng_force
1458: ,verify_lock=> true
1459: ,cascade=> true);
1460: end if;
1461: else -- non workflow case

Line 1513: /* wf_engine.CompleteActivity(

1509: -- hsundar: Delete any open SFL Notification for this txn
1510: hr_sflutil_ss.closesflnotifications(p_transaction_id,p_item_type,p_item_key);
1511:
1512: -- complete ntf with HR_V5_ALL_RESPONSES.Reject code
1513: /* wf_engine.CompleteActivity(
1514: p_item_Type
1515: , p_item_Key
1516: , wf_engine.getactivitylabel(ln_activity_id)
1517: , 'REJECTED') ; */

Line 1516: , wf_engine.getactivitylabel(ln_activity_id)

1512: -- complete ntf with HR_V5_ALL_RESPONSES.Reject code
1513: /* wf_engine.CompleteActivity(
1514: p_item_Type
1515: , p_item_Key
1516: , wf_engine.getactivitylabel(ln_activity_id)
1517: , 'REJECTED') ; */
1518: -- fix for bug 5328872
1519: wf_notification.setattrtext(
1520: ln_notification_id

Line 1629: wf_engine.eng_run,

1625:
1626: hr_transaction_ss.rollback_transaction(lr_hr_api_transaction_rec.item_type,
1627: lr_hr_api_transaction_rec.item_key,
1628: null,
1629: wf_engine.eng_run,
1630: lv_result);
1631: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1632: ,itemkey => lr_hr_api_transaction_rec.item_key
1633: ,process =>null

Line 1631: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type

1627: lr_hr_api_transaction_rec.item_key,
1628: null,
1629: wf_engine.eng_run,
1630: lv_result);
1631: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1632: ,itemkey => lr_hr_api_transaction_rec.item_key
1633: ,process =>null
1634: ,result => wf_engine.eng_force
1635: ,verify_lock => true

Line 1634: ,result => wf_engine.eng_force

1630: lv_result);
1631: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1632: ,itemkey => lr_hr_api_transaction_rec.item_key
1633: ,process =>null
1634: ,result => wf_engine.eng_force
1635: ,verify_lock => true
1636: ,cascade => true);
1637: else
1638: -- non WF case