DBA Data[Home] [Help]

APPS.PAY_ECU_BUS dependencies on HR_API

Line 47: hr_api.mandatory_arg_error

43: hr_utility.set_location('Entering:'|| l_proc, 10);
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 => 'element_class_usage_id'
50: ,p_argument_value => p_element_class_usage_id
51: );

Line 74: hr_api.set_security_group_id

70: close csr_sec_grp;
71: --
72: -- Set the security_group_id in CLIENT_INFO
73: --
74: hr_api.set_security_group_id
75: (p_security_group_id => l_security_group_id
76: );
77: --
78: -- Set the sessions legislation context in HR_SESSION_DATA

Line 80: hr_api.set_legislation_context(l_legislation_code);

76: );
77: --
78: -- Set the sessions legislation context in HR_SESSION_DATA
79: --
80: hr_api.set_legislation_context(l_legislation_code);
81: end if;
82: --
83: hr_utility.set_location(' Leaving:'|| l_proc, 20);
84: --

Line 116: hr_api.mandatory_arg_error

112: hr_utility.set_location('Entering:'|| l_proc, 10);
113: --
114: -- Ensure that all the mandatory parameter are not null
115: --
116: hr_api.mandatory_arg_error
117: (p_api_name => l_proc
118: ,p_argument => 'element_class_usage_id'
119: ,p_argument_value => p_element_class_usage_id
120: );

Line 122: if ( nvl(pay_ecu_bus.g_element_class_usage_id, hr_api.g_number)

118: ,p_argument => 'element_class_usage_id'
119: ,p_argument_value => p_element_class_usage_id
120: );
121: --
122: if ( nvl(pay_ecu_bus.g_element_class_usage_id, hr_api.g_number)
123: = p_element_class_usage_id) then
124: --
125: -- The legislation code has already been found with a previous
126: -- call to this function. Just return the value in the global

Line 248: hr_api.mandatory_arg_error

244: l_legislation_code PAY_ELEMENT_CLASS_USAGES_F.legislation_code%TYPE;
245: l_proc varchar2(72) := g_package||'chk_run_type_id';
246: --
247: Begin
248: hr_api.mandatory_arg_error
249: (p_api_name => l_proc
250: ,p_argument => 'run_type_id'
251: ,p_argument_value => p_run_type_id
252: );

Line 285: l_legislation_code := hr_api.return_legislation_code(p_business_group_id);

281: hr_utility.set_location(l_proc, 25);
282: IF (p_element_class_usage_id is not null) then
283: l_legislation_code := return_legislation_code(p_element_class_usage_id);
284: ELSE
285: l_legislation_code := hr_api.return_legislation_code(p_business_group_id);
286: END IF;
287: OPEN csr_chk_user_run_type(l_legislation_code);
288: FETCH csr_chk_user_run_type INTO l_exists;
289: IF csr_chk_user_run_type%NOTFOUND THEN

Line 405: hr_api.mandatory_arg_error

401: l_legislation_code PAY_ELEMENT_CLASS_USAGES_F.legislation_code%TYPE;
402: l_proc varchar2(72) := g_package||'chk_classification_id';
403: --
404: Begin
405: hr_api.mandatory_arg_error
406: (p_api_name => l_proc
407: ,p_argument => 'classification_id'
408: ,p_argument_value => p_classification_id
409: );

Line 441: l_legislation_code := hr_api.return_legislation_code(p_business_group_id);

437: hr_utility.set_location(l_proc, 25);
438: IF (p_element_class_usage_id is not null) then
439: l_legislation_code := return_legislation_code(p_element_class_usage_id);
440: ELSE
441: l_legislation_code := hr_api.return_legislation_code(p_business_group_id);
442: END IF;
443: OPEN csr_chk_user_ele_class(l_legislation_code);
444: FETCH csr_chk_user_ele_class INTO l_exists;
445: IF csr_chk_user_ele_class%NOTFOUND THEN

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

595: --
596: -- EDIT_HERE: Add checks to ensure non-updateable args have
597: -- not been updated.
598: --
599: if nvl(p_rec.business_group_id, hr_api.g_number) <>
600: nvl(pay_ecu_shd.g_old_rec.business_group_id, hr_api.g_number) then
601: hr_api.argument_changed_error
602: (p_api_name => l_proc
603: ,p_argument => 'BUSINESS_GROUP_ID'

Line 600: nvl(pay_ecu_shd.g_old_rec.business_group_id, hr_api.g_number) then

596: -- EDIT_HERE: Add checks to ensure non-updateable args have
597: -- not been updated.
598: --
599: if nvl(p_rec.business_group_id, hr_api.g_number) <>
600: nvl(pay_ecu_shd.g_old_rec.business_group_id, hr_api.g_number) then
601: hr_api.argument_changed_error
602: (p_api_name => l_proc
603: ,p_argument => 'BUSINESS_GROUP_ID'
604: ,p_base_table => pay_ecu_shd.g_tab_nam

Line 601: hr_api.argument_changed_error

597: -- not been updated.
598: --
599: if nvl(p_rec.business_group_id, hr_api.g_number) <>
600: nvl(pay_ecu_shd.g_old_rec.business_group_id, hr_api.g_number) then
601: hr_api.argument_changed_error
602: (p_api_name => l_proc
603: ,p_argument => 'BUSINESS_GROUP_ID'
604: ,p_base_table => pay_ecu_shd.g_tab_nam
605: );

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

604: ,p_base_table => pay_ecu_shd.g_tab_nam
605: );
606: end if;
607: --
608: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
609: nvl(pay_ecu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then
610: hr_api.argument_changed_error
611: (p_api_name => l_proc
612: ,p_argument => 'LEGISLATION_CODE'

Line 609: nvl(pay_ecu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then

605: );
606: end if;
607: --
608: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
609: nvl(pay_ecu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then
610: hr_api.argument_changed_error
611: (p_api_name => l_proc
612: ,p_argument => 'LEGISLATION_CODE'
613: ,p_base_table => pay_ecu_shd.g_tab_nam

Line 610: hr_api.argument_changed_error

606: end if;
607: --
608: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
609: nvl(pay_ecu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then
610: hr_api.argument_changed_error
611: (p_api_name => l_proc
612: ,p_argument => 'LEGISLATION_CODE'
613: ,p_base_table => pay_ecu_shd.g_tab_nam
614: );

Line 661: hr_api.mandatory_arg_error

657: Begin
658: --
659: -- Ensure that the p_datetrack_mode argument is not null
660: --
661: hr_api.mandatory_arg_error
662: (p_api_name => l_proc
663: ,p_argument => 'datetrack_mode'
664: ,p_argument_value => p_datetrack_mode
665: );

Line 671: hr_api.mandatory_arg_error

667: -- Mode will be valid, as this is checked at the start of the upd.
668: --
669: -- Ensure the arguments are not null
670: --
671: hr_api.mandatory_arg_error
672: (p_api_name => l_proc
673: ,p_argument => 'validation_start_date'
674: ,p_argument_value => p_validation_start_date
675: );

Line 677: hr_api.mandatory_arg_error

673: ,p_argument => 'validation_start_date'
674: ,p_argument_value => p_validation_start_date
675: );
676: --
677: hr_api.mandatory_arg_error
678: (p_api_name => l_proc
679: ,p_argument => 'validation_end_date'
680: ,p_argument_value => p_validation_end_date
681: );

Line 745: hr_api.mandatory_arg_error

741: Begin
742: --
743: -- Ensure that the p_datetrack_mode argument is not null
744: --
745: hr_api.mandatory_arg_error
746: (p_api_name => l_proc
747: ,p_argument => 'datetrack_mode'
748: ,p_argument_value => p_datetrack_mode
749: );

Line 754: If (p_datetrack_mode = hr_api.g_delete or

750: --
751: -- Only perform the validation if the datetrack mode is either
752: -- DELETE or ZAP
753: --
754: If (p_datetrack_mode = hr_api.g_delete or
755: p_datetrack_mode = hr_api.g_zap) then
756: --
757: --
758: -- Ensure the arguments are not null

Line 755: p_datetrack_mode = hr_api.g_zap) then

751: -- Only perform the validation if the datetrack mode is either
752: -- DELETE or ZAP
753: --
754: If (p_datetrack_mode = hr_api.g_delete or
755: p_datetrack_mode = hr_api.g_zap) then
756: --
757: --
758: -- Ensure the arguments are not null
759: --

Line 760: hr_api.mandatory_arg_error

756: --
757: --
758: -- Ensure the arguments are not null
759: --
760: hr_api.mandatory_arg_error
761: (p_api_name => l_proc
762: ,p_argument => 'validation_start_date'
763: ,p_argument_value => p_validation_start_date
764: );

Line 766: hr_api.mandatory_arg_error

762: ,p_argument => 'validation_start_date'
763: ,p_argument_value => p_validation_start_date
764: );
765: --
766: hr_api.mandatory_arg_error
767: (p_api_name => l_proc
768: ,p_argument => 'validation_end_date'
769: ,p_argument_value => p_validation_end_date
770: );

Line 772: hr_api.mandatory_arg_error

768: ,p_argument => 'validation_end_date'
769: ,p_argument_value => p_validation_end_date
770: );
771: --
772: hr_api.mandatory_arg_error
773: (p_api_name => l_proc
774: ,p_argument => 'element_class_usage_id'
775: ,p_argument_value => p_element_class_usage_id
776: );

Line 872: hr_api.validate_bus_grp_id

868: -- Validate Important Attributes
869: --
870: If (p_rec.business_group_id is not null) then
871: --
872: hr_api.validate_bus_grp_id
873: (p_business_group_id => p_rec.business_group_id
874: ,p_associated_column1 => pay_ecu_shd.g_tab_nam
875: || '.BUSINESS_GROUP_ID');
876: --

Line 945: hr_api.validate_bus_grp_id

941: -- Validate Important Attributes
942: --
943: If (p_rec.business_group_id is not null) then
944: --
945: hr_api.validate_bus_grp_id
946: (p_business_group_id => p_rec.business_group_id
947: ,p_associated_column1 => pay_ecu_shd.g_tab_nam
948: || '.BUSINESS_GROUP_ID');
949: --