DBA Data[Home] [Help]

APPS.HR_TRANSACTION_SWI dependencies on WF_ENGINE

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

1054: from hr_api_transactions
1055: where transaction_id= p_transaction_id;
1056:
1057: if(lr_hr_api_transaction_rec.item_key IS NOT NULL) THEN
1058: if(wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1059: lr_hr_api_transaction_rec.item_key,
1060: 'HR_DEFER_COMMIT_ATTR',true)='Y' and fnd_profile.value('HR_CROSS_BUSINESS_GROUP')='N') then
1061:
1062: BEGIN

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

1109: close cur;
1110:
1111: if(lr_hr_api_transaction_rec.item_key IS NOT NULL) THEN
1112:
1113: if(wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1114: lr_hr_api_transaction_rec.item_key,
1115: 'HR_DEFER_COMMIT_ATTR',true)='Y' AND
1116: fnd_profile.value('HR_CROSS_BUSINESS_GROUP')='N') THEN
1117:

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

1385: elsif(p_transaction_status in ('Y','YS','RO','ROS' )) then
1386: -- case where approvers trying to edit
1387:
1388: -- check if the login person is the approver
1389: if(fnd_global.user_name=wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1390: lr_hr_api_transaction_rec.item_key,
1391: 'FORWARD_TO_USERNAME',true)) then
1392: -- check the profile if the system is configured for approvers editing
1393: IF ( nvl(fnd_profile.value('PQH_ALLOW_APPROVER_TO_EDIT_TXN'),'N') = 'Y' ) THEN

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

1394: -- add specific override logic here
1395: -- case 1: check the programatic overide for the flow
1396: -- wf item attribute HR_RESTRICT_EDIT_ATTR
1397:
1398: if(wf_engine.getitemattrtext(lr_hr_api_transaction_rec.item_type,
1399: lr_hr_api_transaction_rec.item_key,
1400: 'HR_RESTRICT_EDIT_ATTR',true)='Y') then
1401: editAllowed := 'N';
1402: return editAllowed;

Line 1583: /* wf_engine.CompleteActivity(

1579: -- hsundar: Delete any open SFL Notification for this txn
1580: hr_sflutil_ss.closesflnotifications(p_transaction_id,p_item_type,p_item_key);
1581:
1582: -- complete ntf with HR_V5_ALL_RESPONSES.del code
1583: /* wf_engine.CompleteActivity(
1584: p_item_Type
1585: , p_item_Key
1586: , wf_engine.getactivitylabel(ln_activity_id)
1587: , 'DEL') ; */

Line 1586: , wf_engine.getactivitylabel(ln_activity_id)

1582: -- complete ntf with HR_V5_ALL_RESPONSES.del code
1583: /* wf_engine.CompleteActivity(
1584: p_item_Type
1585: , p_item_Key
1586: , wf_engine.getactivitylabel(ln_activity_id)
1587: , 'DEL') ; */
1588: -- fix for bug 5328872
1589: wf_notification.setattrtext(
1590: ln_notification_id

Line 1610: wf_engine.eng_run,

1606:
1607: hr_transaction_ss.rollback_transaction(p_item_type,
1608: p_item_key,
1609: null,
1610: wf_engine.eng_run,
1611: lv_result);
1612: wf_engine.abortprocess(itemtype => p_item_type
1613: ,itemkey => p_item_key
1614: ,process =>null

Line 1612: wf_engine.abortprocess(itemtype => p_item_type

1608: p_item_key,
1609: null,
1610: wf_engine.eng_run,
1611: lv_result);
1612: wf_engine.abortprocess(itemtype => p_item_type
1613: ,itemkey => p_item_key
1614: ,process =>null
1615: ,result => wf_engine.eng_force
1616: ,verify_lock=> true

Line 1615: ,result => wf_engine.eng_force

1611: lv_result);
1612: wf_engine.abortprocess(itemtype => p_item_type
1613: ,itemkey => p_item_key
1614: ,process =>null
1615: ,result => wf_engine.eng_force
1616: ,verify_lock=> true
1617: ,cascade=> true);
1618: end if;
1619: else -- non workflow case

Line 1671: /* wf_engine.CompleteActivity(

1667: -- hsundar: Delete any open SFL Notification for this txn
1668: hr_sflutil_ss.closesflnotifications(p_transaction_id,p_item_type,p_item_key);
1669:
1670: -- complete ntf with HR_V5_ALL_RESPONSES.Reject code
1671: /* wf_engine.CompleteActivity(
1672: p_item_Type
1673: , p_item_Key
1674: , wf_engine.getactivitylabel(ln_activity_id)
1675: , 'REJECTED') ; */

Line 1674: , wf_engine.getactivitylabel(ln_activity_id)

1670: -- complete ntf with HR_V5_ALL_RESPONSES.Reject code
1671: /* wf_engine.CompleteActivity(
1672: p_item_Type
1673: , p_item_Key
1674: , wf_engine.getactivitylabel(ln_activity_id)
1675: , 'REJECTED') ; */
1676: -- fix for bug 5328872
1677: wf_notification.setattrtext(
1678: ln_notification_id

Line 1787: wf_engine.eng_run,

1783:
1784: hr_transaction_ss.rollback_transaction(lr_hr_api_transaction_rec.item_type,
1785: lr_hr_api_transaction_rec.item_key,
1786: null,
1787: wf_engine.eng_run,
1788: lv_result);
1789: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1790: ,itemkey => lr_hr_api_transaction_rec.item_key
1791: ,process =>null

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

1785: lr_hr_api_transaction_rec.item_key,
1786: null,
1787: wf_engine.eng_run,
1788: lv_result);
1789: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1790: ,itemkey => lr_hr_api_transaction_rec.item_key
1791: ,process =>null
1792: ,result => wf_engine.eng_force
1793: ,verify_lock => true

Line 1792: ,result => wf_engine.eng_force

1788: lv_result);
1789: wf_engine.abortprocess(itemtype => lr_hr_api_transaction_rec.item_type
1790: ,itemkey => lr_hr_api_transaction_rec.item_key
1791: ,process =>null
1792: ,result => wf_engine.eng_force
1793: ,verify_lock => true
1794: ,cascade => true);
1795: else
1796: -- non WF case

Line 2539: wf_engine.SetItemAttrText(itemtype => lv_item_type

2535: lv_item_type := lr_hr_api_transaction_rec.item_type;
2536: if(lv_item_type is null) then
2537: null; -- raise error
2538: else
2539: wf_engine.SetItemAttrText(itemtype => lv_item_type
2540: ,itemkey => lv_item_key
2541: ,aname => 'FYI_NTF_DETAILS'
2542: ,avalue => p_fyidet);
2543:

Line 2646: p_data := nvl(wf_engine.GetItemAttrText

2642: --
2643: END LOOP;
2644:
2645: if(itemkey IS NOT NULL) THEN
2646: p_data := nvl(wf_engine.GetItemAttrText
2647: (itemtype => itemtype
2648: ,itemkey => itemkey
2649: ,aname => 'ERROR_STACK'),' ') || p_data;
2650:

Line 2651: wf_engine.setitemattrtext

2647: (itemtype => itemtype
2648: ,itemkey => itemkey
2649: ,aname => 'ERROR_STACK'),' ') || p_data;
2650:
2651: wf_engine.setitemattrtext
2652: (itemtype => itemtype
2653: ,itemkey => itemkey
2654: ,aname => 'ERROR_STACK'
2655: ,avalue => substr(p_data,1,1999));