DBA Data[Home] [Help]

APPS.GMS_ENCUMBRANCE_GROUPS_PKG dependencies on FND_MESSAGE

Line 188: fnd_message.set_name ('PA', 'PA_TR_EPE_ONLY_DEL_WORK');

184: fetch get_group into groups_rec;
185: -- check notfound?
186:
187: if (groups_rec.encumbrance_group_status_code <> 'WORKING') then
188: fnd_message.set_name ('PA', 'PA_TR_EPE_ONLY_DEL_WORK');
189: app_exception.raise_exception;
190: end if;
191:
192: -- cascade delete to encumbrances.

Line 215: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');

211: END LOOP;
212:
213: EXCEPTION
214: when APP_EXCEPTION.RECORD_LOCK_EXCEPTION then
215: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');
216: app_exception.raise_exception;
217: END;
218:
219: delete from gms_encumbrance_groups

Line 275: fnd_message.set_name ('PA', 'PA_TR_EPE_REL_ONLY_SUBMIT');

271:
272: if (x_orig_group.encumbrance_group_status_code <> 'SUBMITTED') then
273: x_err_code := 1;
274: x_return_status := 'Can only release Submitted group';
275: fnd_message.set_name ('PA', 'PA_TR_EPE_REL_ONLY_SUBMIT');
276: end if;
277:
278: -- make sure the encumbrances are not locked before making the change
279: open lock_exps;

Line 295: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');

291: EXCEPTION
292: when APP_EXCEPTION.RECORD_LOCK_EXCEPTION then
293: x_err_code := 1;
294: x_return_status := 'Could not lock encumbrances';
295: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');
296: END release;
297:
298:
299: ----------------------------------------------------------------------------

Line 326: fnd_message.set_name ('PA', 'PA_TR_EPE_REWORK_ONLY_SUBMIT');

322:
323: if (x_orig_group.encumbrance_group_status_code <> 'SUBMITTED') then
324: x_err_code := 1;
325: x_return_status := 'Can only rework Submitted group';
326: fnd_message.set_name ('PA', 'PA_TR_EPE_REWORK_ONLY_SUBMIT');
327: end if;
328:
329: -- make sure the encumbrances are not locked before making the change
330: open lock_exps;

Line 346: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');

342: EXCEPTION
343: when APP_EXCEPTION.RECORD_LOCK_EXCEPTION then
344: x_err_code := 1;
345: x_return_status := 'Could not lock encumbrances';
346: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');
347: END rework;
348:
349: ----------------------------------------------------------------------------
350:

Line 394: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_ONLY_WORK');

390: -- Check that the group being submitted was 'WORKING' to begin with.
391: if (x_orig_group.encumbrance_group_status_code <> 'WORKING') then
392: x_err_code := 1;
393: x_return_status := 'Can only submit working';
394: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_ONLY_WORK');
395: -- app_exception.raise_exception;
396: return;
397: end if;
398:

Line 413: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_NO_ITEMS');

409: fetch count_ei into x_count;
410: if (x_count = 0) then
411: x_err_code := 1;
412: x_return_status := 'Exp items must exist';
413: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_NO_ITEMS');
414: -- app_exception.raise_exception;
415: return;
416: end if;
417: END;

Line 444: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_CTRL_CNT');

440:
441: if (x_count <> x_orig_group.control_count) then
442: x_err_code := 1;
443: x_return_status := 'Control count does not match actual count';
444: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_CTRL_CNT');
445: return;
446: end if;
447: end if;
448:

Line 457: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_CTRL_AMTS');

453:
454: if (x_total <> x_orig_group.control_total_amount) then
455: x_err_code := 1;
456: x_return_status := 'Control total does not match actual total';
457: fnd_message.set_name ('PA', 'PA_TR_EPE_SUBMIT_CTRL_AMTS');
458: return;
459: end if;
460: end if;
461:

Line 479: fnd_message.set_name('PA', 'PA_TR_EPE_SUBMIT_NULL_QTY');

475: fetch null_qty into number_of_nulls;
476: if (number_of_nulls > 0) then
477: x_err_code := 1;
478: x_return_status := 'Expenditure items have null quantities';
479: fnd_message.set_name('PA', 'PA_TR_EPE_SUBMIT_NULL_QTY');
480: return ;
481: end if;
482: END;
483:

Line 516: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');

512: EXCEPTION
513: when APP_EXCEPTION.RECORD_LOCK_EXCEPTION then
514: x_err_code := 1;
515: x_return_status := 'Could not lock encumbrances';
516: fnd_message.set_name ('FND', 'FORM_UNABLE_TO_RESERVE_RECORD');
517: END execute_submit;
518:
519: ---------------------------------------------------------------------------
520: