DBA Data[Home] [Help]

APPS.PA_PROJECT_CORE dependencies on PA_TASK_UTILS

Line 1136: pa_task_utils.check_unique_task_number(x_project_id,

1132:
1133: -- Uniqueness check for task number
1134: x_err_stage := 'check uniqueness for task number '|| x_task_number;
1135: status_code :=
1136: pa_task_utils.check_unique_task_number(x_project_id,
1137: x_task_number,
1138: null);
1139: if ( status_code = 0 ) then
1140: x_err_code := 40;

Line 1158: pa_task_utils.check_create_subtask_ok(x_task_id => x_parent_task_id,

1154: x_err_stage :=
1155: 'check create subtask for parent task '|| x_parent_task_id;
1156:
1157: --Bug 2947492 The following call is modified to pass params by notation.
1158: pa_task_utils.check_create_subtask_ok(x_task_id => x_parent_task_id,
1159: x_err_code => x_err_code,
1160: x_err_stage => x_err_stage,
1161: x_err_stack => x_err_stack);
1162:

Line 1171: x_wbs_level := pa_task_utils.get_wbs_level(x_parent_task_id);

1167:
1168: -- get wbs level for parent task id
1169: x_err_stage :=
1170: 'get wbs level for parent task '|| x_parent_task_id;
1171: x_wbs_level := pa_task_utils.get_wbs_level(x_parent_task_id);
1172: if (x_wbs_level is null) then
1173: x_err_code := 50;
1174: x_err_stage := 'PA_WBS_LEVEL_NOT_FOUND';
1175: return;

Line 1186: x_top_task_id := pa_task_utils.get_top_task_id(x_parent_task_id);

1182:
1183: -- get top task id for parent task id
1184: x_err_stage :=
1185: 'get top task id for parent task '|| x_parent_task_id;
1186: x_top_task_id := pa_task_utils.get_top_task_id(x_parent_task_id);
1187: if (x_top_task_id is null) then
1188: x_err_code := 60;
1189: x_err_stage := 'PA_TASK_ID_NOT_FOUND';
1190: return;

Line 1569: pa_task_utils.check_delete_task_ok(

1565: -- Fix for Bug # 4513291. Moved this up before appending x_err_stack -- old_stack := x_err_stack;
1566:
1567: -- 4201927
1568: IF x_bulk_flag = 'N' THEN
1569: pa_task_utils.check_delete_task_ok(
1570: x_task_id => x_task_id,
1571: x_validation_mode => x_validation_mode, -- bug 2947492
1572: x_err_code => x_err_code,
1573: x_err_stage => x_err_stage,

Line 2003: x_parent_task_id := pa_task_utils.get_parent_task_id(x_task_id);

1999: START WITH TASK_ID = x_TASK_ID);
2000:
2001: -- get parent task id
2002: x_err_stage := 'get parent task id for task '|| x_task_id;
2003: x_parent_task_id := pa_task_utils.get_parent_task_id(x_task_id);
2004:
2005: if ( x_parent_task_id < 0 ) then -- Oracle error
2006: x_err_code := x_parent_task_id;
2007: return;

Line 2013: status_code := pa_task_utils.check_last_child(x_task_id);

2009:
2010: if (x_parent_task_id is not null ) then
2011: -- Check if task is last child
2012: x_err_stage := 'check last child for '|| x_task_id;
2013: status_code := pa_task_utils.check_last_child(x_task_id);
2014:
2015: if ( status_code = 1 ) then
2016: -- set parent task's chargeable_flag to 'Y
2017: x_err_stage := 'update parent task chargeable flag';