DBA Data[Home] [Help]

APPS.PAY_SF_BUS dependencies on FND_MESSAGE

Line 54: fnd_message.set_name('PAY', 'PAY_50101_SF_CORE_ROW_EXISTS');

50: fetch csr_disallow_update into l_disallow;
51: if csr_disallow_update%found then
52: hr_utility.set_location(l_proc, 25);
53: close csr_disallow_update;
54: fnd_message.set_name('PAY', 'PAY_50101_SF_CORE_ROW_EXISTS');
55: fnd_message.raise_error;
56: end if;
57: close csr_disallow_update;
58: --

Line 55: fnd_message.raise_error;

51: if csr_disallow_update%found then
52: hr_utility.set_location(l_proc, 25);
53: close csr_disallow_update;
54: fnd_message.set_name('PAY', 'PAY_50101_SF_CORE_ROW_EXISTS');
55: fnd_message.raise_error;
56: end if;
57: close csr_disallow_update;
58: --
59: -- Check the otherwise non-updateable arguments.

Line 135: fnd_message.set_name('PAY', 'PAY_50069_ETM_LEG_BUS_NOT_NULL');

131: --
132: if p_business_group_id is not null and p_legislation_code is not null
133: then
134: hr_utility.set_location(' Leaving:'||l_proc, 10);
135: fnd_message.set_name('PAY', 'PAY_50069_ETM_LEG_BUS_NOT_NULL');
136: fnd_message.raise_error;
137: end if;
138: --
139: -- Validate business_group_id.

Line 136: fnd_message.raise_error;

132: if p_business_group_id is not null and p_legislation_code is not null
133: then
134: hr_utility.set_location(' Leaving:'||l_proc, 10);
135: fnd_message.set_name('PAY', 'PAY_50069_ETM_LEG_BUS_NOT_NULL');
136: fnd_message.raise_error;
137: end if;
138: --
139: -- Validate business_group_id.
140: --

Line 154: fnd_message.set_name('PAY', 'PAY_50070_INVALID_LEG_CODE');

150: fetch csr_valid_leg_code into l_valid;
151: if csr_valid_leg_code%notfound then
152: hr_utility.set_location(' Leaving:'||l_proc, 15);
153: close csr_valid_leg_code;
154: fnd_message.set_name('PAY', 'PAY_50070_INVALID_LEG_CODE');
155: fnd_message.raise_error;
156: end if;
157: close csr_valid_leg_code;
158: end if;

Line 155: fnd_message.raise_error;

151: if csr_valid_leg_code%notfound then
152: hr_utility.set_location(' Leaving:'||l_proc, 15);
153: close csr_valid_leg_code;
154: fnd_message.set_name('PAY', 'PAY_50070_INVALID_LEG_CODE');
155: fnd_message.raise_error;
156: end if;
157: close csr_valid_leg_code;
158: end if;
159: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 266: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');

262: fetch csr_T_formula_name_exists into l_exists;
263: if csr_T_formula_name_exists%found then
264: close csr_T_formula_name_exists;
265: hr_utility.set_location(' Leaving:'||l_proc, 10);
266: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
267: fnd_message.set_token('FORMULA_NAME', p_formula_name);
268: fnd_message.raise_error;
269: end if;
270: close csr_T_formula_name_exists;

Line 267: fnd_message.set_token('FORMULA_NAME', p_formula_name);

263: if csr_T_formula_name_exists%found then
264: close csr_T_formula_name_exists;
265: hr_utility.set_location(' Leaving:'||l_proc, 10);
266: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
267: fnd_message.set_token('FORMULA_NAME', p_formula_name);
268: fnd_message.raise_error;
269: end if;
270: close csr_T_formula_name_exists;
271: elsif p_template_type = 'U' then

Line 268: fnd_message.raise_error;

264: close csr_T_formula_name_exists;
265: hr_utility.set_location(' Leaving:'||l_proc, 10);
266: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
267: fnd_message.set_token('FORMULA_NAME', p_formula_name);
268: fnd_message.raise_error;
269: end if;
270: close csr_T_formula_name_exists;
271: elsif p_template_type = 'U' then
272: open csr_U_formula_name_exists;

Line 277: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');

273: fetch csr_U_formula_name_exists into l_exists;
274: if csr_U_formula_name_exists%found then
275: hr_utility.set_location(' Leaving:'||l_proc, 15);
276: close csr_U_formula_name_exists;
277: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
278: fnd_message.set_token('FORMULA_NAME', p_formula_name);
279: fnd_message.raise_error;
280: end if;
281: close csr_U_formula_name_exists;

Line 278: fnd_message.set_token('FORMULA_NAME', p_formula_name);

274: if csr_U_formula_name_exists%found then
275: hr_utility.set_location(' Leaving:'||l_proc, 15);
276: close csr_U_formula_name_exists;
277: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
278: fnd_message.set_token('FORMULA_NAME', p_formula_name);
279: fnd_message.raise_error;
280: end if;
281: close csr_U_formula_name_exists;
282: end if;

Line 279: fnd_message.raise_error;

275: hr_utility.set_location(' Leaving:'||l_proc, 15);
276: close csr_U_formula_name_exists;
277: fnd_message.set_name('PAY', 'PAY_50102_SF_FORMULA_EXISTS');
278: fnd_message.set_token('FORMULA_NAME', p_formula_name);
279: fnd_message.raise_error;
280: end if;
281: close csr_U_formula_name_exists;
282: end if;
283: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 319: fnd_message.set_name('PAY', 'PAY_50082_ETM_BAD_TEMP_TYPE');

315: ,p_lookup_code => p_template_type
316: )
317: then
318: hr_utility.set_location(' Leaving:'||l_proc, 10);
319: fnd_message.set_name('PAY', 'PAY_50082_ETM_BAD_TEMP_TYPE');
320: fnd_message.set_token('TEMPLATE_TYPE', p_template_type);
321: fnd_message.raise_error;
322: end if;
323: --

Line 320: fnd_message.set_token('TEMPLATE_TYPE', p_template_type);

316: )
317: then
318: hr_utility.set_location(' Leaving:'||l_proc, 10);
319: fnd_message.set_name('PAY', 'PAY_50082_ETM_BAD_TEMP_TYPE');
320: fnd_message.set_token('TEMPLATE_TYPE', p_template_type);
321: fnd_message.raise_error;
322: end if;
323: --
324: -- The legislation_code must be null and the business_group_id

Line 321: fnd_message.raise_error;

317: then
318: hr_utility.set_location(' Leaving:'||l_proc, 10);
319: fnd_message.set_name('PAY', 'PAY_50082_ETM_BAD_TEMP_TYPE');
320: fnd_message.set_token('TEMPLATE_TYPE', p_template_type);
321: fnd_message.raise_error;
322: end if;
323: --
324: -- The legislation_code must be null and the business_group_id
325: -- not null if the template_type is 'U'.

Line 331: fnd_message.set_name('PAY', 'PAY_50081_ETM_BAD_BUS_GROUP');

327: if p_template_type = 'U' and
328: (p_legislation_code is not null or p_business_group_id is null)
329: then
330: hr_utility.set_location(' Leaving:'||l_proc, 20);
331: fnd_message.set_name('PAY', 'PAY_50081_ETM_BAD_BUS_GROUP');
332: fnd_message.raise_error;
333: end if;
334: hr_utility.set_location(' Leaving:'||l_proc, 20);
335: End chk_template_type;

Line 332: fnd_message.raise_error;

328: (p_legislation_code is not null or p_business_group_id is null)
329: then
330: hr_utility.set_location(' Leaving:'||l_proc, 20);
331: fnd_message.set_name('PAY', 'PAY_50081_ETM_BAD_BUS_GROUP');
332: fnd_message.raise_error;
333: end if;
334: hr_utility.set_location(' Leaving:'||l_proc, 20);
335: End chk_template_type;
336: -- ----------------------------------------------------------------------------

Line 413: fnd_message.set_name('PAY', 'PAY_50103_SF_INVALID_DELETE');

409: --
410: hr_utility.set_location(' Leaving:'||l_proc, 50);
411: exception
412: when l_error then
413: fnd_message.set_name('PAY', 'PAY_50103_SF_INVALID_DELETE');
414: fnd_message.raise_error;
415: when others then
416: hr_utility.set_location(' Leaving:'||l_proc, 60);
417: raise;

Line 414: fnd_message.raise_error;

410: hr_utility.set_location(' Leaving:'||l_proc, 50);
411: exception
412: when l_error then
413: fnd_message.set_name('PAY', 'PAY_50103_SF_INVALID_DELETE');
414: fnd_message.raise_error;
415: when others then
416: hr_utility.set_location(' Leaving:'||l_proc, 60);
417: raise;
418: End chk_delete;