DBA Data[Home] [Help]

APPS.HR_ITP_BUS dependencies on HR_ITP_BUS

Line 1: Package Body hr_itp_bus as

1: Package Body hr_itp_bus as
2: /* $Header: hritprhi.pkb 115.11 2003/12/03 07:01:45 adhunter noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' hr_itp_bus.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_itp_bus.'; -- Global package name
9: --
10: -- The following two global variables are only to be used by the
11: -- return_legislation_code function.
12: --

Line 93: if ( nvl(hr_itp_bus.g_item_property_id, hr_api.g_number)

89: ,p_argument => 'item_property_id'
90: ,p_argument_value => p_item_property_id
91: );
92: --
93: if ( nvl(hr_itp_bus.g_item_property_id, hr_api.g_number)
94: = p_item_property_id) then
95: --
96: -- The legislation code has already been found with a previous
97: -- call to this function. Just return the value in the global

Line 100: l_legislation_code := hr_itp_bus.g_legislation_code;

96: -- The legislation code has already been found with a previous
97: -- call to this function. Just return the value in the global
98: -- variable.
99: --
100: l_legislation_code := hr_itp_bus.g_legislation_code;
101: hr_utility.set_location(l_proc, 20);
102: else
103: --
104: -- The ID is different to the last call to this function

Line 123: hr_itp_bus.g_item_property_id := p_item_property_id;

119: -- Set the global variables so the values are
120: -- available for the next call to this function.
121: --
122: close csr_leg_code;
123: hr_itp_bus.g_item_property_id := p_item_property_id;
124: hr_itp_bus.g_legislation_code := l_legislation_code;
125: end if;
126: hr_utility.set_location(' Leaving:'|| l_proc, 40);
127: return l_legislation_code;

Line 124: hr_itp_bus.g_legislation_code := l_legislation_code;

120: -- available for the next call to this function.
121: --
122: close csr_leg_code;
123: hr_itp_bus.g_item_property_id := p_item_property_id;
124: hr_itp_bus.g_legislation_code := l_legislation_code;
125: end if;
126: hr_utility.set_location(' Leaving:'|| l_proc, 40);
127: return l_legislation_code;
128: end return_legislation_code;

Line 333: if ( nvl(hr_itp_bus.g_form_item_id, hr_api.g_number) = nvl(p_form_item_id, hr_api.g_number)

329: Begin
330: --
331: hr_utility.set_location('Entering:'|| l_proc, 10);
332: --
333: if ( nvl(hr_itp_bus.g_form_item_id, hr_api.g_number) = nvl(p_form_item_id, hr_api.g_number)
334: and nvl(hr_itp_bus.g_template_item_id, hr_api.g_number) = nvl(p_template_item_id, hr_api.g_number)
335: and nvl(hr_itp_bus.g_template_item_context_id, hr_api.g_number) = nvl(p_template_item_context_id, hr_api.g_number)
336: ) then
337: --

Line 334: and nvl(hr_itp_bus.g_template_item_id, hr_api.g_number) = nvl(p_template_item_id, hr_api.g_number)

330: --
331: hr_utility.set_location('Entering:'|| l_proc, 10);
332: --
333: if ( nvl(hr_itp_bus.g_form_item_id, hr_api.g_number) = nvl(p_form_item_id, hr_api.g_number)
334: and nvl(hr_itp_bus.g_template_item_id, hr_api.g_number) = nvl(p_template_item_id, hr_api.g_number)
335: and nvl(hr_itp_bus.g_template_item_context_id, hr_api.g_number) = nvl(p_template_item_context_id, hr_api.g_number)
336: ) then
337: --
338: -- The item has already been found with a previous

Line 335: and nvl(hr_itp_bus.g_template_item_context_id, hr_api.g_number) = nvl(p_template_item_context_id, hr_api.g_number)

331: hr_utility.set_location('Entering:'|| l_proc, 10);
332: --
333: if ( nvl(hr_itp_bus.g_form_item_id, hr_api.g_number) = nvl(p_form_item_id, hr_api.g_number)
334: and nvl(hr_itp_bus.g_template_item_id, hr_api.g_number) = nvl(p_template_item_id, hr_api.g_number)
335: and nvl(hr_itp_bus.g_template_item_context_id, hr_api.g_number) = nvl(p_template_item_context_id, hr_api.g_number)
336: ) then
337: --
338: -- The item has already been found with a previous
339: -- call to this function. Just return the value in the global

Line 342: l_item_type := hr_itp_bus.g_item_type;

338: -- The item has already been found with a previous
339: -- call to this function. Just return the value in the global
340: -- variable.
341: --
342: l_item_type := hr_itp_bus.g_item_type;
343: hr_utility.set_location(l_proc, 20);
344: else
345: --
346: -- The IDs are different to the last call to this function

Line 408: hr_itp_bus.g_form_item_id := p_form_item_id;

404: --
405: -- Set the global variables so the values are
406: -- available for the next call to this function.
407: --
408: hr_itp_bus.g_form_item_id := p_form_item_id;
409: hr_itp_bus.g_template_item_id := p_template_item_id;
410: hr_itp_bus.g_template_item_context_id := p_template_item_context_id;
411: hr_itp_bus.g_item_type := l_item_type;
412: end if;

Line 409: hr_itp_bus.g_template_item_id := p_template_item_id;

405: -- Set the global variables so the values are
406: -- available for the next call to this function.
407: --
408: hr_itp_bus.g_form_item_id := p_form_item_id;
409: hr_itp_bus.g_template_item_id := p_template_item_id;
410: hr_itp_bus.g_template_item_context_id := p_template_item_context_id;
411: hr_itp_bus.g_item_type := l_item_type;
412: end if;
413: hr_utility.set_location(' Leaving:'|| l_proc, 50);

Line 410: hr_itp_bus.g_template_item_context_id := p_template_item_context_id;

406: -- available for the next call to this function.
407: --
408: hr_itp_bus.g_form_item_id := p_form_item_id;
409: hr_itp_bus.g_template_item_id := p_template_item_id;
410: hr_itp_bus.g_template_item_context_id := p_template_item_context_id;
411: hr_itp_bus.g_item_type := l_item_type;
412: end if;
413: hr_utility.set_location(' Leaving:'|| l_proc, 50);
414: return l_item_type;

Line 411: hr_itp_bus.g_item_type := l_item_type;

407: --
408: hr_itp_bus.g_form_item_id := p_form_item_id;
409: hr_itp_bus.g_template_item_id := p_template_item_id;
410: hr_itp_bus.g_template_item_context_id := p_template_item_context_id;
411: hr_itp_bus.g_item_type := l_item_type;
412: end if;
413: hr_utility.set_location(' Leaving:'|| l_proc, 50);
414: return l_item_type;
415: End return_item_type;

Line 2806: end hr_itp_bus;

2802: --
2803: hr_utility.set_location(' Leaving:'||l_proc, 10);
2804: End delete_validate;
2805: --
2806: end hr_itp_bus;