DBA Data[Home] [Help]

APPS.PAY_CAL_BUS dependencies on HR_API

Line 44: hr_api.mandatory_arg_error

40: hr_utility.set_location('Entering:'|| l_proc, 10);
41: --
42: -- Ensure that all the mandatory parameter are not null
43: --
44: hr_api.mandatory_arg_error
45: (p_api_name => l_proc
46: ,p_argument => 'cost_allocation_id'
47: ,p_argument_value => p_cost_allocation_id
48: );

Line 67: hr_api.set_security_group_id

63: close csr_sec_grp;
64: --
65: -- Set the security_group_id in CLIENT_INFO
66: --
67: hr_api.set_security_group_id
68: (p_security_group_id => l_security_group_id
69: );
70: --
71: hr_utility.set_location(' Leaving:'|| l_proc, 20);

Line 104: hr_api.mandatory_arg_error

100: hr_utility.set_location('Entering:'|| l_proc, 10);
101: --
102: -- Ensure that all the mandatory parameter are not null
103: --
104: hr_api.mandatory_arg_error
105: (p_api_name => l_proc
106: ,p_argument => 'cost_allocation_id'
107: ,p_argument_value => p_cost_allocation_id
108: );

Line 110: if ( nvl(pay_cal_bus.g_cost_allocation_id, hr_api.g_number)

106: ,p_argument => 'cost_allocation_id'
107: ,p_argument_value => p_cost_allocation_id
108: );
109: --
110: if ( nvl(pay_cal_bus.g_cost_allocation_id, hr_api.g_number)
111: = p_cost_allocation_id) then
112: --
113: -- The legislation code has already been found with a previous
114: -- call to this function. Just return the value in the global

Line 202: if nvl(p_rec.cost_allocation_id, hr_api.g_number) <>

198: END IF;
199: --
200: -- p_cost_allocation_id
201: --
202: if nvl(p_rec.cost_allocation_id, hr_api.g_number) <>
203: nvl(pay_cal_shd.g_old_rec.cost_allocation_id, hr_api.g_number)
204: then
205: l_argument := 'p_rec.cost_allocation_id';
206: raise l_error;

Line 203: nvl(pay_cal_shd.g_old_rec.cost_allocation_id, hr_api.g_number)

199: --
200: -- p_cost_allocation_id
201: --
202: if nvl(p_rec.cost_allocation_id, hr_api.g_number) <>
203: nvl(pay_cal_shd.g_old_rec.cost_allocation_id, hr_api.g_number)
204: then
205: l_argument := 'p_rec.cost_allocation_id';
206: raise l_error;
207: end if;

Line 211: if nvl(p_rec.assignment_id, hr_api.g_number) <>

207: end if;
208: --
209: -- p_assignment_id
210: --
211: if nvl(p_rec.assignment_id, hr_api.g_number) <>
212: nvl(pay_cal_shd.g_old_rec.assignment_id, hr_api.g_number)
213: then
214: l_argument := 'p_rec.assignment_id';
215: raise l_error;

Line 212: nvl(pay_cal_shd.g_old_rec.assignment_id, hr_api.g_number)

208: --
209: -- p_assignment_id
210: --
211: if nvl(p_rec.assignment_id, hr_api.g_number) <>
212: nvl(pay_cal_shd.g_old_rec.assignment_id, hr_api.g_number)
213: then
214: l_argument := 'p_rec.assignment_id';
215: raise l_error;
216: end if;

Line 220: if nvl(p_rec.business_group_id, hr_api.g_number) <>

216: end if;
217: --
218: -- p_business_group_id
219: --
220: if nvl(p_rec.business_group_id, hr_api.g_number) <>
221: nvl(pay_cal_shd.g_old_rec.business_group_id, hr_api.g_number)
222: then
223: l_argument := 'p_rec.business_group_id';
224: raise l_error;

Line 221: nvl(pay_cal_shd.g_old_rec.business_group_id, hr_api.g_number)

217: --
218: -- p_business_group_id
219: --
220: if nvl(p_rec.business_group_id, hr_api.g_number) <>
221: nvl(pay_cal_shd.g_old_rec.business_group_id, hr_api.g_number)
222: then
223: l_argument := 'p_rec.business_group_id';
224: raise l_error;
225: end if;

Line 229: hr_api.argument_changed_error

225: end if;
226: --
227: EXCEPTION
228: WHEN l_error THEN
229: hr_api.argument_changed_error
230: (p_api_name => l_proc
231: ,p_argument => l_argument);
232: WHEN OTHERS THEN
233: RAISE;

Line 261: hr_api.mandatory_arg_error

257: Begin
258: --
259: -- Check that the combination_id is not null.
260: --
261: hr_api.mandatory_arg_error
262: (p_api_name => l_proc
263: ,p_argument => 'p_cost_allocation_keyflex_id'
264: ,p_argument_value => p_cost_allocation_keyflex_id
265: );

Line 305: hr_api.mandatory_arg_error

301: Begin
302: --
303: -- Check that the combination_id is not null.
304: --
305: hr_api.mandatory_arg_error
306: (p_api_name => l_proc
307: ,p_argument => 'p_assignment_id'
308: ,p_argument_value => p_assignment_id
309: );

Line 337: hr_api.mandatory_arg_error

333: Begin
334: --
335: -- Check that the proportion is not null.
336: --
337: hr_api.mandatory_arg_error
338: (p_api_name => l_proc
339: ,p_argument => 'p_proportion'
340: ,p_argument_value => p_proportion
341: );

Line 345: if ((nvl(pay_cal_shd.g_old_rec.proportion,hr_api.g_number) <> p_proportion)

341: );
342: --
343: -- Check that the proportion is between 0 and 1
344: --
345: if ((nvl(pay_cal_shd.g_old_rec.proportion,hr_api.g_number) <> p_proportion)
346: or (p_cost_allocation_id is null)) then
347: --
348: if p_proportion not between 0 and 1 then
349: fnd_message.set_name('PAY', 'PAY_50983_INVALID_PROPORTION');

Line 412: and cost_allocation_id <> nvl(p_cost_allocation_id, hr_api.g_number)

408: cursor csr_duplicate_cost_keyflex is
409: select null
410: from pay_cost_allocations_f
411: where assignment_id = p_assignment_id
412: and cost_allocation_id <> nvl(p_cost_allocation_id, hr_api.g_number)
413: and cost_allocation_keyflex_id = p_cost_allocation_keyflex_id
414: and effective_start_date <= p_validation_end_date
415: and effective_end_date >= p_validation_start_date
416: ;

Line 431: hr_api.mandatory_arg_error

427:
428: --
429: -- Check p_datetrack_mode has been set
430: --
431: hr_api.mandatory_arg_error
432: (p_api_name => l_proc
433: ,p_argument => 'datetrack_mode'
434: ,p_argument_value => p_datetrack_mode
435: );

Line 441: if p_datetrack_mode not in (hr_api.g_zap, hr_api.g_delete) then

437: --
438: -- Perform the validity check when the datetrack mode is not
439: -- ZAP or DELETE.
440: --
441: if p_datetrack_mode not in (hr_api.g_zap, hr_api.g_delete) then
442:
443: --
444: -- Check mandatory parameters have been set
445: --

Line 450: if p_datetrack_mode <> hr_api.g_insert then

446:
447: --
448: -- Note: cost_allocation_id is not yet populated when inserting.
449: --
450: if p_datetrack_mode <> hr_api.g_insert then
451:
452: hr_api.mandatory_arg_error
453: (p_api_name => l_proc
454: ,p_argument => 'cost_allocation_id'

Line 452: hr_api.mandatory_arg_error

448: -- Note: cost_allocation_id is not yet populated when inserting.
449: --
450: if p_datetrack_mode <> hr_api.g_insert then
451:
452: hr_api.mandatory_arg_error
453: (p_api_name => l_proc
454: ,p_argument => 'cost_allocation_id'
455: ,p_argument_value => p_cost_allocation_id
456: );

Line 460: hr_api.mandatory_arg_error

456: );
457:
458: end if;
459:
460: hr_api.mandatory_arg_error
461: (p_api_name => l_proc
462: ,p_argument => 'cost_allocation_keyflex_id'
463: ,p_argument_value => p_cost_allocation_keyflex_id
464: );

Line 465: hr_api.mandatory_arg_error

461: (p_api_name => l_proc
462: ,p_argument => 'cost_allocation_keyflex_id'
463: ,p_argument_value => p_cost_allocation_keyflex_id
464: );
465: hr_api.mandatory_arg_error
466: (p_api_name => l_proc
467: ,p_argument => 'assignment_id'
468: ,p_argument_value => p_assignment_id
469: );

Line 470: hr_api.mandatory_arg_error

466: (p_api_name => l_proc
467: ,p_argument => 'assignment_id'
468: ,p_argument_value => p_assignment_id
469: );
470: hr_api.mandatory_arg_error
471: (p_api_name => l_proc
472: ,p_argument => 'validation_start_date'
473: ,p_argument_value => p_validation_start_date
474: );

Line 475: hr_api.mandatory_arg_error

471: (p_api_name => l_proc
472: ,p_argument => 'validation_start_date'
473: ,p_argument_value => p_validation_start_date
474: );
475: hr_api.mandatory_arg_error
476: (p_api_name => l_proc
477: ,p_argument => 'validation_end_date'
478: ,p_argument_value => p_validation_end_date
479: );

Line 543: hr_api.mandatory_arg_error

539: Begin
540: --
541: -- Ensure that the p_datetrack_mode argument is not null
542: --
543: hr_api.mandatory_arg_error
544: (p_api_name => l_proc
545: ,p_argument => 'datetrack_mode'
546: ,p_argument_value => p_datetrack_mode
547: );

Line 553: hr_api.mandatory_arg_error

549: -- Mode will be valid, as this is checked at the start of the upd.
550: --
551: -- Ensure the arguments are not null
552: --
553: hr_api.mandatory_arg_error
554: (p_api_name => l_proc
555: ,p_argument => 'validation_start_date'
556: ,p_argument_value => p_validation_start_date
557: );

Line 559: hr_api.mandatory_arg_error

555: ,p_argument => 'validation_start_date'
556: ,p_argument_value => p_validation_start_date
557: );
558: --
559: hr_api.mandatory_arg_error
560: (p_api_name => l_proc
561: ,p_argument => 'validation_end_date'
562: ,p_argument_value => p_validation_end_date
563: );

Line 637: hr_api.mandatory_arg_error

633: Begin
634: --
635: -- Ensure that the p_datetrack_mode argument is not null
636: --
637: hr_api.mandatory_arg_error
638: (p_api_name => l_proc
639: ,p_argument => 'datetrack_mode'
640: ,p_argument_value => p_datetrack_mode
641: );

Line 646: If (p_datetrack_mode = hr_api.g_delete or

642: --
643: -- Only perform the validation if the datetrack mode is either
644: -- DELETE or ZAP
645: --
646: If (p_datetrack_mode = hr_api.g_delete or
647: p_datetrack_mode = hr_api.g_zap) then
648: --
649: --
650: -- Ensure the arguments are not null

Line 647: p_datetrack_mode = hr_api.g_zap) then

643: -- Only perform the validation if the datetrack mode is either
644: -- DELETE or ZAP
645: --
646: If (p_datetrack_mode = hr_api.g_delete or
647: p_datetrack_mode = hr_api.g_zap) then
648: --
649: --
650: -- Ensure the arguments are not null
651: --

Line 652: hr_api.mandatory_arg_error

648: --
649: --
650: -- Ensure the arguments are not null
651: --
652: hr_api.mandatory_arg_error
653: (p_api_name => l_proc
654: ,p_argument => 'validation_start_date'
655: ,p_argument_value => p_validation_start_date
656: );

Line 658: hr_api.mandatory_arg_error

654: ,p_argument => 'validation_start_date'
655: ,p_argument_value => p_validation_start_date
656: );
657: --
658: hr_api.mandatory_arg_error
659: (p_api_name => l_proc
660: ,p_argument => 'validation_end_date'
661: ,p_argument_value => p_validation_end_date
662: );

Line 664: hr_api.mandatory_arg_error

660: ,p_argument => 'validation_end_date'
661: ,p_argument_value => p_validation_end_date
662: );
663: --
664: hr_api.mandatory_arg_error
665: (p_api_name => l_proc
666: ,p_argument => 'cost_allocation_id'
667: ,p_argument_value => p_cost_allocation_id
668: );

Line 713: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

709: hr_utility.set_location('Entering:'||l_proc, 5);
710: --
711: -- Call all supporting business operations
712: --
713: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
714: --
715: chk_cost_allocation_keyflex_id
716: (p_cost_allocation_keyflex_id => p_rec.cost_allocation_keyflex_id
717: ,p_effective_date => p_effective_date);

Line 757: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

753: hr_utility.set_location('Entering:'||l_proc, 5);
754: --
755: -- Call all supporting business operations
756: --
757: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
758: --
759: chk_cost_allocation_keyflex_id
760: (p_cost_allocation_keyflex_id => p_rec.cost_allocation_keyflex_id
761: ,p_effective_date => p_effective_date);