245: gms_error_pkg.gms_message(x_err_name => 'GMS_BU_ENTRY_NOT_ALLOWED',
246: x_err_code => x_err_code,
247: x_err_buff => x_err_stage);
248:
249: APP_EXCEPTION.RAISE_EXCEPTION;
250:
251: end if;
252:
253: if (x_resource_list_id is null) then
254: gms_error_pkg.gms_message(x_err_name => 'GMS_BU_NO_DFLT_RESOURCE_LIST',
255: x_err_code => x_err_code,
256: x_err_buff => x_err_stage);
257:
258: APP_EXCEPTION.RAISE_EXCEPTION;
259:
260: /** -- jjj - x_err_code = 100 ???
261: x_err_code := NO_DATA_FOUND_ERR;
262: x_err_stage := 'GMS_BU_NO_DFLT_RESOURCE_LIST';
340: gms_error_pkg.gms_message( x_err_name => 'GMS_BU_ENTRY_NOT_ALLOWED',
341: x_err_code => x_err_code,
342: x_err_buff => x_err_stage);
343:
344: APP_EXCEPTION.RAISE_EXCEPTION;
345: end if;
346:
347: if (x_budget_entry_method_code is null) then
348: gms_error_pkg.gms_message( x_err_name => 'GMS_BU_NO_DFLT_ENTRY_METHOD',
348: gms_error_pkg.gms_message( x_err_name => 'GMS_BU_NO_DFLT_ENTRY_METHOD',
349: x_err_code => x_err_code,
350: x_err_buff => x_err_stage);
351:
352: APP_EXCEPTION.RAISE_EXCEPTION;
353:
354: /** - jjj - x_err_code = 100 ????
355: x_err_code := NO_DATA_FOUND_ERR;
356: x_err_stage := 'GMS_BU_NO_DFLT_ENTRY_METHOD';
904: gms_error_pkg.gms_message( x_err_name => 'GMS_ALL_WARN_NO_EMPL_REC',
905: x_err_code => p_err_code,
906: x_err_buff => p_err_stage);
907:
908: APP_EXCEPTION.RAISE_EXCEPTION;
909:
910: /*
911: PA_UTILS.Add_Message
912: ( p_app_short_name => 'GMS'
1364: gms_error_pkg.gms_message(x_err_name => 'GMS_SU_INVALID_DATES',
1365: x_err_code => x_err_code,
1366: x_err_buff => x_err_stage);
1367:
1368: APP_EXCEPTION.RAISE_EXCEPTION;
1369:
1370: END IF;
1371:
1372: -- check business rules related to timephasing
1392: gms_error_pkg.gms_message( x_err_name => 'GMS_BUDGET_DATES_MISSING',
1393: x_err_code => x_err_code,
1394: x_err_buff => x_err_stage);
1395:
1396: APP_EXCEPTION.RAISE_EXCEPTION;
1397: ELSE
1398:
1399: --try to get the period name related to those dates
1400:
1413: gms_error_pkg.gms_message( x_err_name => 'GMS_BUDGET_DATES_INVALID',
1414: x_err_code => x_err_code,
1415: x_err_buff => x_err_stage);
1416:
1417: APP_EXCEPTION.RAISE_EXCEPTION;
1418: END IF;
1419:
1420: CLOSE l_period_name_csr;
1421:
1442: gms_error_pkg.gms_message( x_err_name => 'GMS_BUDGET_PERIOD_IS_INVALID',
1443: x_err_code => x_err_code,
1444: x_err_buff => x_err_stage);
1445:
1446: APP_EXCEPTION.RAISE_EXCEPTION;
1447: END IF;
1448:
1449: CLOSE l_budget_periods_csr;
1450:
1466: gms_error_pkg.gms_message( x_err_name => 'GMS_BUDGET_DATES_MISSING' ,-- 'GMS_START_DATE_IS_MISSING', Bug 2587078
1467: x_err_code => x_err_code,
1468: x_err_buff => x_err_stage);
1469:
1470: APP_EXCEPTION.RAISE_EXCEPTION;
1471: END IF;
1472:
1473: IF p_budget_end_date_in = GMS_BUDGET_PUB.G_PA_MISS_DATE
1474: OR p_budget_end_date_in IS NULL
1477: gms_error_pkg.gms_message( x_err_name => 'GMS_BUDGET_DATES_MISSING', -- 'GMS_END_DATE_IS_MISSING', Bug 2587078
1478: x_err_code => x_err_code,
1479: x_err_buff => x_err_stage);
1480:
1481: APP_EXCEPTION.RAISE_EXCEPTION;
1482: END IF;
1483:
1484:
1485: -- For entry methods specified as 'date range', start and end dates were not being returned.
1510: gms_error_pkg.gms_message( x_err_name => 'GMS_BU_NO_TASK_PROJ_DATE' , --'GMS_PROJ_START_DATE_MISS1', 2587078
1511: x_err_code => x_err_code,
1512: x_err_buff => x_err_stage);
1513:
1514: APP_EXCEPTION.RAISE_EXCEPTION;
1515: --Modifications for Bug 2200867
1516: END IF;
1517: /************Commenting the code for Bug 2200867
1518: ELSIF l_project_end_date IS NULL
1521: gms_error_pkg.gms_message( x_err_name => 'GMS_PROJ_END_DATE_MISS1',
1522: x_err_code => x_err_code,
1523: x_err_buff => x_err_stage);
1524:
1525: APP_EXCEPTION.RAISE_EXCEPTION;
1526:
1527: ELSE
1528: ************************/
1529: -------Modiifed the p_budget_start_date_out and p_budget_end_date For bug 2200867-----------
1558: gms_error_pkg.gms_message( x_err_name => 'GMS_BU_NO_TASK_PROJ_DATE' , -- 'GMS_PROJ_START_DATE_MISS2', 2587078
1559: x_err_code => x_err_code,
1560: x_err_buff => x_err_stage);
1561:
1562: APP_EXCEPTION.RAISE_EXCEPTION;
1563:
1564: ---------Modifications for Bug 2200867-------------------
1565: ELSE
1566: l_budget_start_date := greatest(l_budget_start_date,l_project_start_date);
1584: gms_error_pkg.gms_message( x_err_name => 'GMS_PROJ_END_DATE_MISS2',
1585: x_err_code => x_err_code,
1586: x_err_buff => x_err_stage);
1587:
1588: APP_EXCEPTION.RAISE_EXCEPTION;
1589:
1590: ELSE
1591:
1592: p_budget_start_date_out := l_project_start_date;
1605: gms_error_pkg.gms_message( x_err_name => 'GMS_PROJ_END_DATE_MISS3',
1606: x_err_code => x_err_code,
1607: x_err_buff => x_err_stage);
1608:
1609: APP_EXCEPTION.RAISE_EXCEPTION;
1610:
1611: ELSE
1612: p_budget_start_date_out := l_task_start_date;
1613: p_budget_end_date_out := l_project_end_date;
1726: gms_error_pkg.gms_message( x_err_name => 'GMS_COST_QTY_NOT_ALLOWED',
1727: x_err_code => x_err_code,
1728: x_err_buff => x_err_stage);
1729:
1730: APP_EXCEPTION.RAISE_EXCEPTION;
1731: ELSIF l_raw_cost_flag = 'N'
1732: AND ( p_raw_cost <> GMS_BUDGET_PUB.G_PA_MISS_NUM
1733: AND p_raw_cost IS NOT NULL )
1734: THEN
1735: gms_error_pkg.gms_message( x_err_name => 'GMS_RAW_COST_NOT_ALLOWED',
1736: x_err_code => x_err_code,
1737: x_err_buff => x_err_stage);
1738:
1739: APP_EXCEPTION.RAISE_EXCEPTION;
1740:
1741: ELSIF l_burdened_cost_flag = 'N'
1742: AND ( p_burdened_cost <> GMS_BUDGET_PUB.G_PA_MISS_NUM
1743: AND p_burdened_cost IS NOT NULL )
1745: gms_error_pkg.gms_message( x_err_name => 'GMS_BURD_COST_NOT_ALLOWED',
1746: x_err_code => x_err_code,
1747: x_err_buff => x_err_stage);
1748:
1749: APP_EXCEPTION.RAISE_EXCEPTION;
1750: END IF;
1751:
1752: END IF;
1753: