DBA Data[Home] [Help]

APPS.HR_NMF_BUS dependencies on HR_API

Line 47: hr_api.mandatory_arg_error

43: end if;
44: --
45: -- Ensure that all the mandatory parameter are not null
46: --
47: hr_api.mandatory_arg_error
48: (p_api_name => l_proc
49: ,p_argument => 'name_format_id'
50: ,p_argument_value => p_name_format_id
51: );

Line 53: if ( nvl(hr_nmf_bus.g_name_format_id, hr_api.g_number)

49: ,p_argument => 'name_format_id'
50: ,p_argument_value => p_name_format_id
51: );
52: --
53: if ( nvl(hr_nmf_bus.g_name_format_id, hr_api.g_number)
54: = p_name_format_id) then
55: --
56: -- The legislation code has already been found with a previous
57: -- call to this function. Just return the value in the global

Line 208: if nvl(p_rec.format_name,hr_api.g_varchar2) <> hr_nmf_shd.g_old_rec.format_name then

204: fnd_message.set_token('STEP ', '5');
205: fnd_message.raise_error;
206: END IF;
207: --
208: if nvl(p_rec.format_name,hr_api.g_varchar2) <> hr_nmf_shd.g_old_rec.format_name then
209: l_argument := 'format_name';
210: raise l_error;
211: end if;
212: --

Line 217: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>

213: if g_debug then
214: hr_utility.set_location(l_proc, 20);
215: end if;
216: --
217: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
218: nvl(hr_nmf_shd.g_old_rec.legislation_code ,hr_api.g_varchar2)
219: then
220: l_argument := 'legislation_code';
221: raise l_error;

Line 218: nvl(hr_nmf_shd.g_old_rec.legislation_code ,hr_api.g_varchar2)

214: hr_utility.set_location(l_proc, 20);
215: end if;
216: --
217: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
218: nvl(hr_nmf_shd.g_old_rec.legislation_code ,hr_api.g_varchar2)
219: then
220: l_argument := 'legislation_code';
221: raise l_error;
222: end if;

Line 228: if nvl(p_rec.user_format_choice,hr_api.g_varchar2) <>

224: if g_debug then
225: hr_utility.set_location(l_proc, 30);
226: end if;
227: --
228: if nvl(p_rec.user_format_choice,hr_api.g_varchar2) <>
229: hr_nmf_shd.g_old_rec.user_format_choice then
230: l_argument := 'user_format_choice';
231: raise l_error;
232: end if;

Line 239: hr_api.argument_changed_error

235: hr_utility.set_location(' Leaving:'||l_proc, 100);
236: end if;
237: exception
238: when l_error then
239: hr_api.argument_changed_error
240: (p_api_name => l_proc
241: ,p_argument => l_argument
242: );
243: when others then

Line 288: hr_api.mandatory_arg_error

284: --
285: -----------------------------------
286: -- Check name format id not null --
287: -----------------------------------
288: hr_api.mandatory_arg_error
289: (p_api_name => l_proc,
290: p_argument => 'p_name_format_id',
291: p_argument_value => p_name_format_id);
292: --

Line 339: hr_api.mandatory_arg_error

335: end if;
336: --
337: -- Check mandatory parameters have been set
338: --
339: hr_api.mandatory_arg_error
340: (p_api_name => l_proc
341: ,p_argument => 'effective date'
342: ,p_argument_value => p_effective_date
343: );

Line 345: hr_api.mandatory_arg_error

341: ,p_argument => 'effective date'
342: ,p_argument_value => p_effective_date
343: );
344: --
345: hr_api.mandatory_arg_error
346: (p_api_name => l_proc,
347: p_argument => 'format name',
348: p_argument_value => p_format_name);
349: --

Line 359: if hr_api.not_exists_in_hrstanlookups

355: if ((l_api_updating and
356: hr_nmf_shd.g_old_rec.format_name <> p_format_name) or
357: (not l_api_updating)) then
358: --
359: if hr_api.not_exists_in_hrstanlookups
360: (p_effective_date => p_effective_date
361: ,p_lookup_type => 'PER_NAME_FORMATS'
362: ,p_lookup_code => p_format_name) then
363: --

Line 496: hr_api.mandatory_arg_error

492: end if;
493: --
494: -- Check mandatory parameters have been set
495: --
496: hr_api.mandatory_arg_error
497: (p_api_name => l_proc
498: ,p_argument => 'effective date'
499: ,p_argument_value => p_effective_date
500: );

Line 502: hr_api.mandatory_arg_error

498: ,p_argument => 'effective date'
499: ,p_argument_value => p_effective_date
500: );
501: --
502: hr_api.mandatory_arg_error
503: (p_api_name => l_proc
504: ,p_argument => 'user format choice'
505: ,p_argument_value => p_user_format_choice
506: );

Line 508: hr_api.mandatory_arg_error

504: ,p_argument => 'user format choice'
505: ,p_argument_value => p_user_format_choice
506: );
507: --
508: hr_api.mandatory_arg_error
509: (p_api_name => l_proc
510: ,p_argument => 'format name'
511: ,p_argument_value => p_format_name
512: );

Line 522: if hr_api.not_exists_in_hrstanlookups

518: if p_user_format_choice is not null then
519: --
520: -- validate the formart choice represents a valid lookup
521: --
522: if hr_api.not_exists_in_hrstanlookups
523: (p_effective_date => p_effective_date
524: ,p_lookup_type => 'PER_NAME_FORMAT_CHOICE'
525: ,p_lookup_code => p_user_format_choice) then
526:

Line 542: hr_api.mandatory_arg_error

538: if p_format_name = 'DISPLAY_NAME' OR p_format_name = 'LIST_NAME' then
539: --
540: -- Ensure user_format_choice is not null
541: --
542: hr_api.mandatory_arg_error
543: (p_api_name => l_proc,
544: p_argument => 'p_user_format_choice',
545: p_argument_value => p_user_format_choice);
546: end if;

Line 623: hr_api.mandatory_arg_error

619: end if;
620: --
621: -- Check mandatory parameters have been set
622: --
623: hr_api.mandatory_arg_error
624: (p_api_name => l_proc
625: ,p_argument => 'effective date'
626: ,p_argument_value => p_effective_date
627: );

Line 659: if hr_api.not_exists_in_hrstanlookups

655: if l_token is null then
656: fnd_message.set_name('PER','HR_449573_FORMAT_MASK_INV');
657: fnd_message.raise_error;
658: else
659: if hr_api.not_exists_in_hrstanlookups
660: (p_effective_date => p_effective_date
661: ,p_lookup_type => 'PER_FORMAT_MASK_TOKENS'
662: ,p_lookup_code => l_token) then
663: --

Line 744: hr_api.mandatory_arg_error

740: end if;
741: --
742: -- Check mandatory parameters have been set
743: --
744: hr_api.mandatory_arg_error
745: (p_api_name => l_proc
746: ,p_argument => 'format name'
747: ,p_argument_value => p_format_name
748: );

Line 749: hr_api.mandatory_arg_error

745: (p_api_name => l_proc
746: ,p_argument => 'format name'
747: ,p_argument_value => p_format_name
748: );
749: hr_api.mandatory_arg_error
750: (p_api_name => l_proc
751: ,p_argument => 'user format choice'
752: ,p_argument_value => p_user_format_choice
753: );