DBA Data[Home] [Help]

APPS.PA_TASKS_MAINT_PVT dependencies on PA_TASK_UTILS

Line 739: If Pa_Task_Utils.Check_Unique_Task_number (p_project_id,

735:
736:
737: -- Check if task number is Unique
738: IF (p_calling_module IN ('FORMS', 'SELF_SERVICE')) THEN
739: If Pa_Task_Utils.Check_Unique_Task_number (p_project_id,
740: p_task_number, NULL ) <> 1 Then
741: PA_UTILS.ADD_MESSAGE('PA', 'PA_ALL_DUPLICATE_NUM');
742: END IF;
743: END IF;

Line 813: --Call PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK

809: -- Add as subtask
810:
811: -- Check create subtask ok
812: IF (p_calling_module IN ('FORMS', 'SELF_SERVICE')) THEN
813: --Call PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK
814: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => p_reference_task_id,
815: x_err_code => l_err_code,
816: x_err_stack => l_err_stack,
817: x_err_stage => l_err_stage

Line 814: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => p_reference_task_id,

810:
811: -- Check create subtask ok
812: IF (p_calling_module IN ('FORMS', 'SELF_SERVICE')) THEN
813: --Call PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK
814: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => p_reference_task_id,
815: x_err_code => l_err_code,
816: x_err_stack => l_err_stack,
817: x_err_stage => l_err_stage
818: );

Line 2503: PA_TASK_UTILS.CHANGE_TASK_ORG_OK(p_task_id,

2499: IF (p_calling_module = 'FORMS') THEN
2500: IF (TCARRYING_OUT_ORG_ID <> p_carrying_out_organization_id) AND
2501: (p_carrying_out_organization_id IS NOT NULL) AND
2502: (p_carrying_out_organization_id <> PA_INTERFACE_UTILS_PUB.G_PA_MISS_NUM) THEN
2503: PA_TASK_UTILS.CHANGE_TASK_ORG_OK(p_task_id,
2504: l_err_code,
2505: l_err_stage,
2506: l_err_stack);
2507: IF (l_err_code <> 0) Then

Line 2851: IF (Pa_Task_Utils.check_child_Exists(NVL(p_task_id,0)) = 1 ) THEN

2847:
2848: --hy
2849: --Check if child exist for current parent task. If not,
2850: --update chargeable flag to Y
2851: IF (Pa_Task_Utils.check_child_Exists(NVL(p_task_id,0)) = 1 ) THEN
2852: TCHARGEABLE := 'N';
2853: END IF;
2854:
2855:

Line 3468: If (PA_TASK_UTILS.check_last_task(p_task_id) <> 0) THEN

3464: --PA_TASK_PUB1.DELETE_TASK_VERSION and PA_TASK_PUB1.DELETE_TASK_VERSION
3465: --is called from import logic.
3466: THEN
3467: --Check if this is last task;
3468: If (PA_TASK_UTILS.check_last_task(p_task_id) <> 0) THEN
3469: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
3470: p_msg_name => 'PA_TK_CANT_DELETE_LAST_TASK');
3471: raise FND_API.G_EXC_ERROR;
3472: END IF;

Line 3481: PA_TASK_UTILS.CHECK_DELETE_TASK_OK(x_task_id => p_task_id,

3477: --Check if it is okay to delete task
3478: -- 4201927 If this api is getting called from bulk task delete version, p_bulk_flag will
3479: -- be passed as 'Y' and below validation will not be done in that flow
3480: IF p_bulk_flag = 'N' THEN
3481: PA_TASK_UTILS.CHECK_DELETE_TASK_OK(x_task_id => p_task_id,
3482: x_err_code => l_err_code,
3483: x_err_stage => l_err_stage,
3484: x_err_stack => l_err_stack);
3485: IF (l_err_code <> 0) THEN

Line 3511: IF (Pa_Task_Utils.check_child_Exists(NVL(t_parent_task_id,0)) = 0 ) THEN

3507:
3508: IF (p_calling_module IN ('SELF_SERVICE', 'FORM')) THEN
3509: --Check if child exist for current parent task. If not,
3510: --update chargeable flag to Y
3511: IF (Pa_Task_Utils.check_child_Exists(NVL(t_parent_task_id,0)) = 0 ) THEN
3512: UPDATE Pa_tasks
3513: SET Chargeable_Flag = 'Y',
3514: RECORD_VERSION_NUMBER = nvl(RECORD_VERSION_NUMBER,0) + 1,
3515: last_updated_by = FND_GLOBAL.USER_ID,

Line 3730: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => l_task_id_above,

3726: l_msg_count := FND_MSG_PUB.count_msg;
3727:
3728: --dbms_output.put_line( 'Indent Task PVT : Stage 3 '||'Count '||l_msg_count );
3729:
3730: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => l_task_id_above,
3731: x_err_code => l_err_code,
3732: x_err_stack => l_err_stack,
3733: x_err_stage => l_err_stage
3734: );

Line 5870: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => p_reference_task_id,

5866: l_parent_task_id := l_ref_parent_task_id;
5867: ELSE
5868: -- 23-JUL-2001
5869: -- Added by HSIU--check if the reference task can have child tasks
5870: PA_TASK_UTILS.CHECK_CREATE_SUBTASK_OK(x_task_id => p_reference_task_id,
5871: x_err_code => l_err_code,
5872: x_err_stack => l_err_stack,
5873: x_err_stage => l_err_stage
5874: );

Line 6010: IF (Pa_Task_Utils.check_child_Exists(NVL(p_reference_task_id,0)) = 1 ) THEN

6006:
6007: --dbms_output.put_line( 'In move task 6' );
6008:
6009: -- update chargeable flag for reference task to no.
6010: IF (Pa_Task_Utils.check_child_Exists(NVL(p_reference_task_id,0)) = 1 ) THEN
6011: UPDATE Pa_tasks
6012: SET Chargeable_Flag = 'N',
6013: RECORD_VERSION_NUMBER = nvl(RECORD_VERSION_NUMBER,0) + 1,
6014: last_updated_by = FND_GLOBAL.USER_ID,

Line 6287: IF c_task_exists_in_pa_tasks%found THEN -- if the task is present in pa_tasks table, then call pa_task_utils.check_create_subtask_ok

6283: FETCH c_get_immediate_parent INTO l_task_id;
6284: IF c_get_immediate_parent%found THEN -- check if the immediate parent is present
6285: OPEN c_task_exists_in_pa_tasks(l_task_id);
6286: FETCH c_task_exists_in_pa_tasks INTO l_task_number,l_task_name;
6287: IF c_task_exists_in_pa_tasks%found THEN -- if the task is present in pa_tasks table, then call pa_task_utils.check_create_subtask_ok
6288: pa_task_utils.check_create_subtask_ok(x_task_id => l_task_id
6289: , x_err_code => l_error_code
6290: , x_err_stage => l_err_stage
6291: , x_err_stack => l_err_stack);

Line 6288: pa_task_utils.check_create_subtask_ok(x_task_id => l_task_id

6284: IF c_get_immediate_parent%found THEN -- check if the immediate parent is present
6285: OPEN c_task_exists_in_pa_tasks(l_task_id);
6286: FETCH c_task_exists_in_pa_tasks INTO l_task_number,l_task_name;
6287: IF c_task_exists_in_pa_tasks%found THEN -- if the task is present in pa_tasks table, then call pa_task_utils.check_create_subtask_ok
6288: pa_task_utils.check_create_subtask_ok(x_task_id => l_task_id
6289: , x_err_code => l_error_code
6290: , x_err_stage => l_err_stage
6291: , x_err_stack => l_err_stack);
6292: IF (l_error_code <> 0) THEN