DBA Data[Home] [Help]

APPS.PV_ASSIGNMENT_PVT dependencies on PV_WORKFLOW_PUB

Line 557: aname => pv_workflow_pub.g_wf_attr_partner_id), 0);

553:
554: l_partner_id := nvl(wf_engine.GetItemAttrNumber(
555: itemtype => p_itemtype,
556: itemkey => p_itemkey,
557: aname => pv_workflow_pub.g_wf_attr_partner_id), 0);
558:
559: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
560: fnd_message.Set_Name('PV', 'PV_DEBUG_MESSAGE');
561: fnd_message.Set_Token('TEXT', 'Get notify id for partner_id: ' || l_partner_id);

Line 1666: aname => pv_workflow_pub.g_wf_attr_opportunity_id);

1662:
1663:
1664: l_lead_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
1665: itemkey => p_itemkey,
1666: aname => pv_workflow_pub.g_wf_attr_opportunity_id);
1667:
1668: l_process_rule_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
1669: itemkey => p_itemkey,
1670: aname => pv_workflow_pub.g_wf_attr_process_rule_id);

Line 1670: aname => pv_workflow_pub.g_wf_attr_process_rule_id);

1666: aname => pv_workflow_pub.g_wf_attr_opportunity_id);
1667:
1668: l_process_rule_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
1669: itemkey => p_itemkey,
1670: aname => pv_workflow_pub.g_wf_attr_process_rule_id);
1671:
1672:
1673: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
1674: fnd_message.Set_Name('PV', 'PV_DEBUG_MESSAGE');

Line 1890: aname => pv_workflow_pub.g_wf_attr_matched_timeout,

1886: and wf_item_key = p_itemkey;
1887:
1888: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
1889: itemkey => p_itemkey,
1890: aname => pv_workflow_pub.g_wf_attr_matched_timeout,
1891: avalue => (l_due_date-sysdate)*60*24);
1892:
1893: wf_engine.SetItemAttrText( itemtype => p_itemtype,
1894: itemkey => p_itemkey,

Line 1895: aname => pv_workflow_pub.g_wf_attr_matched_timeout_dt,

1891: avalue => (l_due_date-sysdate)*60*24);
1892:
1893: wf_engine.SetItemAttrText( itemtype => p_itemtype,
1894: itemkey => p_itemkey,
1895: aname => pv_workflow_pub.g_wf_attr_matched_timeout_dt,
1896: avalue => l_GMT_time);
1897:
1898:
1899: ELSIF p_timeoutType = pv_assignment_pub.g_offered_timeout THEN

Line 1908: aname => pv_workflow_pub.g_wf_attr_offered_timeout,

1904: and wf_item_key = p_itemkey;
1905:
1906: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
1907: itemkey => p_itemkey,
1908: aname => pv_workflow_pub.g_wf_attr_offered_timeout,
1909: avalue => (l_due_date-sysdate)*60*24);
1910:
1911: wf_engine.SetItemAttrText( itemtype => p_itemtype,
1912: itemkey => p_itemkey,

Line 1913: aname => pv_workflow_pub.g_wf_attr_offered_timeout_dt,

1909: avalue => (l_due_date-sysdate)*60*24);
1910:
1911: wf_engine.SetItemAttrText( itemtype => p_itemtype,
1912: itemkey => p_itemkey,
1913: aname => pv_workflow_pub.g_wf_attr_offered_timeout_dt,
1914: avalue => l_GMT_time);
1915:
1916: END IF;
1917:

Line 2007: aname => pv_workflow_pub.g_wf_attr_assignment_type);

2003: x_return_status := FND_API.G_RET_STS_SUCCESS ;
2004:
2005: l_assignment_type := wf_engine.GetItemAttrText( itemtype => p_itemtype,
2006: itemkey => p_itemkey,
2007: aname => pv_workflow_pub.g_wf_attr_assignment_type);
2008:
2009: -- for joint, we are reusing the same role_name to send email to
2010: -- both CM_APP_FOR_PT partners and CM_APPROVED partners
2011: -- Therefore, do it in bypass/require pt approval check API

Line 2022: aname => pv_workflow_pub.g_wf_attr_partner_org,

2018: /*****************************************************/
2019:
2020: wf_engine.SetItemAttrText (itemtype => p_itemType,
2021: itemkey => p_itemKey,
2022: aname => pv_workflow_pub.g_wf_attr_partner_org,
2023: avalue => p_partner_org);
2024:
2025: /*****************************************************/
2026: /* set the partners id */

Line 2031: aname => pv_workflow_pub.g_wf_attr_partner_id,

2027: /*****************************************************/
2028:
2029: wf_engine.SetItemAttrText (itemtype => p_itemType,
2030: itemkey => p_itemKey,
2031: aname => pv_workflow_pub.g_wf_attr_partner_id,
2032: avalue => p_partner_id);
2033:
2034: end if;
2035:

Line 2172: aname => pv_workflow_pub.g_wf_attr_customer_id);

2168: x_return_status := FND_API.G_RET_STS_SUCCESS ;
2169:
2170: l_customer_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
2171: itemkey => p_itemkey,
2172: aname => pv_workflow_pub.g_wf_attr_customer_id);
2173:
2174: l_address_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
2175: itemkey => p_itemkey,
2176: aname => pv_workflow_pub.g_wf_attr_address_id);

Line 2176: aname => pv_workflow_pub.g_wf_attr_address_id);

2172: aname => pv_workflow_pub.g_wf_attr_customer_id);
2173:
2174: l_address_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
2175: itemkey => p_itemkey,
2176: aname => pv_workflow_pub.g_wf_attr_address_id);
2177:
2178: l_lead_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
2179: itemkey => p_itemkey,
2180: aname => pv_workflow_pub.g_wf_attr_opportunity_id);

Line 2180: aname => pv_workflow_pub.g_wf_attr_opportunity_id);

2176: aname => pv_workflow_pub.g_wf_attr_address_id);
2177:
2178: l_lead_id := wf_engine.GetItemAttrNumber(itemtype => p_itemtype,
2179: itemkey => p_itemkey,
2180: aname => pv_workflow_pub.g_wf_attr_opportunity_id);
2181:
2182: if p_partner_id is not null then
2183:
2184: open lc_get_pt_org_name( pc_partner_id => p_partner_id);

Line 2640: -- serial handled in pv_workflow_pub.serial_next_partner

2636: l_assignment_log_rec.WORKFLOW_ID := l_lead_workflow_id;
2637:
2638: if p_routing_stage = 'OFFERED' then
2639: if l_routing_type <> 'SERIAL' then
2640: -- serial handled in pv_workflow_pub.serial_next_partner
2641: for lrec in lc_get_offered_pt (pc_workflow_id => l_lead_workflow_id) loop
2642:
2643: l_assignment_log_rec.partner_id := lrec.partner_id;
2644: l_assignment_log_rec.lead_assignment_id := lrec.lead_assignment_id;

Line 2837: IF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_initiate_assignment THEN

2833: -- Initialize API return status to success
2834: x_return_status := FND_API.G_RET_STS_SUCCESS;
2835:
2836: -- Create Assignment Process
2837: IF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_initiate_assignment THEN
2838: wf_engine.CreateProcess ( ItemType => p_itemtype,
2839: ItemKey => p_itemkey,
2840: process => pv_workflow_pub.g_wf_pcs_initiate_assignment);
2841:

Line 2840: process => pv_workflow_pub.g_wf_pcs_initiate_assignment);

2836: -- Create Assignment Process
2837: IF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_initiate_assignment THEN
2838: wf_engine.CreateProcess ( ItemType => p_itemtype,
2839: ItemKey => p_itemkey,
2840: process => pv_workflow_pub.g_wf_pcs_initiate_assignment);
2841:
2842: wf_engine.SetItemUserKey (itemType => p_itemtype,
2843: itemKey => p_itemkey,
2844: userKey => p_itemkey);

Line 2849: aname => pv_workflow_pub.g_wf_attr_organization_type,

2845:
2846: -- Setting Org Type Attribute
2847: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2848: itemkey => p_itemkey,
2849: aname => pv_workflow_pub.g_wf_attr_organization_type,
2850: avalue => p_attrib_values_rec.org_type);
2851:
2852: -- Setting Partner Id attribute
2853: wf_engine.SetItemAttrText ( itemtype => p_itemtype,

Line 2855: aname => pv_workflow_pub.g_wf_attr_ext_org_party_id,

2851:
2852: -- Setting Partner Id attribute
2853: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2854: itemkey => p_itemkey,
2855: aname => pv_workflow_pub.g_wf_attr_ext_org_party_id,
2856: avalue => p_attrib_values_rec.pt_org_party_id);
2857:
2858: -- Setting bypass_cm_ok_flag attribute
2859: wf_engine.SetItemAttrText ( itemtype => p_itemtype,

Line 2861: aname => pv_workflow_pub.g_wf_attr_bypass_cm_approval,

2857:
2858: -- Setting bypass_cm_ok_flag attribute
2859: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2860: itemkey => p_itemkey,
2861: aname => pv_workflow_pub.g_wf_attr_bypass_cm_approval,
2862: avalue => p_attrib_values_rec.bypass_cm_ok_flag);
2863: -- Setting customer_id attribute
2864: wf_engine.SetItemAttrNumber ( itemtype => p_itemtype,
2865: itemkey => p_itemkey,

Line 2866: aname => pv_workflow_pub.g_wf_attr_customer_id,

2862: avalue => p_attrib_values_rec.bypass_cm_ok_flag);
2863: -- Setting customer_id attribute
2864: wf_engine.SetItemAttrNumber ( itemtype => p_itemtype,
2865: itemkey => p_itemkey,
2866: aname => pv_workflow_pub.g_wf_attr_customer_id,
2867: avalue => p_attrib_values_rec.customer_id);
2868: -- Setting Address Id attribute
2869: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
2870: itemkey => p_itemkey,

Line 2871: aname => pv_workflow_pub.g_wf_attr_address_id,

2867: avalue => p_attrib_values_rec.customer_id);
2868: -- Setting Address Id attribute
2869: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
2870: itemkey => p_itemkey,
2871: aname => pv_workflow_pub.g_wf_attr_address_id,
2872: avalue => p_attrib_values_rec.address_id);
2873:
2874: l_vendor_respond_url := fnd_profile.value('PV_WORKFLOW_RESPOND_SELF_SERVICE_URL');
2875: l_pt_respond_url := fnd_profile.value('PV_WORKFLOW_ISTORE_URL');

Line 2880: aname => pv_workflow_pub.g_wf_attr_cm_respond_url,

2876:
2877: -- Setting CM Respond URL Attribute
2878: wf_engine.SetItemAttrText ( itemtype => p_itemType,
2879: itemkey => p_itemKey,
2880: aname => pv_workflow_pub.g_wf_attr_cm_respond_url,
2881: avalue => l_vendor_respond_URL);
2882:
2883: -- Setting Partner Respond URL Attribute
2884: wf_engine.SetItemAttrText ( itemtype => p_itemType,

Line 2897: aname => pv_workflow_pub.g_wf_attr_process_rule_id,

2893:
2894: -- Setting Process Rule ID Attribute
2895: wf_engine.SetItemAttrNumber( itemtype => p_itemType,
2896: itemkey => p_itemKey,
2897: aname => pv_workflow_pub.g_wf_attr_process_rule_id,
2898: avalue => p_attrib_values_rec.process_rule_id);
2899:
2900:
2901: -- Channel Manager Withdrawing Active Opportunity

Line 2902: ELSIF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_withdraw_fyi THEN

2898: avalue => p_attrib_values_rec.process_rule_id);
2899:
2900:
2901: -- Channel Manager Withdrawing Active Opportunity
2902: ELSIF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_withdraw_fyi THEN
2903: wf_engine.CreateProcess ( ItemType => p_itemtype,
2904: ItemKey => p_itemkey,
2905: process => pv_workflow_pub.g_wf_pcs_withdraw_fyi);
2906: END IF;

Line 2905: process => pv_workflow_pub.g_wf_pcs_withdraw_fyi);

2901: -- Channel Manager Withdrawing Active Opportunity
2902: ELSIF p_attrib_values_rec.process_name = pv_workflow_pub.g_wf_pcs_withdraw_fyi THEN
2903: wf_engine.CreateProcess ( ItemType => p_itemtype,
2904: ItemKey => p_itemkey,
2905: process => pv_workflow_pub.g_wf_pcs_withdraw_fyi);
2906: END IF;
2907:
2908: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
2909: itemkey => p_itemkey,

Line 2910: aname => pv_workflow_pub.g_wf_attr_opportunity_id,

2906: END IF;
2907:
2908: wf_engine.SetItemAttrNumber( itemtype => p_itemtype,
2909: itemkey => p_itemkey,
2910: aname => pv_workflow_pub.g_wf_attr_opportunity_id,
2911: avalue => p_attrib_values_rec.lead_id);
2912:
2913: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2914: itemkey => p_itemkey,

Line 2915: aname => pv_workflow_pub.g_wf_attr_entity_name,

2911: avalue => p_attrib_values_rec.lead_id);
2912:
2913: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2914: itemkey => p_itemkey,
2915: aname => pv_workflow_pub.g_wf_attr_entity_name,
2916: avalue => p_attrib_values_rec.entity_name);
2917:
2918: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN
2919: fnd_message.Set_Name('PV', 'PV_DEBUG_MESSAGE');

Line 2925: aname => pv_workflow_pub.g_wf_attr_entity_amount,

2921: fnd_msg_pub.Add;
2922: END IF;
2923: wf_engine.SetItemAttrText( itemtype => p_itemtype,
2924: itemkey => p_itemkey,
2925: aname => pv_workflow_pub.g_wf_attr_entity_amount,
2926: avalue => p_attrib_values_rec.entity_amount);
2927:
2928:
2929: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW) THEN

Line 2937: aname => pv_workflow_pub.g_wf_attr_opp_number,

2933: END IF;
2934:
2935: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2936: itemkey => p_itemkey,
2937: aname => pv_workflow_pub.g_wf_attr_opp_number,
2938: avalue => p_attrib_values_rec.lead_number);
2939:
2940: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2941: itemkey => p_itemkey,

Line 2942: aname => pv_workflow_pub.g_wf_attr_customer_name,

2938: avalue => p_attrib_values_rec.lead_number);
2939:
2940: wf_engine.SetItemAttrText ( itemtype => p_itemtype,
2941: itemkey => p_itemkey,
2942: aname => pv_workflow_pub.g_wf_attr_customer_name,
2943: avalue => p_attrib_values_rec.customer_name);
2944:
2945: wf_engine.SetItemAttrText (itemtype => p_itemType,
2946: itemkey => p_itemKey,

Line 2947: aname => pv_workflow_pub.g_wf_attr_assignment_type,

2943: avalue => p_attrib_values_rec.customer_name);
2944:
2945: wf_engine.SetItemAttrText (itemtype => p_itemType,
2946: itemkey => p_itemKey,
2947: aname => pv_workflow_pub.g_wf_attr_assignment_type,
2948: avalue => p_attrib_values_rec.assignment_type);
2949:
2950: l_email_enabled := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
2951:

Line 2950: l_email_enabled := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);

2946: itemkey => p_itemKey,
2947: aname => pv_workflow_pub.g_wf_attr_assignment_type,
2948: avalue => p_attrib_values_rec.assignment_type);
2949:
2950: l_email_enabled := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
2951:
2952: wf_engine.SetItemAttrText ( itemtype => p_itemType,
2953: itemkey => p_itemKey,
2954: aname => pv_workflow_pub.g_wf_attr_email_enabled,

Line 2954: aname => pv_workflow_pub.g_wf_attr_email_enabled,

2950: l_email_enabled := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
2951:
2952: wf_engine.SetItemAttrText ( itemtype => p_itemType,
2953: itemkey => p_itemKey,
2954: aname => pv_workflow_pub.g_wf_attr_email_enabled,
2955: avalue => l_email_enabled);
2956:
2957:
2958:

Line 3598: aname => pv_workflow_pub.g_wf_attr_assignment_type);

3594: x_return_status := FND_API.G_RET_STS_SUCCESS ;
3595:
3596: l_assignment_type := wf_engine.GetItemAttrText(itemtype => p_itemtype,
3597: itemkey => p_itemkey,
3598: aname => pv_workflow_pub.g_wf_attr_assignment_type);
3599:
3600: l_lead_id := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,
3601: itemkey => p_itemkey,
3602: aname => pv_workflow_pub.g_wf_attr_opportunity_id);

Line 3602: aname => pv_workflow_pub.g_wf_attr_opportunity_id);

3598: aname => pv_workflow_pub.g_wf_attr_assignment_type);
3599:
3600: l_lead_id := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,
3601: itemkey => p_itemkey,
3602: aname => pv_workflow_pub.g_wf_attr_opportunity_id);
3603:
3604: l_email_enabled_flag := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
3605:
3606: l_rank := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,

Line 3604: l_email_enabled_flag := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);

3600: l_lead_id := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,
3601: itemkey => p_itemkey,
3602: aname => pv_workflow_pub.g_wf_attr_opportunity_id);
3603:
3604: l_email_enabled_flag := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
3605:
3606: l_rank := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,
3607: itemkey => p_itemkey,
3608: aname => pv_workflow_pub.g_wf_attr_current_serial_rank);

Line 3608: aname => pv_workflow_pub.g_wf_attr_current_serial_rank);

3604: l_email_enabled_flag := nvl(fnd_profile.value('PV_EMAIL_NOTIFICATION_FLAG'), pv_workflow_pub.g_wf_lkup_yes);
3605:
3606: l_rank := wf_engine.GetItemAttrNumber( itemtype => p_itemtype,
3607: itemkey => p_itemkey,
3608: aname => pv_workflow_pub.g_wf_attr_current_serial_rank);
3609:
3610:
3611: if l_email_enabled_flag = 'Y' then
3612:

Line 3658: AND l_assignment_type = pv_workflow_pub.g_wf_lkup_serial THEN

3654:
3655: if p_route_stage in (pv_assignment_pub.g_r_status_recycled, pv_assignment_pub.g_r_status_withdrawn) then
3656:
3657: IF p_route_stage = pv_assignment_pub.g_r_status_withdrawn
3658: AND l_assignment_type = pv_workflow_pub.g_wf_lkup_serial THEN
3659: l_ignore_pt_flag := 'N';
3660: ELSE
3661: l_ignore_pt_flag := 'Y';
3662: END IF;

Line 3696: l_assignment_type = pv_workflow_pub.g_wf_lkup_serial then

3692: elsif l_assignment_status = pv_assignment_pub.g_la_status_match_withdrawn and l_usertype = 'PT' then
3693: exit;
3694:
3695: elsif l_assignment_status = pv_assignment_pub.g_la_status_lost_chance and l_usertype = 'PT' and
3696: l_assignment_type = pv_workflow_pub.g_wf_lkup_serial then
3697: exit;
3698:
3699: elsif l_assignment_type = pv_workflow_pub.g_wf_lkup_serial
3700: and p_route_stage = pv_assignment_pub.g_r_status_withdrawn then

Line 3699: elsif l_assignment_type = pv_workflow_pub.g_wf_lkup_serial

3695: elsif l_assignment_status = pv_assignment_pub.g_la_status_lost_chance and l_usertype = 'PT' and
3696: l_assignment_type = pv_workflow_pub.g_wf_lkup_serial then
3697: exit;
3698:
3699: elsif l_assignment_type = pv_workflow_pub.g_wf_lkup_serial
3700: and p_route_stage = pv_assignment_pub.g_r_status_withdrawn then
3701:
3702: IF l_partner_id <> p_partner_id
3703: OR l_assignment_status = pv_assignment_pub.g_la_status_cm_rejected THEN

Line 3707: elsif l_assignment_type in (pv_workflow_pub.g_wf_lkup_broadcast,

3703: OR l_assignment_status = pv_assignment_pub.g_la_status_cm_rejected THEN
3704: exit;
3705: END IF;
3706:
3707: elsif l_assignment_type in (pv_workflow_pub.g_wf_lkup_broadcast,
3708: pv_workflow_pub.g_wf_lkup_joint)
3709: and l_assignment_status in (pv_assignment_pub.g_la_status_cm_rejected,
3710: pv_assignment_pub.g_la_status_pt_rejected,
3711: pv_assignment_pub.g_la_status_lost_chance

Line 3708: pv_workflow_pub.g_wf_lkup_joint)

3704: exit;
3705: END IF;
3706:
3707: elsif l_assignment_type in (pv_workflow_pub.g_wf_lkup_broadcast,
3708: pv_workflow_pub.g_wf_lkup_joint)
3709: and l_assignment_status in (pv_assignment_pub.g_la_status_cm_rejected,
3710: pv_assignment_pub.g_la_status_pt_rejected,
3711: pv_assignment_pub.g_la_status_lost_chance
3712: )

Line 3979: aname => pv_workflow_pub.g_wf_attr_partner_org,

3975: end if;
3976:
3977: wf_engine.SetItemAttrText( itemtype => p_itemtype,
3978: itemkey => p_itemKey,
3979: aname => pv_workflow_pub.g_wf_attr_partner_org,
3980: avalue => l_partner_org);
3981:
3982: if l_assignment_status = pv_assignment_pub.g_la_status_cm_rejected then
3983:

Line 3994: aname => pv_workflow_pub.g_wf_attr_responding_cm,

3990: close lc_get_responding_cm;
3991:
3992: wf_engine.SetItemAttrText( itemtype => p_itemtype,
3993: itemkey => p_itemKey,
3994: aname => pv_workflow_pub.g_wf_attr_responding_cm,
3995: avalue => l_responding_cm);
3996:
3997: elsif l_assignment_status = pv_assignment_pub.g_la_status_pt_rejected then
3998:

Line 4008: aname => pv_workflow_pub.g_wf_attr_action_reason,

4004: close lc_get_reason;
4005:
4006: wf_engine.SetItemAttrText( itemtype => p_itemtype,
4007: itemkey => p_itemKey,
4008: aname => pv_workflow_pub.g_wf_attr_action_reason,
4009: avalue => l_reason);
4010: end if;
4011:
4012: end if;

Line 4149: l_itemType VARCHAR2(30) := pv_workflow_pub.g_wf_itemtype_pvasgnmt;

4145: l_email_enabled varchar2(30);
4146: l_vendor_respond_URL varchar2(100);
4147: l_pt_respond_URL varchar2(100);
4148: l_itemKey VARCHAR2(30);
4149: l_itemType VARCHAR2(30) := pv_workflow_pub.g_wf_itemtype_pvasgnmt;
4150:
4151:
4152: begin
4153: -- Standard call to check for call compatibility.

Line 4191: process => pv_workflow_pub.g_wf_pcs_abandon_fyi);

4187:
4188:
4189: wf_engine.CreateProcess ( ItemType => l_itemtype,
4190: ItemKey => l_itemkey,
4191: process => pv_workflow_pub.g_wf_pcs_abandon_fyi);
4192:
4193: wf_engine.SetItemAttrNumber( itemtype => l_itemtype,
4194: itemkey => l_itemkey,
4195: aname => pv_workflow_pub.g_wf_attr_opportunity_id,

Line 4195: aname => pv_workflow_pub.g_wf_attr_opportunity_id,

4191: process => pv_workflow_pub.g_wf_pcs_abandon_fyi);
4192:
4193: wf_engine.SetItemAttrNumber( itemtype => l_itemtype,
4194: itemkey => l_itemkey,
4195: aname => pv_workflow_pub.g_wf_attr_opportunity_id,
4196: avalue => p_attrib_values_rec.lead_id);
4197:
4198: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4199: itemkey => l_itemkey,

Line 4200: aname => pv_workflow_pub.g_wf_attr_entity_name,

4196: avalue => p_attrib_values_rec.lead_id);
4197:
4198: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4199: itemkey => l_itemkey,
4200: aname => pv_workflow_pub.g_wf_attr_entity_name,
4201: avalue => p_attrib_values_rec.entity_name);
4202:
4203: wf_engine.SetItemAttrText( itemtype => l_itemtype,
4204: itemkey => l_itemkey,

Line 4205: aname => pv_workflow_pub.g_wf_attr_entity_amount,

4201: avalue => p_attrib_values_rec.entity_name);
4202:
4203: wf_engine.SetItemAttrText( itemtype => l_itemtype,
4204: itemkey => l_itemkey,
4205: aname => pv_workflow_pub.g_wf_attr_entity_amount,
4206: avalue => p_attrib_values_rec.entity_amount);
4207:
4208: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4209: itemkey => l_itemkey,

Line 4210: aname => pv_workflow_pub.g_wf_attr_ext_org_party_id,

4206: avalue => p_attrib_values_rec.entity_amount);
4207:
4208: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4209: itemkey => l_itemkey,
4210: aname => pv_workflow_pub.g_wf_attr_ext_org_party_id,
4211: avalue => p_attrib_values_rec.pt_org_party_id);
4212:
4213: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4214: itemkey => l_itemkey,

Line 4215: aname => pv_workflow_pub.g_wf_attr_opp_number,

4211: avalue => p_attrib_values_rec.pt_org_party_id);
4212:
4213: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4214: itemkey => l_itemkey,
4215: aname => pv_workflow_pub.g_wf_attr_opp_number,
4216: avalue => p_attrib_values_rec.lead_number);
4217:
4218: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4219: itemkey => l_itemkey,

Line 4220: aname => pv_workflow_pub.g_wf_attr_customer_name,

4216: avalue => p_attrib_values_rec.lead_number);
4217:
4218: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4219: itemkey => l_itemkey,
4220: aname => pv_workflow_pub.g_wf_attr_customer_name,
4221: avalue => p_attrib_values_rec.customer_name);
4222:
4223: wf_engine.SetItemAttrText (itemtype => l_itemtype,
4224: itemkey => l_itemkey,

Line 4225: aname => pv_workflow_pub.g_wf_attr_assignment_type,

4221: avalue => p_attrib_values_rec.customer_name);
4222:
4223: wf_engine.SetItemAttrText (itemtype => l_itemtype,
4224: itemkey => l_itemkey,
4225: aname => pv_workflow_pub.g_wf_attr_assignment_type,
4226: avalue => p_attrib_values_rec.assignment_type);
4227:
4228: l_vendor_respond_url := fnd_profile.value('PV_WORKFLOW_RESPOND_SELF_SERVICE_URL');
4229: l_pt_respond_url := fnd_profile.value('PV_WORKFLOW_ISTORE_URL');

Line 4233: aname => pv_workflow_pub.g_wf_attr_cm_respond_url,

4229: l_pt_respond_url := fnd_profile.value('PV_WORKFLOW_ISTORE_URL');
4230:
4231: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4232: itemkey => l_itemkey,
4233: aname => pv_workflow_pub.g_wf_attr_cm_respond_url,
4234: avalue => l_vendor_respond_URL);
4235:
4236: wf_engine.SetItemAttrText ( itemtype => l_itemType,
4237: itemkey => l_itemKey,

Line 4243: aname => pv_workflow_pub.g_wf_attr_action_reason,

4239: avalue => l_pt_respond_URL);
4240:
4241: wf_engine.SetItemAttrText (itemtype => l_itemtype,
4242: itemkey => l_itemkey,
4243: aname => pv_workflow_pub.g_wf_attr_action_reason,
4244: avalue => p_action_reason);
4245:
4246: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4247: itemkey => l_itemkey,

Line 4248: aname => pv_workflow_pub.g_wf_attr_partner_org,

4244: avalue => p_action_reason);
4245:
4246: wf_engine.SetItemAttrText ( itemtype => l_itemtype,
4247: itemkey => l_itemkey,
4248: aname => pv_workflow_pub.g_wf_attr_partner_org,
4249: avalue => p_partner_org_name);
4250:
4251: wf_engine.StartProcess( itemtype => l_itemtype,
4252: itemkey => l_itemkey);