DBA Data[Home] [Help]

APPS.PAY_BTL_BUS dependencies on HR_API

Line 343: -- if (p_segment(i) is not null or p_segment(i) = hr_api.g_varchar2) then

339: -- -- check whether any segment is not required for flexfield and value has been
340: -- -- assigned for the same.
341: -- for i in 1..30 loop
342: -- if l_required_segment(i) = 'N' then
343: -- if (p_segment(i) is not null or p_segment(i) = hr_api.g_varchar2) then
344: -- --
345: -- hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
346: -- hr_utility.set_message_token('PROCEDURE', l_proc);
347: -- hr_utility.set_message_token('STEP','20');

Line 390: hr_api.mandatory_arg_error

386: hr_utility.set_location('Entering:'|| l_proc, 10);
387: --
388: -- Ensure that all the mandatory parameter are not null
389: --
390: hr_api.mandatory_arg_error
391: (p_api_name => l_proc
392: ,p_argument => 'batch_line_id'
393: ,p_argument_value => p_batch_line_id
394: );

Line 413: hr_api.set_security_group_id

409: close csr_sec_grp;
410: --
411: -- Set the security_group_id in CLIENT_INFO
412: --
413: hr_api.set_security_group_id
414: (p_security_group_id => l_security_group_id
415: );
416: --
417: hr_utility.set_location(' Leaving:'|| l_proc, 20);

Line 457: hr_api.mandatory_arg_error

453: hr_utility.set_location('Entering:'|| l_proc, 10);
454: --
455: -- Ensure that all the mandatory parameter are not null
456: --
457: hr_api.mandatory_arg_error
458: (p_api_name => l_proc
459: ,p_argument => 'batch_line_id'
460: ,p_argument_value => p_batch_line_id
461: );

Line 463: if ( nvl(pay_btl_bus.g_batch_line_id, hr_api.g_number)

459: ,p_argument => 'batch_line_id'
460: ,p_argument_value => p_batch_line_id
461: );
462: --
463: if ( nvl(pay_btl_bus.g_batch_line_id, hr_api.g_number)
464: = p_batch_line_id) then
465: --
466: -- The legislation code has already been found with a previous
467: -- call to this function. Just return the value in the global

Line 553: if nvl(p_rec.batch_id, hr_api.g_number) <>

549: END IF;
550: --
551: hr_utility.set_location(l_proc, 10);
552: --
553: if nvl(p_rec.batch_id, hr_api.g_number) <>
554: pay_btl_shd.g_old_rec.batch_id then
555: l_argument := 'batch_id';
556: raise l_error;
557: end if;

Line 563: hr_api.argument_changed_error

559: hr_utility.set_location(l_proc, 20);
560: --
561: EXCEPTION
562: WHEN l_error THEN
563: hr_api.argument_changed_error
564: (p_api_name => l_proc
565: ,p_argument => l_argument);
566: WHEN OTHERS THEN
567: RAISE;

Line 671: hr_api.mandatory_arg_error

667: hr_utility.set_location('Entering:'||l_proc, 1);
668: --
669: -- Check mandatory batch_id is set
670: --
671: hr_api.mandatory_arg_error
672: (p_api_name => l_proc
673: ,p_argument => 'BATCH_ID'
674: ,p_argument_value => p_batch_id
675: );

Line 770: hr_api.mandatory_arg_error

766: hr_utility.set_location('Entering:'||l_proc, 1);
767: --
768: -- Check mandatory batch_name exists
769: --
770: hr_api.mandatory_arg_error
771: (p_api_name => l_proc
772: ,p_argument => 'batch_line_status'
773: ,p_argument_value => p_batch_line_status
774: );

Line 778: hr_api.mandatory_arg_error

774: );
775: --
776: -- Check mandatory session_date exists
777: --
778: hr_api.mandatory_arg_error
779: (p_api_name => l_proc
780: ,p_argument => 'session_date'
781: ,p_argument_value => p_session_date
782: );

Line 795: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>

791: --
792: -- Only proceed with SQL validation if absolutely necessary
793: --
794: if ((l_api_updating and
795: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>
796: nvl(p_batch_line_status,hr_api.g_varchar2))
797: or (NOT l_api_updating)) then
798: --
799: hr_utility.set_location(l_proc,30);

Line 796: nvl(p_batch_line_status,hr_api.g_varchar2))

792: -- Only proceed with SQL validation if absolutely necessary
793: --
794: if ((l_api_updating and
795: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>
796: nvl(p_batch_line_status,hr_api.g_varchar2))
797: or (NOT l_api_updating)) then
798: --
799: hr_utility.set_location(l_proc,30);
800: --

Line 803: if hr_api.not_exists_in_hr_lookups

799: hr_utility.set_location(l_proc,30);
800: --
801: -- Validate against the hr_lookup.
802: --
803: if hr_api.not_exists_in_hr_lookups
804: (p_effective_date => p_session_date,
805: p_lookup_type => 'BATCH_STATUS',
806: p_lookup_code => p_batch_line_status) then
807: pay_btl_shd.constraint_error('PAY_BCHL_BATCH_LINE_STATUS_CHK');

Line 812: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>

808: end if;
809: --
810: --
811: if ((l_api_updating) and
812: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>
813: nvl(p_batch_line_status,hr_api.g_varchar2)) then
814: --
815: IF pay_btl_shd.g_old_rec.batch_line_status in ('U') then
816: if p_batch_line_status not in ('U') then

Line 813: nvl(p_batch_line_status,hr_api.g_varchar2)) then

809: --
810: --
811: if ((l_api_updating) and
812: nvl(pay_btl_shd.g_old_rec.batch_line_status,hr_api.g_varchar2) <>
813: nvl(p_batch_line_status,hr_api.g_varchar2)) then
814: --
815: IF pay_btl_shd.g_old_rec.batch_line_status in ('U') then
816: if p_batch_line_status not in ('U') then
817: Fnd_Message.Set_Name('PER', 'HR_289267_STATUS_INVALID');

Line 921: hr_api.mandatory_arg_error

917: hr_utility.set_location('Entering:'||l_proc, 1);
918: --
919: -- Check mandatory session_date exists
920: --
921: hr_api.mandatory_arg_error
922: (p_api_name => l_proc
923: ,p_argument => 'session_date'
924: ,p_argument_value => p_session_date
925: );

Line 938: nvl(pay_btl_shd.g_old_rec.entry_type,hr_api.g_varchar2) <>

934: --
935: -- Only proceed with SQL validation if absolutely necessary
936: --
937: if ((l_api_updating and
938: nvl(pay_btl_shd.g_old_rec.entry_type,hr_api.g_varchar2) <>
939: nvl(p_entry_type,hr_api.g_varchar2))
940: or (NOT l_api_updating)) then
941: --
942: hr_utility.set_location(l_proc,30);

Line 939: nvl(p_entry_type,hr_api.g_varchar2))

935: -- Only proceed with SQL validation if absolutely necessary
936: --
937: if ((l_api_updating and
938: nvl(pay_btl_shd.g_old_rec.entry_type,hr_api.g_varchar2) <>
939: nvl(p_entry_type,hr_api.g_varchar2))
940: or (NOT l_api_updating)) then
941: --
942: hr_utility.set_location(l_proc,30);
943: --

Line 952: if hr_api.not_exists_in_hr_lookups

948: hr_utility.set_location(l_proc,35);
949: --
950: -- Validate against the hr_lookup.
951: --
952: if hr_api.not_exists_in_hr_lookups
953: (p_effective_date => p_session_date,
954: p_lookup_type => 'ENTRY_TYPE',
955: p_lookup_code => p_entry_type) then
956: pay_btl_shd.constraint_error('PAY_BCHL_ENTRY_TYPE_CHK');

Line 1014: hr_api.mandatory_arg_error

1010: hr_utility.set_location('Entering:'||l_proc, 1);
1011: --
1012: -- Check mandatory batch_line_id exists
1013: --
1014: hr_api.mandatory_arg_error
1015: (p_api_name => l_proc
1016: ,p_argument => 'batch_line_id'
1017: ,p_argument_value => p_batch_line_id
1018: );