DBA Data[Home] [Help]

APPS.PA_PROGRESS_REPORT_UTILS dependencies on PA_UTILS

Line 142: PA_UTILS.Add_Message( p_app_short_name => 'PA'

138: -- Validation the INPUT parameters
139: open C;
140: fetch C into l_project_system_status_code;
141: if (C%NOTFOUND) then
142: PA_UTILS.Add_Message( p_app_short_name => 'PA'
143: ,p_msg_name => 'PA_PJX_INV_PRJ_REP_STATUS');
144: x_return_status := FND_API.G_RET_STS_ERROR;
145: --x_ret_code:= fnd_api.g_false;
146: --return x_ret_code;

Line 153: PA_UTILS.Add_Message( p_app_short_name => 'PA'

149: close C;
150: open C1;
151: fetch C1 into l_approval_required; --,l_auto_publish;
152: if (C1%NOTFOUND) then
153: PA_UTILS.Add_Message( p_app_short_name => 'PA'
154: ,p_msg_name => 'PA_PJX_INV_REP_VERSION');
155: x_return_status := FND_API.G_RET_STS_ERROR;
156: --x_ret_code:= fnd_api.g_false;
157: --x_msg_count := x_msg_count + 1;

Line 166: PA_UTILS.Add_Message( p_app_short_name => 'PA'

162: else
163: l_auto_publish := 'N';
164: end if;
165: if (p_action_code NOT IN ('REWORK','EDIT','SUBMIT','PUBLISH','CANCEL')) then
166: PA_UTILS.Add_Message( p_app_short_name => 'PA'
167: ,p_msg_name => 'PA_PJX_INV_ACTION_CODE');
168: x_return_status := FND_API.G_RET_STS_ERROR;
169: --x_msg_count := x_msg_count + 1;
170: end if;

Line 241: PA_UTILS.Add_Message( p_app_short_name => 'PA'

237: x_msg_count := 0;
238: FND_MSG_PUB.initialize;
239:
240: if p_estimated_ed_date < p_estimated_st_date then
241: PA_UTILS.Add_Message( p_app_short_name => 'PA'
242: ,p_msg_name => 'PA_EST_DATES_INV');
243: x_return_status := FND_API.G_RET_STS_ERROR;
244: end if;
245:

Line 247: PA_UTILS.Add_Message( p_app_short_name => 'PA'

243: x_return_status := FND_API.G_RET_STS_ERROR;
244: end if;
245:
246: if p_actual_ed_date < p_actual_st_date then
247: PA_UTILS.Add_Message( p_app_short_name => 'PA'
248: ,p_msg_name => 'PA_ACT_DATES_INV');
249: x_return_status := FND_API.G_RET_STS_ERROR;
250: end if;
251:

Line 255: PA_UTILS.Add_Message( p_app_short_name => 'PA'

251:
252: -- if actual dates are given estimated are not required
253:
254: /* if p_estimated_st_date > get_earliest_task_st_date(p_project_id) then
255: PA_UTILS.Add_Message( p_app_short_name => 'PA'
256: ,p_msg_name => 'PA_EST_ST_DATE_INV');
257: x_return_status := FND_API.G_RET_STS_ERROR;
258: end if;
259:

Line 261: PA_UTILS.Add_Message( p_app_short_name => 'PA'

257: x_return_status := FND_API.G_RET_STS_ERROR;
258: end if;
259:
260: if p_estimated_ed_date < get_latest_task_ed_date(p_project_id) then
261: PA_UTILS.Add_Message( p_app_short_name => 'PA'
262: ,p_msg_name => 'PA_EST_ED_DATE_INV');
263: x_return_status := FND_API.G_RET_STS_ERROR;
264: end if;
265:

Line 267: PA_UTILS.Add_Message( p_app_short_name => 'PA'

263: x_return_status := FND_API.G_RET_STS_ERROR;
264: end if;
265:
266: if p_actual_st_date > get_earliest_task_st_date(p_project_id) then
267: PA_UTILS.Add_Message( p_app_short_name => 'PA'
268: ,p_msg_name => 'PA_ACT_ST_DATE_INV');
269: x_return_status := FND_API.G_RET_STS_ERROR;
270: end if;
271:

Line 273: PA_UTILS.Add_Message( p_app_short_name => 'PA'

269: x_return_status := FND_API.G_RET_STS_ERROR;
270: end if;
271:
272: if p_actual_ed_date < get_latest_task_ed_date(p_project_id) then
273: PA_UTILS.Add_Message( p_app_short_name => 'PA'
274: ,p_msg_name => 'PA_ACT_ED_DATE_INV');
275: x_return_status := FND_API.G_RET_STS_ERROR;
276: end if;
277: */

Line 280: PA_UTILS.Add_Message( p_app_short_name => 'PA'

276: end if;
277: */
278:
279: if not (p_percent_complete between 0 and 100) then
280: PA_UTILS.Add_Message( p_app_short_name => 'PA'
281: ,p_msg_name => 'PA_PERC_COMP_INV');
282: x_return_status := FND_API.G_RET_STS_ERROR;
283: end if;
284:

Line 286: PA_UTILS.Add_Message( p_app_short_name => 'PA'

282: x_return_status := FND_API.G_RET_STS_ERROR;
283: end if;
284:
285: if (p_est_to_complete < 0) then
286: PA_UTILS.Add_Message( p_app_short_name => 'PA'
287: ,p_msg_name => 'PA_EST_TO_COMP_INV');
288: x_return_status := FND_API.G_RET_STS_ERROR;
289:
290: end if;

Line 402: PA_UTILS.Add_Message( p_app_short_name => 'PA'

398: END IF;
399: */
400:
401: IF (l_ok_to_delete = 'N') then
402: PA_UTILS.Add_Message( p_app_short_name => 'PA'
403: ,p_msg_name => 'PA_EDIT_TEMPLATE_INV');
404: x_return_status := FND_API.G_RET_STS_ERROR;
405: x_msg_count := FND_MSG_PUB.Count_Msg;
406: IF x_msg_count = 1 then

Line 466: PA_UTILS.Add_Message( p_app_short_name => 'PA'

462:
463:
464:
465: IF (p_percent_complete > 100 or p_percent_complete< 0 )THEN
466: PA_UTILS.Add_Message( p_app_short_name => 'PA'
467: ,p_msg_name => 'PA_PR_PERCENT_COMPLETE_INV'); x_return_status := FND_API.G_RET_STS_ERROR;
468:
469: ELSE
470: -- todo