DBA Data[Home] [Help]

APPS.IRC_CMC_BUS dependencies on HR_API

Line 53: hr_api.mandatory_arg_error

49: hr_utility.set_location('Entering:'|| l_proc, 10);
50: --
51: -- Ensure that all the mandatory parameter are not null
52: --
53: hr_api.mandatory_arg_error
54: (p_api_name => l_proc
55: ,p_argument => 'communication_id'
56: ,p_argument_value => p_communication_id
57: );

Line 80: hr_api.set_security_group_id

76: close csr_sec_grp;
77: --
78: -- Set the security_group_id in CLIENT_INFO
79: --
80: hr_api.set_security_group_id
81: (p_security_group_id => l_security_group_id
82: );
83: --
84: -- Set the sessions legislation context in HR_SESSION_DATA

Line 86: hr_api.set_legislation_context(l_legislation_code);

82: );
83: --
84: -- Set the sessions legislation context in HR_SESSION_DATA
85: --
86: hr_api.set_legislation_context(l_legislation_code);
87: end if;
88: --
89: hr_utility.set_location(' Leaving:'|| l_proc, 20);
90: --

Line 128: hr_api.mandatory_arg_error

124: hr_utility.set_location('Entering:'|| l_proc, 10);
125: --
126: -- Ensure that all the mandatory parameter are not null
127: --
128: hr_api.mandatory_arg_error
129: (p_api_name => l_proc
130: ,p_argument => 'communication_id'
131: ,p_argument_value => p_communication_id
132: );

Line 134: if ( nvl(irc_cmc_bus.g_communication_id, hr_api.g_number)

130: ,p_argument => 'communication_id'
131: ,p_argument_value => p_communication_id
132: );
133: --
134: if ( nvl(irc_cmc_bus.g_communication_id, hr_api.g_number)
135: = p_communication_id) then
136: --
137: -- The legislation code has already been found with a previous
138: -- call to this function. Just return the value in the global

Line 226: hr_api.argument_changed_error

222: -- not been updated.
223: --
224: IF p_rec.object_type <>
225: irc_cmc_shd.g_old_rec.object_type then
226: hr_api.argument_changed_error
227: (p_api_name => l_proc
228: ,p_argument => 'OBJECT_TYPE'
229: ,p_base_table => irc_cmc_shd.g_tab_nam
230: );

Line 235: hr_api.argument_changed_error

231: END IF;
232: --
233: IF p_rec.object_id <> irc_cmc_shd.g_old_rec.object_id THEN
234: IF p_rec.object_type = 'APPL' THEN
235: hr_api.argument_changed_error
236: ( p_api_name => l_proc
237: ,p_argument => 'APPLICATION_ID'
238: ,p_base_table => irc_cmc_shd.g_tab_nam
239: );

Line 245: hr_api.argument_changed_error

241: END IF;
242:
243: IF p_rec.communication_property_id <>
244: irc_cmc_shd.g_old_rec.communication_property_id then
245: hr_api.argument_changed_error
246: (p_api_name => l_proc
247: ,p_argument => 'COMMUNICATION_PROPERTY_ID'
248: ,p_base_table => irc_cmc_shd.g_tab_nam
249: );

Line 254: hr_api.argument_changed_error

250: END IF;
251:
252: IF p_rec.start_date <>
253: irc_cmc_shd.g_old_rec.start_date then
254: hr_api.argument_changed_error
255: (p_api_name => l_proc
256: ,p_argument => 'START_DATE'
257: ,p_base_table => irc_cmc_shd.g_tab_nam
258: );

Line 306: and nvl(p_status,hr_api.g_varchar2)

302: (p_communication_id => p_communication_id,
303: p_object_version_number => p_object_version_number);
304: --
305: if (l_api_updating
306: and nvl(p_status,hr_api.g_varchar2)
307: <> nvl(irc_cmc_shd.g_old_rec.status,hr_api.g_varchar2)
308: or not l_api_updating) then
309: --
310: -- check if value of type falls within lookup.

Line 307: <> nvl(irc_cmc_shd.g_old_rec.status,hr_api.g_varchar2)

303: p_object_version_number => p_object_version_number);
304: --
305: if (l_api_updating
306: and nvl(p_status,hr_api.g_varchar2)
307: <> nvl(irc_cmc_shd.g_old_rec.status,hr_api.g_varchar2)
308: or not l_api_updating) then
309: --
310: -- check if value of type falls within lookup.
311: --

Line 312: if hr_api.not_exists_in_hr_lookups(p_lookup_type => 'IRC_COMM_STATUS',

308: or not l_api_updating) then
309: --
310: -- check if value of type falls within lookup.
311: --
312: if hr_api.not_exists_in_hr_lookups(p_lookup_type => 'IRC_COMM_STATUS',
313: p_lookup_code => p_status,
314: p_effective_date => sysdate)
315: then
316: --

Line 378: hr_api.mandatory_arg_error

374: --
375: begin
376: hr_utility.set_location('Entering:'||l_proc,10);
377: -- Check that object_id is not null.
378: hr_api.mandatory_arg_error
379: (p_api_name => l_proc
380: ,p_argument => 'OBJECT_ID'
381: ,p_argument_value => p_object_id
382: );

Line 385: hr_api.mandatory_arg_error

381: ,p_argument_value => p_object_id
382: );
383:
384: -- Check that object_type is not null.
385: hr_api.mandatory_arg_error
386: (p_api_name => l_proc
387: ,p_argument => 'OBJECT_TYPE'
388: ,p_argument_value => p_object_type
389: );

Line 461: hr_api.mandatory_arg_error

457: --
458: begin
459: hr_utility.set_location('Entering:'||l_proc,10);
460: -- Check that object_type is not null.
461: hr_api.mandatory_arg_error
462: (p_api_name => l_proc
463: ,p_argument => 'OBJECT_TYPE'
464: ,p_argument_value => p_object_type
465: );

Line 527: and (nvl(p_start_date,hr_api.g_date)

523: (p_communication_id => p_communication_id,
524: p_object_version_number => p_object_version_number);
525: --
526: if (l_api_updating
527: and (nvl(p_start_date,hr_api.g_date)
528: <> nvl(irc_cmc_shd.g_old_rec.start_date,hr_api.g_date)
529: or nvl(p_end_date,hr_api.g_date)
530: <> nvl(irc_cmc_shd.g_old_rec.end_date,hr_api.g_date))
531: or not l_api_updating) then

Line 528: <> nvl(irc_cmc_shd.g_old_rec.start_date,hr_api.g_date)

524: p_object_version_number => p_object_version_number);
525: --
526: if (l_api_updating
527: and (nvl(p_start_date,hr_api.g_date)
528: <> nvl(irc_cmc_shd.g_old_rec.start_date,hr_api.g_date)
529: or nvl(p_end_date,hr_api.g_date)
530: <> nvl(irc_cmc_shd.g_old_rec.end_date,hr_api.g_date))
531: or not l_api_updating) then
532: --

Line 529: or nvl(p_end_date,hr_api.g_date)

525: --
526: if (l_api_updating
527: and (nvl(p_start_date,hr_api.g_date)
528: <> nvl(irc_cmc_shd.g_old_rec.start_date,hr_api.g_date)
529: or nvl(p_end_date,hr_api.g_date)
530: <> nvl(irc_cmc_shd.g_old_rec.end_date,hr_api.g_date))
531: or not l_api_updating) then
532: --
533: -- check if end date is greater than start date

Line 530: <> nvl(irc_cmc_shd.g_old_rec.end_date,hr_api.g_date))

526: if (l_api_updating
527: and (nvl(p_start_date,hr_api.g_date)
528: <> nvl(irc_cmc_shd.g_old_rec.start_date,hr_api.g_date)
529: or nvl(p_end_date,hr_api.g_date)
530: <> nvl(irc_cmc_shd.g_old_rec.end_date,hr_api.g_date))
531: or not l_api_updating) then
532: --
533: -- check if end date is greater than start date
534: --

Line 535: if p_start_date > nvl(p_end_date,hr_api.g_eot) then

531: or not l_api_updating) then
532: --
533: -- check if end date is greater than start date
534: --
535: if p_start_date > nvl(p_end_date,hr_api.g_eot) then
536: --
537: -- raise error as start date should be less than or equal to end date.
538: --
539: fnd_message.set_name('PER','IRC_412420_START_DATE_BEFORE_END');