2598: l_task_id := p_task_id;
2599: ELSIF
2600: ( p_pm_task_reference IS NOT NULL AND p_pm_task_reference <> PA_INTERFACE_UTILS_PUB.G_PA_MISS_CHAR )
2601: THEN
2602: PA_PROJECT_PVT.CONVERT_PM_TASKREF_TO_ID_all
2603: (p_pa_project_id => p_project_id
2604: ,p_pm_task_reference => p_pm_task_reference
2605: ,p_structure_type => p_structure_type
2606: ,p_out_task_id => l_task_id
4545: -- History
4546: --
4547: -- 14-AUG-02 MAansari -Created
4548: --
4549: -- Notes: This api is not included in PA_PROJECT_PVT to avoid dependency.
4550:
4551: PROCEDURE convert_pm_parent_task_ref(
4552: p_pm_parent_task_reference IN VARCHAR2
4553: ,p_project_id IN NUMBER
5918: --convert pm_parent_task_reference to parent_task_id.
5919: --All the parent tasks are created first then child tasks are created. See TRM for AMG load_task api.
5920:
5921: -- Bug 3601700 changed function call from PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref
5922: -- to PA_PROJECT_PVT.Convert_pm_taskref_to_id_all to retrieve task id for task reference
5923: -- because PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref may return financial task id
5924: -- in case of SHARED structure
5925: -- new api call takes structure type as parameter, so it will return task id for the passed structure type only */
5926: /* PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref(
5929: ,x_parent_task_id => v_parent_task_id
5930: ,x_return_status => l_return_status
5931: ); */
5932:
5933: PA_PROJECT_PVT.Convert_pm_taskref_to_id_all (
5934: p_pa_project_id => p_project_id
5935: , p_structure_type => 'WORKPLAN'
5936: , p_pm_task_reference => p_tasks_in(i).pm_parent_task_reference
5937: , p_out_task_id => v_parent_task_id
14422: --convert pm_parent_task_reference to parent_task_id.
14423: --All the parent tasks are created first then child tasks are created. See TRM for AMG load_task api.
14424:
14425: -- 3721124 changed function call from PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref
14426: -- to PA_PROJECT_PVT.Convert_pm_taskref_to_id_all to retrieve task id for task reference
14427: -- because PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref may return financial task id
14428: -- in case of SHARED structure
14429: -- new api call takes structure type as parameter, so it will return task id for the passed structure type only
14430:
14434: -- ,x_parent_task_id => l_cur_pa_tasks_rec.parent_task_id
14435: -- ,x_return_status => x_return_status
14436: -- );
14437:
14438: PA_PROJECT_PVT.Convert_pm_taskref_to_id_all (
14439: p_pa_project_id => p_project_id
14440: , p_structure_type => 'WORKPLAN'
14441: -- 3721124 p_pa_task_id will be null in this context
14442: -- , p_pa_task_id => l_cur_pa_tasks_rec.parent_task_id
14559: --convert pm_parent_task_reference to parent_task_id.
14560: --All the parent tasks are created first then child tasks are created. See TRM for AMG load_task api.
14561:
14562: -- 3721124 changed function call from PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref
14563: -- to PA_PROJECT_PVT.Convert_pm_taskref_to_id_all to retrieve task id for task reference
14564: -- because PA_PROJ_TASK_STRUC_PUB.convert_pm_parent_task_ref may return financial task id
14565: -- in case of SHARED structure
14566: -- new api call takes structure type as parameter, so it will return task id for the passed structure type only
14567:
14572: -- ,x_return_status => x_return_status
14573: -- );
14574:
14575:
14576: PA_PROJECT_PVT.Convert_pm_taskref_to_id_all (
14577: p_pa_project_id => p_project_id
14578: , p_structure_type => 'WORKPLAN'
14579: -- 3721124 p_pa_task_id will be null in this context
14580: -- , p_pa_task_id => l_cur_pa_tasks_rec.parent_task_id
14892: PA_PROJ_ELEMENTS_UTILS.CHECK_IS_FINANCIAL_TASK(l_task_in_rec.pa_task_id)='Y'
14893: )
14894: THEN
14895: --Call Update_One_Task to update financial attributes
14896: PA_PROJECT_PVT.Update_One_Task
14897: (
14898: p_api_version_number => p_api_version_number,
14899: p_commit => FND_API.G_FALSE,
14900: p_msg_count => x_msg_count,