DBA Data[Home] [Help]

APPS.JTF_CAL_SHIFT_CONSTRUCTS_PKG dependencies on APP_EXCEPTION

Line 356: -- app_exception.raise_exception;

352: fnd_message.set_name('JTF', 'FORM_RECORD_CHANGED');
353: fnd_msg_pub.ADD;
354: v_error := 'Y';
355: -- fnd_message.set_name('JTF', 'FORM_RECORD_CHANGED');
356: -- app_exception.raise_exception;
357: END IF;
358:
359: IF v_error = 'Y' THEN
360: x_error := 'Y';

Line 367: WHEN app_exception.record_lock_exception THEN

363: END LOOP;
364:
365: RETURN;
366: EXCEPTION
367: WHEN app_exception.record_lock_exception THEN
368: fnd_message.set_name('JTF', 'JTF_API_RECORD_NOT_FOUND');
369: fnd_msg_pub.ADD;
370: v_error := 'Y';
371:

Line 415: --app_exception.raise_exception;

411: fnd_msg_pub.initialize;
412:
413: IF jtf_cal_shift_constructs_pkg.not_null(x_begin_time) = FALSE THEN
414: --fnd_message.set_name('JTF', 'BEGIN_TIME CANNOT BE NULL');
415: --app_exception.raise_exception;
416: fnd_message.set_name('JTF', 'JTF_CAL_BEGIN_TIME');
417: --fnd_message.set_token('P_Name', 'BEGIN_TIME');
418: fnd_msg_pub.ADD;
419: v_error := 'Y';

Line 424: --app_exception.raise_exception;

420: END IF;
421:
422: IF jtf_cal_shift_constructs_pkg.not_null(x_end_time) = FALSE THEN
423: --fnd_message.set_name('JTF', 'END_TIME CANNOT BE NULL');
424: --app_exception.raise_exception;
425: fnd_message.set_name('JTF', 'JTF_CAL_END_TIME');
426: --fnd_message.set_token('P_Name', 'END_TIME');
427: fnd_msg_pub.ADD;
428: v_error := 'Y';

Line 433: --app_exception.raise_exception;

429: END IF;
430:
431: IF jtf_cal_shift_constructs_pkg.end_greater_than_begin(x_begin_time, x_end_time) = FALSE THEN
432: --fnd_message.set_name('JTF', 'START_TIME IS GREATER THAN END_TIME');
433: --app_exception.raise_exception;
434: fnd_message.set_name('JTF', 'JTF_CAL_SHIFT_END_TIME');
435: --fnd_message.set_token('P_Start_Date', X_BEGIN_TIME);
436: --fnd_message.set_token('P_End_Date', X_END_TIME);
437: fnd_msg_pub.ADD;

Line 443: --app_exception.raise_exception;

439: END IF;
440:
441: IF jtf_cal_shift_constructs_pkg.end_greater_than_begin(x_start_date_active, x_end_date_active) = FALSE THEN
442: --fnd_message.set_name('JTF', 'START_DATE IS GREATER THAN END DATE');
443: --app_exception.raise_exception;
444: fnd_message.set_name('JTF', 'JTF_CAL_END_DATE');
445: fnd_message.set_token('P_Start_Date', x_start_date_active);
446: fnd_message.set_token('P_End_Date', x_end_date_active);
447: fnd_msg_pub.ADD;

Line 454: --app_exception.raise_exception;

450:
451: /*
452: IF JTF_CAL_SHIFT_CONSTRUCTS_PKG.NOT_NULL(X_AVAILABILITY_TYPE_CODE) = FALSE THEN
453: --fnd_message.set_name('JTF', 'AVAILABILITY_TYPE_CODE CANNOT BE NULL');
454: --app_exception.raise_exception;
455: fnd_message.set_name('JTF', 'JTF_CAL_AVAILABILITY_TYPE_CODE');
456: --fnd_message.set_token('P_Name', 'AVAILABILITY_TYPE_CODE');
457: fnd_msg_pub.add;
458: v_error := 'Y';

Line 464: -- app_exception.raise_exception;

460:
461: --IF JTF_CAL_SHIFT_CONSTRUCTS_PKG.VALIDATE_FND_LOOKUPS(X_AVAILABILITY_TYPE_CODE, 'AVAILABILITY TYPE')
462: -- = FALSE THEN
463: -- fnd_message.set_name('JTF', 'AVAILABILITY_TYPE_CODE DOES NOT EXIST IN FND_LOOKUPS');
464: -- app_exception.raise_exception;
465: -- v_error := 'Y';
466: --END IF;
467:
468: IF JTF_CAL_SHIFT_CONSTRUCTS_PKG.DUPLICATION_SHIFT(X_SHIFT_ID, X_UNIT_OF_TIME_VALUE,

Line 472: --app_exception.raise_exception;

468: IF JTF_CAL_SHIFT_CONSTRUCTS_PKG.DUPLICATION_SHIFT(X_SHIFT_ID, X_UNIT_OF_TIME_VALUE,
469: X_BEGIN_TIME, X_END_TIME,
470: X_START_DATE_ACTIVE, X_END_DATE_ACTIVE) = FALSE THEN
471: --fnd_message.set_name('JTF', 'SHIFT WITH THESE PARAMETERS ALREADY EXISTS');
472: --app_exception.raise_exception;
473: fnd_message.set_name('JTF', 'JTF_CAL_ALREADY_EXISTS');
474: fnd_message.set_token('P_Name', 'SHIFT');
475: fnd_msg_pub.add;
476: v_error := 'Y';

Line 481: --app_exception.raise_exception;

477: END IF;
478: */
479: IF jtf_cal_shift_constructs_pkg.not_null(x_start_date_active) = FALSE THEN
480: --fnd_message.set_name('JTF', 'START_DATE_ACTIVE CANNOT BE NULL');
481: --app_exception.raise_exception;
482: fnd_message.set_name('JTF', 'JTF_CAL_START_DATE');
483: fnd_msg_pub.ADD;
484: v_error := 'Y';
485: END IF;

Line 495: --app_exception.raise_exception;

491: X_BEGIN_TIME, X_END_TIME,
492: X_START_DATE_ACTIVE, X_END_DATE_ACTIVE,
493: X_SHIFT_CONSTRUCT_ID) = FALSE THEN
494: --fnd_message.set_name('JTF', 'SHIFT WITH THESE PARAMETERS ALREADY EXISTS');
495: --app_exception.raise_exception;
496: fnd_message.set_name('JTF', 'JTF_CAL_SHIFT_PATTERN_OVERLAPS');
497: fnd_msg_pub.add;
498: v_error := 'Y';
499: END IF;