134:
135:
136: If p_query_id is not null then
137: l_query_id := p_query_id;
138: csf_tasks_pub.commit_schedule(
139: p_api_version => 1.0
140: , p_init_msg_list => fnd_api.g_false
141: , p_commit => fnd_api.g_true
142: , x_return_status => l_return_status
153: );
154: ELSIF (p_task_source is not null and p_task_source ='TERRITORY') and (p_from_task_id is not null and p_from_task_id is not null)
155: THEN
156:
157: csf_tasks_pub.commit_schedule(
158: p_api_version => 1.0
159: , p_init_msg_list => fnd_api.g_false
160: , p_commit => fnd_api.g_true
161: , x_return_status => l_return_status