2: /* $Header: asxsmtwb.pls 115.38 2003/12/22 13:22:00 sumahali ship $ */
3: g_pkg_name varchar2(100);
4: g_notes varchar2(4000);
5:
6: x_task_details_tbl jtf_task_inst_templates_pub.task_details_tbl;
7: ------------------------------------------------------------------------------------------
8: ----------------------------- Private Portion --------------------------------------------
9: ------------------------------------------------------------------------------------------
10: -- We use the following private utility procedures
614: -- and contact_point_type in ('EMAIL', 'PHONE');
615: and contact_point_type = 'PHONE';
616:
617:
618: l_task_template_group_info jtf_task_inst_templates_pub.task_template_group_info;
619: l_task_templates_tbl jtf_task_inst_templates_pub.task_template_info_tbl;
620: l_task_contact_points_tbl jtf_task_inst_templates_pub.task_contact_points_tbl;
621:
622:
615: and contact_point_type = 'PHONE';
616:
617:
618: l_task_template_group_info jtf_task_inst_templates_pub.task_template_group_info;
619: l_task_templates_tbl jtf_task_inst_templates_pub.task_template_info_tbl;
620: l_task_contact_points_tbl jtf_task_inst_templates_pub.task_contact_points_tbl;
621:
622:
623: l_customer_id NUMBER;
616:
617:
618: l_task_template_group_info jtf_task_inst_templates_pub.task_template_group_info;
619: l_task_templates_tbl jtf_task_inst_templates_pub.task_template_info_tbl;
620: l_task_contact_points_tbl jtf_task_inst_templates_pub.task_contact_points_tbl;
621:
622:
623: l_customer_id NUMBER;
624: l_address_id NUMBER;
662: -------------------------------------------
663:
664:
665: -- XDING Change for bug 2596491 start
666: -- Call jtf_task_inst_templates_pub.create_task_from_template instead of
667: -- jtf_tasks_pub.create_task_from_template to create tasks with
668: -- opportunity customer context and primary contact points
669:
670: IF l_source_object_id IS NULL THEN
703: K := K + 1;
704: END LOOP;
705: END LOOP;
706:
707: jtf_task_inst_templates_pub.create_task_from_template (
708: p_api_version => 1.0,
709: p_init_msg_list => fnd_api.g_false,
710: p_commit => fnd_api.g_false,
711: p_task_template_group_info => l_task_template_group_info,