DBA Data[Home] [Help]

APPS.PAY_RCU_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 => 'retro_component_usage_id'
50: ,p_argument_value => p_retro_component_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 => 'retro_component_usage_id'
119: ,p_argument_value => p_retro_component_usage_id
120: );

Line 122: if ( nvl(pay_rcu_bus.g_retro_component_usage_id, hr_api.g_number)

118: ,p_argument => 'retro_component_usage_id'
119: ,p_argument_value => p_retro_component_usage_id
120: );
121: --
122: if ( nvl(pay_rcu_bus.g_retro_component_usage_id, hr_api.g_number)
123: = p_retro_component_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 213: if nvl(p_rec.business_group_id, hr_api.g_number) <>

209: END IF;
210: --
211: hr_utility.set_location(l_proc, 10);
212: --
213: if nvl(p_rec.business_group_id, hr_api.g_number) <>
214: nvl(pay_rcu_shd.g_old_rec.business_group_id, hr_api.g_number) then
215: l_argument := 'business_group_id';
216: raise l_error;
217: end if;

Line 214: nvl(pay_rcu_shd.g_old_rec.business_group_id, hr_api.g_number) then

210: --
211: hr_utility.set_location(l_proc, 10);
212: --
213: if nvl(p_rec.business_group_id, hr_api.g_number) <>
214: nvl(pay_rcu_shd.g_old_rec.business_group_id, hr_api.g_number) then
215: l_argument := 'business_group_id';
216: raise l_error;
217: end if;
218: hr_utility.set_location(l_proc, 15);

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

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

Line 221: nvl(pay_rcu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then

217: end if;
218: hr_utility.set_location(l_proc, 15);
219: --
220: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
221: nvl(pay_rcu_shd.g_old_rec.legislation_code, hr_api.g_varchar2) then
222: l_argument := 'legislation_code';
223: raise l_error;
224: end if;
225: hr_utility.set_location(l_proc, 20);

Line 247: hr_api.argument_changed_error

243: hr_utility.set_location(l_proc, 35);
244:
245: exception
246: when l_error then
247: hr_api.argument_changed_error
248: (p_api_name => l_proc
249: ,p_argument => l_argument
250: );
251: when others then

Line 337: l_varchar2 varchar2(30) := hr_api.g_varchar2;

333: --
334: -- Declare local variables
335: --
336: l_proc varchar2(72) := g_package||'chk_retro_component_id';
337: l_varchar2 varchar2(30) := hr_api.g_varchar2;
338: l_number number := hr_api.g_number;
339: l_exists varchar2(1);
340: l_legislation_code pay_retro_component_usages.legislation_code%type;
341:

Line 338: l_number number := hr_api.g_number;

334: -- Declare local variables
335: --
336: l_proc varchar2(72) := g_package||'chk_retro_component_id';
337: l_varchar2 varchar2(30) := hr_api.g_varchar2;
338: l_number number := hr_api.g_number;
339: l_exists varchar2(1);
340: l_legislation_code pay_retro_component_usages.legislation_code%type;
341:
342: --

Line 358: hr_api.mandatory_arg_error

354: hr_utility.set_location('Entering:'|| l_proc, 10);
355: --
356: -- Check mandatory parameters have been set
357: --
358: hr_api.mandatory_arg_error
359: (p_api_name => l_proc
360: ,p_argument => 'retro_component_id'
361: ,p_argument_value => p_retro_component_id
362: );

Line 368: ,hr_api.return_legislation_code(p_business_group_id));

364: -- Set the legislation code
365: --
366: l_legislation_code
367: := nvl(p_legislation_code
368: ,hr_api.return_legislation_code(p_business_group_id));
369: --
370: -- Check if the retro component exists.
371: --
372: hr_utility.set_location(l_proc, 20);

Line 435: l_varchar2 varchar2(30) := hr_api.g_varchar2;

431: --
432: -- Declare local variables
433: --
434: l_proc varchar2(72) := g_package||'chk_retro_component_id';
435: l_varchar2 varchar2(30) := hr_api.g_varchar2;
436: l_number number := hr_api.g_number;
437: l_exists varchar2(1);
438: l_legislation_code pay_retro_component_usages.legislation_code%type;
439:

Line 436: l_number number := hr_api.g_number;

432: -- Declare local variables
433: --
434: l_proc varchar2(72) := g_package||'chk_retro_component_id';
435: l_varchar2 varchar2(30) := hr_api.g_varchar2;
436: l_number number := hr_api.g_number;
437: l_exists varchar2(1);
438: l_legislation_code pay_retro_component_usages.legislation_code%type;
439:
440: --

Line 471: hr_api.mandatory_arg_error

467: hr_utility.set_location('Entering:'|| l_proc, 10);
468: --
469: -- Check mandatory parameters have been set
470: --
471: hr_api.mandatory_arg_error
472: (p_api_name => l_proc
473: ,p_argument => 'creator_type'
474: ,p_argument_value => p_creator_type
475: );

Line 476: hr_api.mandatory_arg_error

472: (p_api_name => l_proc
473: ,p_argument => 'creator_type'
474: ,p_argument_value => p_creator_type
475: );
476: hr_api.mandatory_arg_error
477: (p_api_name => l_proc
478: ,p_argument => 'creator_id'
479: ,p_argument_value => p_creator_id
480: );

Line 481: hr_api.mandatory_arg_error

477: (p_api_name => l_proc
478: ,p_argument => 'creator_id'
479: ,p_argument_value => p_creator_id
480: );
481: hr_api.mandatory_arg_error
482: (p_api_name => l_proc
483: ,p_argument => 'effective_date'
484: ,p_argument_value => p_effective_date
485: );

Line 492: ,hr_api.return_legislation_code(p_business_group_id));

488: -- Set the legislation code
489: --
490: l_legislation_code
491: := nvl(p_legislation_code
492: ,hr_api.return_legislation_code(p_business_group_id));
493:
494: --
495: -- Check the creator type.
496: --

Line 609: hr_api.mandatory_arg_error

605: hr_utility.set_location('Entering:'|| l_proc, 10);
606: --
607: -- Check mandatory parameters have been set
608: --
609: hr_api.mandatory_arg_error
610: (p_api_name => l_proc
611: ,p_argument => 'reprocess_type'
612: ,p_argument_value => p_reprocess_type
613: );

Line 614: hr_api.mandatory_arg_error

610: (p_api_name => l_proc
611: ,p_argument => 'reprocess_type'
612: ,p_argument_value => p_reprocess_type
613: );
614: hr_api.mandatory_arg_error
615: (p_api_name => l_proc
616: ,p_argument => 'effective_date'
617: ,p_argument_value => p_effective_date
618: );

Line 644: if hr_api.not_exists_in_hr_lookups

640: NOT l_api_updating) then
641: --
642: hr_utility.set_location(l_proc, 30);
643:
644: if hr_api.not_exists_in_hr_lookups
645: (p_effective_date => p_effective_date
646: ,p_lookup_type => 'RETRO_REPROCESS_TYPE'
647: ,p_lookup_code => p_reprocess_type
648: ) then

Line 731: l_number number := hr_api.g_number;

727: --
728: l_proc varchar2(72) := g_package||'chk_default_component';
729: l_api_updating boolean;
730: l_exists varchar2(1);
731: l_number number := hr_api.g_number;
732:
733: --
734: -- Cursor to check that a default retro component usage exists.
735: --

Line 762: hr_api.mandatory_arg_error

758: hr_utility.set_location('Entering:'|| l_proc, 10);
759: --
760: -- Check mandatory parameters have been set
761: --
762: hr_api.mandatory_arg_error
763: (p_api_name => l_proc
764: ,p_argument => 'default_component'
765: ,p_argument_value => p_default_component
766: );

Line 767: hr_api.mandatory_arg_error

763: (p_api_name => l_proc
764: ,p_argument => 'default_component'
765: ,p_argument_value => p_default_component
766: );
767: hr_api.mandatory_arg_error
768: (p_api_name => l_proc
769: ,p_argument => 'effective_date'
770: ,p_argument_value => p_effective_date
771: );

Line 796: if hr_api.not_exists_in_hr_lookups

792: NOT l_api_updating) then
793: --
794: hr_utility.set_location(l_proc, 30);
795:
796: if hr_api.not_exists_in_hr_lookups
797: (p_effective_date => p_effective_date
798: ,p_lookup_type => 'YES_NO'
799: ,p_lookup_code => p_default_component
800: ) then

Line 897: hr_api.mandatory_arg_error

893: hr_utility.set_location('Entering:'|| l_proc, 10);
894: --
895: -- Check mandatory parameters have been set
896: --
897: hr_api.mandatory_arg_error
898: (p_api_name => l_proc
899: ,p_argument => 'effective_date'
900: ,p_argument_value => p_effective_date
901: );

Line 941: if hr_api.not_exists_in_hr_lookups

937: end if;
938:
939: end if;
940:
941: if hr_api.not_exists_in_hr_lookups
942: (p_effective_date => p_effective_date
943: ,p_lookup_type => 'YES_NO'
944: ,p_lookup_code => p_replace_run_flag
945: ) then

Line 1022: hr_api.mandatory_arg_error

1018: hr_utility.set_location('Entering:'|| l_proc, 10);
1019: --
1020: -- Check mandatory parameters have been set
1021: --
1022: hr_api.mandatory_arg_error
1023: (p_api_name => l_proc
1024: ,p_argument => 'effective_date'
1025: ,p_argument_value => p_effective_date
1026: );

Line 1066: if hr_api.not_exists_in_hr_lookups

1062: end if;
1063:
1064: end if;
1065:
1066: if hr_api.not_exists_in_hr_lookups
1067: (p_effective_date => p_effective_date
1068: ,p_lookup_type => 'YES_NO'
1069: ,p_lookup_code => p_use_override_dates
1070: ) then

Line 1112: hr_api.validate_bus_grp_id

1108: NOT IN ('GENERIC','STARTUP') THEN
1109: --
1110: -- Validate Important Attributes
1111: --
1112: hr_api.validate_bus_grp_id
1113: (p_business_group_id => p_rec.business_group_id
1114: ,p_associated_column1 => pay_rcu_shd.g_tab_nam
1115: || '.BUSINESS_GROUP_ID');
1116: --

Line 1224: hr_api.validate_bus_grp_id

1220: NOT IN ('GENERIC','STARTUP') THEN
1221: --
1222: -- Validate Important Attributes
1223: --
1224: hr_api.validate_bus_grp_id
1225: (p_business_group_id => p_rec.business_group_id
1226: ,p_associated_column1 => pay_rcu_shd.g_tab_nam
1227: || '.BUSINESS_GROUP_ID');
1228: --