DBA Data[Home] [Help]

APPS.PV_OPPORTUNITY_VHUK dependencies on WF_ENGINE

Line 404: wf_engine.CreateProcess (ItemType => l_itemType,

400: return;
401: ELSE
402:
403: -- Once the parameters for workflow is validated, start the workflow
404: wf_engine.CreateProcess (ItemType => l_itemType,
405: ItemKey => l_itemKey,
406: process => g_wf_pcs_notify_party);
407:
408: wf_engine.SetItemUserKey (ItemType => l_itemType,

Line 408: wf_engine.SetItemUserKey (ItemType => l_itemType,

404: wf_engine.CreateProcess (ItemType => l_itemType,
405: ItemKey => l_itemKey,
406: process => g_wf_pcs_notify_party);
407:
408: wf_engine.SetItemUserKey (ItemType => l_itemType,
409: ItemKey => l_itemKey,
410: userKey => l_itemkey);
411:
412: /* Coomented out for the wf limitation of owner, that cannot be more than 30 chars

Line 414: wf_engine.SetItemOwner (ItemType => l_itemType,

410: userKey => l_itemkey);
411:
412: /* Coomented out for the wf limitation of owner, that cannot be more than 30 chars
413:
414: wf_engine.SetItemOwner (ItemType => l_itemType,
415: ItemKey => l_itemKey,
416: Owner => p_username);
417: */
418:

Line 419: wf_engine.SetItemAttrText (ItemType => l_itemType,

415: ItemKey => l_itemKey,
416: Owner => p_username);
417: */
418:
419: wf_engine.SetItemAttrText (ItemType => l_itemType,
420: ItemKey => l_itemKey,
421: aname => g_wf_attr_am_notify_role,
422: avalue => l_am_adhoc_role);
423:

Line 424: wf_engine.SetItemAttrText (ItemType => l_itemType,

420: ItemKey => l_itemKey,
421: aname => g_wf_attr_am_notify_role,
422: avalue => l_am_adhoc_role);
423:
424: wf_engine.SetItemAttrText (ItemType => l_itemType,
425: ItemKey => l_itemKey,
426: aname => g_wf_attr_cm_notify_role,
427: avalue => l_cm_adhoc_role);
428:

Line 429: wf_engine.SetItemAttrText (ItemType => l_itemType,

425: ItemKey => l_itemKey,
426: aname => g_wf_attr_cm_notify_role,
427: avalue => l_cm_adhoc_role);
428:
429: wf_engine.SetItemAttrText (ItemType => l_itemType,
430: ItemKey => l_itemKey,
431: aname => g_wf_attr_pt_notify_role,
432: avalue => l_pt_adhoc_role);
433:

Line 434: wf_engine.SetItemAttrText (ItemType => l_itemType,

430: ItemKey => l_itemKey,
431: aname => g_wf_attr_pt_notify_role,
432: avalue => l_pt_adhoc_role);
433:
434: wf_engine.SetItemAttrText (ItemType => l_itemType,
435: ItemKey => l_itemKey,
436: aname => g_wf_attr_ot_notify_role,
437: avalue => l_ot_adhoc_role);
438:

Line 439: wf_engine.SetItemAttrText (ItemType => l_itemType,

435: ItemKey => l_itemKey,
436: aname => g_wf_attr_ot_notify_role,
437: avalue => l_ot_adhoc_role);
438:
439: wf_engine.SetItemAttrText (ItemType => l_itemType,
440: ItemKey => l_itemKey,
441: aname => g_wf_attr_opp_number,
442: avalue => p_lead_number);
443:

Line 444: wf_engine.SetItemAttrText ( ItemType => l_itemType,

440: ItemKey => l_itemKey,
441: aname => g_wf_attr_opp_number,
442: avalue => p_lead_number);
443:
444: wf_engine.SetItemAttrText ( ItemType => l_itemType,
445: ItemKey => l_itemKey,
446: aname => g_wf_attr_customer_name,
447: avalue => p_customer_name);
448:

Line 449: wf_engine.SetItemAttrText ( ItemType => l_itemType,

445: ItemKey => l_itemKey,
446: aname => g_wf_attr_customer_name,
447: avalue => p_customer_name);
448:
449: wf_engine.SetItemAttrText ( ItemType => l_itemType,
450: ItemKey => l_itemKey,
451: aname => g_wf_attr_opp_amt,
452: avalue => p_opp_amt);
453:

Line 454: wf_engine.SetItemAttrText ( ItemType => l_itemType,

450: ItemKey => l_itemKey,
451: aname => g_wf_attr_opp_amt,
452: avalue => p_opp_amt);
453:
454: wf_engine.SetItemAttrText ( ItemType => l_itemType,
455: ItemKey => l_itemKey,
456: aname => g_wf_attr_opp_name,
457: avalue => p_opp_name);
458:

Line 459: wf_engine.SetItemAttrText ( ItemType => l_itemType,

455: ItemKey => l_itemKey,
456: aname => g_wf_attr_opp_name,
457: avalue => p_opp_name);
458:
459: wf_engine.SetItemAttrText ( ItemType => l_itemType,
460: ItemKey => l_itemKey,
461: aname => g_wf_attr_vendor_org_name,
462: avalue => p_vendor_org_name);
463:

Line 466: wf_engine.SetItemAttrText ( ItemType => l_itemType,

462: avalue => p_vendor_org_name);
463:
464: l_send_respond_url := fnd_profile.value('PV_WORKFLOW_RESPOND_SELF_SERVICE_URL');
465:
466: wf_engine.SetItemAttrText ( ItemType => l_itemType,
467: ItemKey => l_itemKey,
468: aname => g_wf_attr_send_url,
469: avalue => l_send_respond_url);
470:

Line 471: wf_engine.SetItemAttrText (ItemType => l_itemType,

467: ItemKey => l_itemKey,
468: aname => g_wf_attr_send_url,
469: avalue => l_send_respond_url);
470:
471: wf_engine.SetItemAttrText (ItemType => l_itemType,
472: ItemKey => l_itemKey,
473: aname => g_wf_attr_from_status,
474: avalue => p_from_status);
475:

Line 476: wf_engine.SetItemAttrText (ItemType => l_itemType,

472: ItemKey => l_itemKey,
473: aname => g_wf_attr_from_status,
474: avalue => p_from_status);
475:
476: wf_engine.SetItemAttrText (ItemType => l_itemType,
477: ItemKey => l_itemKey,
478: aname => g_wf_attr_to_status,
479: avalue => p_to_status);
480:

Line 481: wf_engine.SetItemAttrText (ItemType => l_itemType,

477: ItemKey => l_itemKey,
478: aname => g_wf_attr_to_status,
479: avalue => p_to_status);
480:
481: wf_engine.SetItemAttrText (ItemType => l_itemType,
482: ItemKey => l_itemKey,
483: aname => g_wf_attr_partner_name,
484: avalue => p_partner_names);
485:

Line 486: wf_engine.StartProcess (ItemType => l_itemType,

482: ItemKey => l_itemKey,
483: aname => g_wf_attr_partner_name,
484: avalue => p_partner_names);
485:
486: wf_engine.StartProcess (ItemType => l_itemType,
487: ItemKey => l_itemKey);
488:
489: -- Call the following procedure to see whether workflow was able to send notification successfully.
490: PV_ASSIGN_UTIL_PVT.checkforErrors

Line 665: wf_engine.CreateProcess ( ItemType => p_itemtype,

661: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
662: debug( 'After Createrole, withing Startworkflow');
663: END IF;
664:
665: wf_engine.CreateProcess ( ItemType => p_itemtype,
666: ItemKey => p_itemkey,
667: process => g_wf_pcs_notify_cm);
668:
669: wf_engine.SetItemUserKey ( itemType => p_itemtype,

Line 669: wf_engine.SetItemUserKey ( itemType => p_itemtype,

665: wf_engine.CreateProcess ( ItemType => p_itemtype,
666: ItemKey => p_itemkey,
667: process => g_wf_pcs_notify_cm);
668:
669: wf_engine.SetItemUserKey ( itemType => p_itemtype,
670: itemKey => p_itemkey,
671: userKey => p_itemkey);
672:
673: /* Coomented out for the wf limitation of owner, that cannot be more than 30 chars

Line 674: wf_engine.SetItemOwner ( ItemType => p_itemtype,

670: itemKey => p_itemkey,
671: userKey => p_itemkey);
672:
673: /* Coomented out for the wf limitation of owner, that cannot be more than 30 chars
674: wf_engine.SetItemOwner ( ItemType => p_itemtype,
675: ItemKey => p_itemkey,
676: Owner => p_creating_username);
677: */
678:

Line 679: wf_engine.SetItemAttrText ( itemtype => p_itemType,

675: ItemKey => p_itemkey,
676: Owner => p_creating_username);
677: */
678:
679: wf_engine.SetItemAttrText ( itemtype => p_itemType,
680: itemkey => p_itemKey,
681: aname => g_wf_attr_vendor_org_name,
682: avalue => l_vendor_org_name);
683:

Line 684: wf_engine.SetItemAttrText ( itemtype => p_itemType,

680: itemkey => p_itemKey,
681: aname => g_wf_attr_vendor_org_name,
682: avalue => l_vendor_org_name);
683:
684: wf_engine.SetItemAttrText ( itemtype => p_itemType,
685: itemkey => p_itemKey,
686: aname => g_wf_attr_lead_id,
687: avalue => p_lead_id);
688:

Line 689: wf_engine.SetItemAttrText ( itemtype => p_itemtype,

685: itemkey => p_itemKey,
686: aname => g_wf_attr_lead_id,
687: avalue => p_lead_id);
688:
689: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
690: itemkey => p_itemkey,
691: aname => g_wf_attr_opp_number,
692: avalue => p_lead_number);
693:

Line 694: wf_engine.SetItemAttrText ( itemtype => p_itemType,

690: itemkey => p_itemkey,
691: aname => g_wf_attr_opp_number,
692: avalue => p_lead_number);
693:
694: wf_engine.SetItemAttrText ( itemtype => p_itemType,
695: itemkey => p_itemKey,
696: aname => g_wf_attr_opp_name,
697: avalue => p_opp_name);
698:

Line 699: wf_engine.SetItemAttrText ( itemtype => p_itemtype,

695: itemkey => p_itemKey,
696: aname => g_wf_attr_opp_name,
697: avalue => p_opp_name);
698:
699: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
700: itemkey => p_itemkey,
701: aname => g_wf_attr_customer_name,
702: avalue => p_customer_name);
703:

Line 704: wf_engine.SetItemAttrText ( itemtype => p_itemType,

700: itemkey => p_itemkey,
701: aname => g_wf_attr_customer_name,
702: avalue => p_customer_name);
703:
704: wf_engine.SetItemAttrText ( itemtype => p_itemType,
705: itemkey => p_itemKey,
706: aname => g_wf_attr_notify_role,
707: avalue => l_role_Name);
708:

Line 709: wf_engine.SetItemAttrText ( itemtype => p_itemType,

705: itemkey => p_itemKey,
706: aname => g_wf_attr_notify_role,
707: avalue => l_role_Name);
708:
709: wf_engine.SetItemAttrText ( itemtype => p_itemType,
710: itemkey => p_itemKey,
711: aname => g_wf_attr_partner_id,
712: avalue => p_partner_id);
713:

Line 714: wf_engine.SetItemAttrText ( itemtype => p_itemType,

710: itemkey => p_itemKey,
711: aname => g_wf_attr_partner_id,
712: avalue => p_partner_id);
713:
714: wf_engine.SetItemAttrText ( itemtype => p_itemType,
715: itemkey => p_itemKey,
716: aname => g_wf_attr_partner_name,
717: avalue => p_partner_name);
718:

Line 721: wf_engine.SetItemAttrText ( itemtype => p_itemType,

717: avalue => p_partner_name);
718:
719: l_send_respond_url := fnd_profile.value('PV_WORKFLOW_RESPOND_SELF_SERVICE_URL');
720:
721: wf_engine.SetItemAttrText ( itemtype => p_itemType,
722: itemkey => p_itemKey,
723: aname => g_wf_attr_send_url,
724: avalue => l_send_respond_url);
725:

Line 726: wf_engine.StartProcess ( itemtype => p_itemtype,

722: itemkey => p_itemKey,
723: aname => g_wf_attr_send_url,
724: avalue => l_send_respond_url);
725:
726: wf_engine.StartProcess ( itemtype => p_itemtype,
727: itemkey => p_itemkey);
728:
729: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
730:

Line 731: debug('wf item attr '|| wf_engine.GetItemAttrText ( itemtype => p_itemType, itemkey => p_itemKey,

727: itemkey => p_itemkey);
728:
729: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
730:
731: debug('wf item attr '|| wf_engine.GetItemAttrText ( itemtype => p_itemType, itemkey => p_itemKey,
732: aname => g_wf_attr_send_url));
733: debug('End of Workflow process');
734:
735: END IF;

Line 1430: l_lead_id := wf_engine.GetItemAttrText ( itemtype => itemtype,

1426: END IF;
1427:
1428: IF (funcmode = 'RUN') then
1429:
1430: l_lead_id := wf_engine.GetItemAttrText ( itemtype => itemtype,
1431: itemkey => itemkey,
1432: aname => g_wf_attr_lead_id);
1433: OPEN lc_opp_amt(l_lead_id);
1434: FETCH lc_opp_amt INTO l_opp_amt, l_currency_code;

Line 1439: wf_engine.SetItemAttrText ( itemtype => itemtype,

1435: CLOSE lc_opp_amt;
1436:
1437: l_amt_cny := l_opp_amt||' '||l_currency_code;
1438:
1439: wf_engine.SetItemAttrText ( itemtype => itemtype,
1440: itemkey => itemkey,
1441: aname => g_wf_attr_opp_amt,
1442: avalue => l_amt_cny);
1443:

Line 2117: l_pt_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,

2113: if (funcmode = 'RUN') then
2114:
2115: l_context := itemtype || ':' || itemkey || ':' || actid;
2116:
2117: l_pt_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,
2118: itemkey => itemkey,
2119: aname => g_wf_attr_pt_notify_role);
2120:
2121: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN

Line 2125: l_cm_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,

2121: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
2122: Debug('Partner Role' || l_pt_adhoc_role);
2123: END IF;
2124:
2125: l_cm_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,
2126: itemkey => itemkey,
2127: aname => g_wf_attr_cm_notify_role);
2128:
2129: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN

Line 2133: l_ot_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,

2129: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
2130: Debug('CM Role' || l_cm_adhoc_role);
2131: END IF;
2132:
2133: l_ot_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,
2134: itemkey => itemkey,
2135: aname => g_wf_attr_ot_notify_role);
2136:
2137: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN

Line 2141: l_am_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,

2137: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
2138: Debug( 'Others Role' || l_ot_adhoc_role);
2139: END IF;
2140:
2141: l_am_adhoc_role := wf_engine.GetItemAttrText( itemtype => itemtype,
2142: itemkey => itemkey,
2143: aname => g_wf_attr_am_notify_role);
2144:
2145: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN

Line 2158: callback => 'wf_engine.cb',

2154: role => l_pt_adhoc_role,
2155: msg_type => 'PVOPTYHK',
2156: msg_name => l_pt_msg_name,
2157: due_date => null,
2158: callback => 'wf_engine.cb',
2159: context => l_context,
2160: send_comment => NULL,
2161: priority => NULL );
2162: END IF;

Line 2173: callback => 'wf_engine.cb',

2169: role => l_cm_adhoc_role,
2170: msg_type => 'PVOPTYHK',
2171: msg_name => l_cm_msg_name,
2172: due_date => null,
2173: callback => 'wf_engine.cb',
2174: context => l_context,
2175: send_comment => NULL,
2176: priority => NULL );
2177: END IF;

Line 2188: callback => 'wf_engine.cb',

2184: role => l_ot_adhoc_role,
2185: msg_type => 'PVOPTYHK',
2186: msg_name => l_ot_msg_name,
2187: due_date => null,
2188: callback => 'wf_engine.cb',
2189: context => l_context,
2190: send_comment => NULL,
2191: priority => NULL );
2192: END IF;

Line 2203: callback => 'wf_engine.cb',

2199: role => l_am_adhoc_role,
2200: msg_type => 'PVOPTYHK',
2201: msg_name => l_am_msg_name,
2202: due_date => null,
2203: callback => 'wf_engine.cb',
2204: context => l_context,
2205: send_comment => NULL,
2206: priority => NULL );
2207: