DBA Data[Home] [Help]

APPS.PAY_PAP_BUS dependencies on FND_MESSAGE

Line 153: fnd_message.set_name('PAY', 'HR_13163_PTO_DUP_PLAN_NAME');

149: --
150: IF (l_name_exists = 'Y') THEN
151:
152: hr_utility.set_location(l_proc, 20);
153: fnd_message.set_name('PAY', 'HR_13163_PTO_DUP_PLAN_NAME');
154: fnd_message.raise_error;
155:
156: ELSIF (l_name_exists = 'N') THEN
157: OPEN check_dup_tl;

Line 154: fnd_message.raise_error;

150: IF (l_name_exists = 'Y') THEN
151:
152: hr_utility.set_location(l_proc, 20);
153: fnd_message.set_name('PAY', 'HR_13163_PTO_DUP_PLAN_NAME');
154: fnd_message.raise_error;
155:
156: ELSIF (l_name_exists = 'N') THEN
157: OPEN check_dup_tl;
158: FETCH check_dup_tl INTO l_name_exists;

Line 163: fnd_message.set_name ('PAY','HR_13163_PTO_DUP_PLAN_NAME');

159: CLOSE check_dup_tl;
160:
161: IF (l_name_exists = 'Y') THEN
162: hr_utility.set_location(l_proc, 25);
163: fnd_message.set_name ('PAY','HR_13163_PTO_DUP_PLAN_NAME');
164: fnd_message.raise_error;
165: END IF;
166:
167: END IF;

Line 164: fnd_message.raise_error;

160:
161: IF (l_name_exists = 'Y') THEN
162: hr_utility.set_location(l_proc, 25);
163: fnd_message.set_name ('PAY','HR_13163_PTO_DUP_PLAN_NAME');
164: fnd_message.raise_error;
165: END IF;
166:
167: END IF;
168:

Line 229: fnd_message.set_name('PER', 'HR_289325_LEG_ACC_NOT_EXISTS');

225: --
226: -- The accrual category does not exist in the lookup.
227: --
228: hr_utility.set_location(l_proc, 20);
229: fnd_message.set_name('PER', 'HR_289325_LEG_ACC_NOT_EXISTS');
230: fnd_message.raise_error;
231:
232: END IF;
233:

Line 230: fnd_message.raise_error;

226: -- The accrual category does not exist in the lookup.
227: --
228: hr_utility.set_location(l_proc, 20);
229: fnd_message.set_name('PER', 'HR_289325_LEG_ACC_NOT_EXISTS');
230: fnd_message.raise_error;
231:
232: END IF;
233:
234: hr_utility.set_location('Leaving: '||l_proc, 90);

Line 291: fnd_message.set_name('PER', 'HR_289814_PAP_START_INVALID');

287: --
288: -- The accrual start does not exist in the lookup.
289: --
290: hr_utility.set_location(l_proc, 30);
291: fnd_message.set_name('PER', 'HR_289814_PAP_START_INVALID');
292: fnd_message.raise_error;
293:
294: END IF;
295:

Line 292: fnd_message.raise_error;

288: -- The accrual start does not exist in the lookup.
289: --
290: hr_utility.set_location(l_proc, 30);
291: fnd_message.set_name('PER', 'HR_289814_PAP_START_INVALID');
292: fnd_message.raise_error;
293:
294: END IF;
295:
296: END IF;

Line 339: fnd_message.set_name('PER', 'HR_289815_PAP_UOM_INVALID');

335: --
336: -- The accrual UOM does not exist in the lookup.
337: --
338: hr_utility.set_location(l_proc, 20);
339: fnd_message.set_name('PER', 'HR_289815_PAP_UOM_INVALID');
340: fnd_message.raise_error;
341:
342: END IF;
343:

Line 340: fnd_message.raise_error;

336: -- The accrual UOM does not exist in the lookup.
337: --
338: hr_utility.set_location(l_proc, 20);
339: fnd_message.set_name('PER', 'HR_289815_PAP_UOM_INVALID');
340: fnd_message.raise_error;
341:
342: END IF;
343:
344: hr_utility.set_location('Leaving: '||l_proc, 90);

Line 411: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');

407: --
408: -- The formula is not valid so error.
409: --
410: hr_utility.set_location(l_proc, 40);
411: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');
412: fnd_message.raise_error;
413:
414: END IF;
415:

Line 412: fnd_message.raise_error;

408: -- The formula is not valid so error.
409: --
410: hr_utility.set_location(l_proc, 40);
411: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');
412: fnd_message.raise_error;
413:
414: END IF;
415:
416: hr_utility.set_location('Leaving: '||l_proc, 90);

Line 485: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');

481: --
482: -- The formula is not valid so error.
483: --
484: hr_utility.set_location(l_proc, 30);
485: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');
486: fnd_message.raise_error;
487:
488: ELSIF l_co_formula IN ('PTO_PAYROLL_CARRYOVER'
489: ,'PTO_SIMPLE_CARRYOVER'

Line 486: fnd_message.raise_error;

482: -- The formula is not valid so error.
483: --
484: hr_utility.set_location(l_proc, 30);
485: fnd_message.set_name('PER', 'HR_289817_PAP_ACCRUAL_FF');
486: fnd_message.raise_error;
487:
488: ELSIF l_co_formula IN ('PTO_PAYROLL_CARRYOVER'
489: ,'PTO_SIMPLE_CARRYOVER'
490: ,'PTO_ROLLING_CARRYOVER'

Line 541: fnd_message.set_name('PER','HR_289819_PAP_FF_INCOMPATIBLE');

537: hr_utility.set_location(l_proc, 70);
538: --
539: -- The carryover and accrual formulae are incompatible.
540: --
541: fnd_message.set_name('PER','HR_289819_PAP_FF_INCOMPATIBLE');
542: fnd_message.set_token('CO_FF', l_co_formula);
543: fnd_message.set_token('ACCRUAL_FF', l_accrual_formula);
544: fnd_message.raise_error;
545:

Line 542: fnd_message.set_token('CO_FF', l_co_formula);

538: --
539: -- The carryover and accrual formulae are incompatible.
540: --
541: fnd_message.set_name('PER','HR_289819_PAP_FF_INCOMPATIBLE');
542: fnd_message.set_token('CO_FF', l_co_formula);
543: fnd_message.set_token('ACCRUAL_FF', l_accrual_formula);
544: fnd_message.raise_error;
545:
546: END IF;

Line 543: fnd_message.set_token('ACCRUAL_FF', l_accrual_formula);

539: -- The carryover and accrual formulae are incompatible.
540: --
541: fnd_message.set_name('PER','HR_289819_PAP_FF_INCOMPATIBLE');
542: fnd_message.set_token('CO_FF', l_co_formula);
543: fnd_message.set_token('ACCRUAL_FF', l_accrual_formula);
544: fnd_message.raise_error;
545:
546: END IF;
547:

Line 544: fnd_message.raise_error;

540: --
541: fnd_message.set_name('PER','HR_289819_PAP_FF_INCOMPATIBLE');
542: fnd_message.set_token('CO_FF', l_co_formula);
543: fnd_message.set_token('ACCRUAL_FF', l_accrual_formula);
544: fnd_message.raise_error;
545:
546: END IF;
547:
548: END IF;

Line 702: fnd_message.set_name('PER','HR_289813_PAP_INVALID_INPT_VAL');

698: CLOSE csr_chk_pet_and_paat;
699:
700: IF NOT l_valid THEN
701:
702: fnd_message.set_name('PER','HR_289813_PAP_INVALID_INPT_VAL');
703: fnd_message.raise_error;
704:
705: END IF;
706:

Line 703: fnd_message.raise_error;

699:
700: IF NOT l_valid THEN
701:
702: fnd_message.set_name('PER','HR_289813_PAP_INVALID_INPT_VAL');
703: fnd_message.raise_error;
704:
705: END IF;
706:
707: hr_utility.set_location('Leaving: '||l_proc, 90);

Line 807: fnd_message.set_name('PER','HR_289823_PAP_BAL_DIM_UPDATE');

803: -- The balance dimension has previously been set and is trying
804: -- to be updated. This is not allowed so error.
805: --
806: hr_utility.set_location(l_proc, 40);
807: fnd_message.set_name('PER','HR_289823_PAP_BAL_DIM_UPDATE');
808: fnd_message.raise_error;
809:
810:
811: END IF;

Line 808: fnd_message.raise_error;

804: -- to be updated. This is not allowed so error.
805: --
806: hr_utility.set_location(l_proc, 40);
807: fnd_message.set_name('PER','HR_289823_PAP_BAL_DIM_UPDATE');
808: fnd_message.raise_error;
809:
810:
811: END IF;
812:

Line 846: fnd_message.set_name('PER','HR_289820_PAP_DEF_BAL_INVALID');

842: -- so this would only occur when there is an internal
843: -- error with creating the defined balance).
844: --
845: hr_utility.set_location(l_proc, 80);
846: fnd_message.set_name('PER','HR_289820_PAP_DEF_BAL_INVALID');
847: fnd_message.raise_error;
848:
849: ELSIF l_dimension_name IN ('_ASG_PTO_SM_YTD'
850: ,'_ASG_PTO_DE_SM_YTD'

Line 847: fnd_message.raise_error;

843: -- error with creating the defined balance).
844: --
845: hr_utility.set_location(l_proc, 80);
846: fnd_message.set_name('PER','HR_289820_PAP_DEF_BAL_INVALID');
847: fnd_message.raise_error;
848:
849: ELSIF l_dimension_name IN ('_ASG_PTO_SM_YTD'
850: ,'_ASG_PTO_DE_SM_YTD'
851: ,'_ASG_PTO_YTD'

Line 889: fnd_message.set_name('PER', 'HR_289821_PAP_BAL_DIM_CONFLICT');

885: -- The balance dimension conflicts with the accrual
886: -- formula.
887: --
888: hr_utility.set_location(l_proc, 100);
889: fnd_message.set_name('PER', 'HR_289821_PAP_BAL_DIM_CONFLICT');
890: fnd_message.raise_error;
891:
892: END IF;
893:

Line 890: fnd_message.raise_error;

886: -- formula.
887: --
888: hr_utility.set_location(l_proc, 100);
889: fnd_message.set_name('PER', 'HR_289821_PAP_BAL_DIM_CONFLICT');
890: fnd_message.raise_error;
891:
892: END IF;
893:
894: --

Line 926: fnd_message.set_name('PER', 'HR_289822_PAP_BAL_TYPE_DIM');

922: ,'_ASG_PTO_DE_SM_YTD'
923: ,'_ASG_PTO_DE_HD_YTD')) THEN
924:
925: hr_utility.set_location(l_proc, 130);
926: fnd_message.set_name('PER', 'HR_289822_PAP_BAL_TYPE_DIM');
927: fnd_message.raise_error;
928:
929: END IF;
930:

Line 927: fnd_message.raise_error;

923: ,'_ASG_PTO_DE_HD_YTD')) THEN
924:
925: hr_utility.set_location(l_proc, 130);
926: fnd_message.set_name('PER', 'HR_289822_PAP_BAL_TYPE_DIM');
927: fnd_message.raise_error;
928:
929: END IF;
930:
931: END IF;

Line 1009: fnd_message.set_name('PER', 'HR_289816_PAP_INELIG_INVALID');

1005: --
1006: -- The ineligible period type does not exist in the lookup.
1007: --
1008: hr_utility.set_location(l_proc, 30);
1009: fnd_message.set_name('PER', 'HR_289816_PAP_INELIG_INVALID');
1010: fnd_message.raise_error;
1011:
1012: END IF;
1013:

Line 1010: fnd_message.raise_error;

1006: -- The ineligible period type does not exist in the lookup.
1007: --
1008: hr_utility.set_location(l_proc, 30);
1009: fnd_message.set_name('PER', 'HR_289816_PAP_INELIG_INVALID');
1010: fnd_message.raise_error;
1011:
1012: END IF;
1013:
1014: END IF;

Line 1083: fnd_message.set_name('PER', 'HR_289818_PAP_INELIG_FF');

1079: --
1080: -- The formula is not valid so error.
1081: --
1082: hr_utility.set_location(l_proc, 50);
1083: fnd_message.set_name('PER', 'HR_289818_PAP_INELIG_FF');
1084: fnd_message.raise_error;
1085:
1086: END IF;
1087:

Line 1084: fnd_message.raise_error;

1080: -- The formula is not valid so error.
1081: --
1082: hr_utility.set_location(l_proc, 50);
1083: fnd_message.set_name('PER', 'HR_289818_PAP_INELIG_FF');
1084: fnd_message.raise_error;
1085:
1086: END IF;
1087:
1088: END IF;

Line 1346: fnd_message.set_name('PER','HR_289740_PAP_BAD_INFO_CONTEXT');

1342: OR
1343: (p_information_category is not null and l_legislation_code ||'_'||
1344: p_accrual_category <> p_information_category)
1345: then
1346: fnd_message.set_name('PER','HR_289740_PAP_BAD_INFO_CONTEXT');
1347: fnd_message.raise_error;
1348: end if;
1349: -- error if accrual category is changing and ddf is already used.
1350: if (l_api_updating and nvl(p_accrual_category, hr_api.g_varchar2)

Line 1347: fnd_message.raise_error;

1343: (p_information_category is not null and l_legislation_code ||'_'||
1344: p_accrual_category <> p_information_category)
1345: then
1346: fnd_message.set_name('PER','HR_289740_PAP_BAD_INFO_CONTEXT');
1347: fnd_message.raise_error;
1348: end if;
1349: -- error if accrual category is changing and ddf is already used.
1350: if (l_api_updating and nvl(p_accrual_category, hr_api.g_varchar2)
1351: <> nvl(pay_pap_shd.g_old_rec.accrual_category, hr_api.g_varchar2)

Line 1354: fnd_message.set_name('PER','HR_289741_PAP_CHANGE_CATEGORY');

1350: if (l_api_updating and nvl(p_accrual_category, hr_api.g_varchar2)
1351: <> nvl(pay_pap_shd.g_old_rec.accrual_category, hr_api.g_varchar2)
1352: and pay_pap_shd.g_old_rec.information_category is not null )
1353: then
1354: fnd_message.set_name('PER','HR_289741_PAP_CHANGE_CATEGORY');
1355: fnd_message.raise_error;
1356: end if;
1357: end if;
1358: hr_utility.set_location('Leaving:'||l_proc, 100);

Line 1355: fnd_message.raise_error;

1351: <> nvl(pay_pap_shd.g_old_rec.accrual_category, hr_api.g_varchar2)
1352: and pay_pap_shd.g_old_rec.information_category is not null )
1353: then
1354: fnd_message.set_name('PER','HR_289741_PAP_CHANGE_CATEGORY');
1355: fnd_message.raise_error;
1356: end if;
1357: end if;
1358: hr_utility.set_location('Leaving:'||l_proc, 100);
1359: --

Line 1709: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');

1705: close csr_leg_code;
1706: --
1707: -- The primary key is invalid therefore we must error
1708: --
1709: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
1710: fnd_message.raise_error;
1711: --
1712: end if;
1713: --

Line 1710: fnd_message.raise_error;

1706: --
1707: -- The primary key is invalid therefore we must error
1708: --
1709: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
1710: fnd_message.raise_error;
1711: --
1712: end if;
1713: --
1714: close csr_leg_code;

Line 1761: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');

1757: close csr_sec_grp;
1758: --
1759: -- The primary key is invalid therefore we must error
1760: --
1761: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
1762: fnd_message.raise_error;
1763: end if;
1764: close csr_sec_grp;
1765: --

Line 1762: fnd_message.raise_error;

1758: --
1759: -- The primary key is invalid therefore we must error
1760: --
1761: fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
1762: fnd_message.raise_error;
1763: end if;
1764: close csr_sec_grp;
1765: --
1766: -- Set the security_group_id in CLIENT_INFO