DBA Data[Home] [Help]

APPS.AME_GPI_BUS dependencies on FND_MESSAGE

Line 255: fnd_message.set_name('PER','AME_400618_INV_APG_MEM_TXNTYP');

251: end if;
252: close C_Sel2;
253: -- if all approver types are allowed for the current transaction ,then return
254: if l_config_value = 'no' then
255: fnd_message.set_name('PER','AME_400618_INV_APG_MEM_TXNTYP');
256: fnd_message.raise_error;
257: end if;
258: end loop;
259: end if;

Line 256: fnd_message.raise_error;

252: close C_Sel2;
253: -- if all approver types are allowed for the current transaction ,then return
254: if l_config_value = 'no' then
255: fnd_message.set_name('PER','AME_400618_INV_APG_MEM_TXNTYP');
256: fnd_message.raise_error;
257: end if;
258: end loop;
259: end if;
260: hr_utility.set_location(' Leaving:'||l_proc,30);

Line 332: fnd_message.set_name('PER','AME_400557_INVALID_APG_ID');

328: open C_Sel1;
329: fetch C_Sel1 into l_count;
330: close C_Sel1;
331: if l_count = 0 then
332: fnd_message.set_name('PER','AME_400557_INVALID_APG_ID');
333: fnd_message.raise_error;
334: end if;
335: -- Check if the approval_group exists and has is_static = 'Y'
336: open C_Sel2;

Line 333: fnd_message.raise_error;

329: fetch C_Sel1 into l_count;
330: close C_Sel1;
331: if l_count = 0 then
332: fnd_message.set_name('PER','AME_400557_INVALID_APG_ID');
333: fnd_message.raise_error;
334: end if;
335: -- Check if the approval_group exists and has is_static = 'Y'
336: open C_Sel2;
337: fetch C_Sel2 into l_count;

Line 340: fnd_message.set_name('PER','AME_400801_INV_STATIC_APG');

336: open C_Sel2;
337: fetch C_Sel2 into l_count;
338: close C_Sel2;
339: if l_count = 0 then
340: fnd_message.set_name('PER','AME_400801_INV_STATIC_APG');
341: fnd_message.raise_error;
342: end if;
343: hr_utility.set_location(' Leaving:'||l_proc,30);
344: exception

Line 341: fnd_message.raise_error;

337: fetch C_Sel2 into l_count;
338: close C_Sel2;
339: if l_count = 0 then
340: fnd_message.set_name('PER','AME_400801_INV_STATIC_APG');
341: fnd_message.raise_error;
342: end if;
343: hr_utility.set_location(' Leaving:'||l_proc,30);
344: exception
345: when app_exception.application_exception then

Line 395: fnd_message.set_name('PER','AME_400567_INV_APG_ITM_PAR_NAM');

391: ,p_argument_value => p_parameter_name
392: );
393: -- Check if the parameter_name is in ('OAM_group_id','wf_roles_name')
394: if p_parameter_name not in ('OAM_group_id','wf_roles_name') then
395: fnd_message.set_name('PER','AME_400567_INV_APG_ITM_PAR_NAM');
396: fnd_message.raise_error;
397: end if;
398: hr_utility.set_location(' Leaving:'||l_proc,30);
399: exception

Line 396: fnd_message.raise_error;

392: );
393: -- Check if the parameter_name is in ('OAM_group_id','wf_roles_name')
394: if p_parameter_name not in ('OAM_group_id','wf_roles_name') then
395: fnd_message.set_name('PER','AME_400567_INV_APG_ITM_PAR_NAM');
396: fnd_message.raise_error;
397: end if;
398: hr_utility.set_location(' Leaving:'||l_proc,30);
399: exception
400: when app_exception.application_exception then

Line 484: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');

480: open C_Sel1;
481: fetch C_Sel1 into l_count;
482: close C_Sel1;
483: if (l_count = 0) then
484: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');
485: fnd_message.raise_error;
486: end if;
487: /*get_allowed_nested_groups
488: (

Line 485: fnd_message.raise_error;

481: fetch C_Sel1 into l_count;
482: close C_Sel1;
483: if (l_count = 0) then
484: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');
485: fnd_message.raise_error;
486: end if;
487: /*get_allowed_nested_groups
488: (
489: p_approval_group_id => p_approval_group_id

Line 504: fnd_message.set_name('AME','NESTED_GROUP_INVALID');

500: end if;
501: end loop;
502: if l_parameter_allowed = false then
503: hr_utility.set_location('Leaving:'|| l_proc, 20);
504: fnd_message.set_name('AME','NESTED_GROUP_INVALID');
505: fnd_message.raise_error;
506: end if;
507: */
508: if not ( is_nesting_allowed(p_group => p_approval_group_id

Line 505: fnd_message.raise_error;

501: end loop;
502: if l_parameter_allowed = false then
503: hr_utility.set_location('Leaving:'|| l_proc, 20);
504: fnd_message.set_name('AME','NESTED_GROUP_INVALID');
505: fnd_message.raise_error;
506: end if;
507: */
508: if not ( is_nesting_allowed(p_group => p_approval_group_id
509: ,p_nest => to_number(p_parameter)

Line 513: fnd_message.set_name('PER','AME_400569_NEST_APG_NOT_ALLOW');

509: ,p_nest => to_number(p_parameter)
510: )
511: ) then
512: hr_utility.set_location('Leaving:'|| l_proc, 20);
513: fnd_message.set_name('PER','AME_400569_NEST_APG_NOT_ALLOW');
514: fnd_message.raise_error;
515: end if;
516:
517: elsif p_parameter_name = 'wf_roles_name' then

Line 514: fnd_message.raise_error;

510: )
511: ) then
512: hr_utility.set_location('Leaving:'|| l_proc, 20);
513: fnd_message.set_name('PER','AME_400569_NEST_APG_NOT_ALLOW');
514: fnd_message.raise_error;
515: end if;
516:
517: elsif p_parameter_name = 'wf_roles_name' then
518: open C_Sel2;

Line 522: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');

518: open C_Sel2;
519: fetch C_Sel2 into l_count;
520: close C_Sel2;
521: if (l_count = 0) then
522: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');
523: fnd_message.raise_error;
524: end if;
525: end if;
526: hr_utility.set_location(' Leaving:'||l_proc,30);

Line 523: fnd_message.raise_error;

519: fetch C_Sel2 into l_count;
520: close C_Sel2;
521: if (l_count = 0) then
522: fnd_message.set_name('PER','AME_400568_INV_APG_ITM_PARAM');
523: fnd_message.raise_error;
524: end if;
525: end if;
526: hr_utility.set_location(' Leaving:'||l_proc,30);
527: exception

Line 576: fnd_message.set_name('PER','AME_400565_INVALID_ORDER_NUM');

572: );
573: -- check if order_number is negative
574: --
575: if p_order_number <=0 then
576: fnd_message.set_name('PER','AME_400565_INVALID_ORDER_NUM');
577: fnd_message.raise_error;
578: end if;
579: hr_utility.set_location(' Leaving:'||l_proc,30);
580: exception

Line 577: fnd_message.raise_error;

573: -- check if order_number is negative
574: --
575: if p_order_number <=0 then
576: fnd_message.set_name('PER','AME_400565_INVALID_ORDER_NUM');
577: fnd_message.raise_error;
578: end if;
579: hr_utility.set_location(' Leaving:'||l_proc,30);
580: exception
581: when app_exception.application_exception then

Line 655: fnd_message.set_name('PER','AME_400570_APG_ITM_NON_UNIQ');

651: open C_Sel1;
652: fetch C_Sel1 into l_count;
653: close C_Sel1;
654: if (l_count <> 0) then
655: fnd_message.set_name('PER','AME_400570_APG_ITM_NON_UNIQ');
656: fnd_message.raise_error;
657: end if;
658: hr_utility.set_location(' Leaving:'||l_proc,30);
659: exception

Line 656: fnd_message.raise_error;

652: fetch C_Sel1 into l_count;
653: close C_Sel1;
654: if (l_count <> 0) then
655: fnd_message.set_name('PER','AME_400570_APG_ITM_NON_UNIQ');
656: fnd_message.raise_error;
657: end if;
658: hr_utility.set_location(' Leaving:'||l_proc,30);
659: exception
660: when app_exception.application_exception then

Line 723: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');

719: (p_approval_group_item_id => p_rec.approval_group_item_id
720: ,p_effective_date => p_effective_date
721: ,p_object_version_number => p_rec.object_version_number
722: ) THEN
723: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
724: fnd_message.set_token('PROCEDURE ', l_proc);
725: fnd_message.set_token('STEP ', '5');
726: fnd_message.raise_error;
727: END IF;

Line 724: fnd_message.set_token('PROCEDURE ', l_proc);

720: ,p_effective_date => p_effective_date
721: ,p_object_version_number => p_rec.object_version_number
722: ) THEN
723: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
724: fnd_message.set_token('PROCEDURE ', l_proc);
725: fnd_message.set_token('STEP ', '5');
726: fnd_message.raise_error;
727: END IF;
728: --

Line 725: fnd_message.set_token('STEP ', '5');

721: ,p_object_version_number => p_rec.object_version_number
722: ) THEN
723: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
724: fnd_message.set_token('PROCEDURE ', l_proc);
725: fnd_message.set_token('STEP ', '5');
726: fnd_message.raise_error;
727: END IF;
728: --
729: -- EDIT_HERE: Add checks to ensure non-updateable args have

Line 726: fnd_message.raise_error;

722: ) THEN
723: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
724: fnd_message.set_token('PROCEDURE ', l_proc);
725: fnd_message.set_token('STEP ', '5');
726: fnd_message.raise_error;
727: END IF;
728: --
729: -- EDIT_HERE: Add checks to ensure non-updateable args have
730: -- not been updated.

Line 856: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');

852: --
853: -- An unhandled or unexpected error has occurred which
854: -- we must report
855: --
856: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
857: fnd_message.set_token('PROCEDURE', l_proc);
858: fnd_message.set_token('STEP','15');
859: fnd_message.raise_error;
860: End dt_update_validate;

Line 857: fnd_message.set_token('PROCEDURE', l_proc);

853: -- An unhandled or unexpected error has occurred which
854: -- we must report
855: --
856: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
857: fnd_message.set_token('PROCEDURE', l_proc);
858: fnd_message.set_token('STEP','15');
859: fnd_message.raise_error;
860: End dt_update_validate;
861: --

Line 858: fnd_message.set_token('STEP','15');

854: -- we must report
855: --
856: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
857: fnd_message.set_token('PROCEDURE', l_proc);
858: fnd_message.set_token('STEP','15');
859: fnd_message.raise_error;
860: End dt_update_validate;
861: --
862: -- ----------------------------------------------------------------------------

Line 859: fnd_message.raise_error;

855: --
856: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
857: fnd_message.set_token('PROCEDURE', l_proc);
858: fnd_message.set_token('STEP','15');
859: fnd_message.raise_error;
860: End dt_update_validate;
861: --
862: -- ----------------------------------------------------------------------------
863: -- |--------------------------< dt_delete_validate >--------------------------|

Line 953: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');

949: --
950: -- An unhandled or unexpected error has occurred which
951: -- we must report
952: --
953: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
954: fnd_message.set_token('PROCEDURE', l_proc);
955: fnd_message.set_token('STEP','15');
956: fnd_message.raise_error;
957: --

Line 954: fnd_message.set_token('PROCEDURE', l_proc);

950: -- An unhandled or unexpected error has occurred which
951: -- we must report
952: --
953: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
954: fnd_message.set_token('PROCEDURE', l_proc);
955: fnd_message.set_token('STEP','15');
956: fnd_message.raise_error;
957: --
958: End dt_delete_validate;

Line 955: fnd_message.set_token('STEP','15');

951: -- we must report
952: --
953: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
954: fnd_message.set_token('PROCEDURE', l_proc);
955: fnd_message.set_token('STEP','15');
956: fnd_message.raise_error;
957: --
958: End dt_delete_validate;
959: --

Line 956: fnd_message.raise_error;

952: --
953: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
954: fnd_message.set_token('PROCEDURE', l_proc);
955: fnd_message.set_token('STEP','15');
956: fnd_message.raise_error;
957: --
958: End dt_delete_validate;
959: --
960: -- ----------------------------------------------------------------------------