DBA Data[Home] [Help]

APPS.HR_CNP_BUS dependencies on HR_CNP_BUS

Line 1: Package Body hr_cnp_bus as

1: Package Body hr_cnp_bus as
2: /* $Header: hrcnprhi.pkb 120.1 2011/04/28 12:03:13 sidsaxen ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 85: if ( nvl(hr_cnp_bus.g_canvas_property_id, hr_api.g_number)

81: ,p_argument => 'canvas_property_id'
82: ,p_argument_value => p_canvas_property_id
83: );
84: --
85: if ( nvl(hr_cnp_bus.g_canvas_property_id, hr_api.g_number)
86: = p_canvas_property_id) then
87: --
88: -- The legislation code has already been found with a previous
89: -- call to this function. Just return the value in the global

Line 92: l_legislation_code := hr_cnp_bus.g_legislation_code;

88: -- The legislation code has already been found with a previous
89: -- call to this function. Just return the value in the global
90: -- variable.
91: --
92: l_legislation_code := hr_cnp_bus.g_legislation_code;
93: hr_utility.set_location(l_proc, 20);
94: else
95: --
96: -- The ID is different to the last call to this function

Line 115: hr_cnp_bus.g_canvas_property_id := p_canvas_property_id;

111: -- Set the global variables so the values are
112: -- available for the next call to this function.
113: --
114: close csr_leg_code;
115: hr_cnp_bus.g_canvas_property_id := p_canvas_property_id;
116: hr_cnp_bus.g_legislation_code := l_legislation_code;
117: end if;
118: hr_utility.set_location(' Leaving:'|| l_proc, 40);
119: return l_legislation_code;

Line 116: hr_cnp_bus.g_legislation_code := l_legislation_code;

112: -- available for the next call to this function.
113: --
114: close csr_leg_code;
115: hr_cnp_bus.g_canvas_property_id := p_canvas_property_id;
116: hr_cnp_bus.g_legislation_code := l_legislation_code;
117: end if;
118: hr_utility.set_location(' Leaving:'|| l_proc, 40);
119: return l_legislation_code;
120: end return_legislation_code;

Line 175: if ( nvl(hr_cnp_bus.g_form_canvas_id, hr_api.g_number) = nvl(p_form_canvas_id, hr_api.g_number)

171: Begin
172: --
173: hr_utility.set_location('Entering:'|| l_proc, 10);
174: --
175: if ( nvl(hr_cnp_bus.g_form_canvas_id, hr_api.g_number) = nvl(p_form_canvas_id, hr_api.g_number)
176: and nvl(hr_cnp_bus.g_template_canvas_id, hr_api.g_number) = nvl(p_template_canvas_id, hr_api.g_number)
177: ) then
178: --
179: -- The canvas has already been found with a previous

Line 176: and nvl(hr_cnp_bus.g_template_canvas_id, hr_api.g_number) = nvl(p_template_canvas_id, hr_api.g_number)

172: --
173: hr_utility.set_location('Entering:'|| l_proc, 10);
174: --
175: if ( nvl(hr_cnp_bus.g_form_canvas_id, hr_api.g_number) = nvl(p_form_canvas_id, hr_api.g_number)
176: and nvl(hr_cnp_bus.g_template_canvas_id, hr_api.g_number) = nvl(p_template_canvas_id, hr_api.g_number)
177: ) then
178: --
179: -- The canvas has already been found with a previous
180: -- call to this function. Just return the value in the global

Line 183: l_canvas_type := hr_cnp_bus.g_canvas_type;

179: -- The canvas has already been found with a previous
180: -- call to this function. Just return the value in the global
181: -- variable.
182: --
183: l_canvas_type := hr_cnp_bus.g_canvas_type;
184: hr_utility.set_location(l_proc, 20);
185: else
186: --
187: -- The IDs are different to the last call to this function

Line 225: hr_cnp_bus.g_form_canvas_id := p_form_canvas_id;

221: --
222: -- Set the global variables so the values are
223: -- available for the next call to this function.
224: --
225: hr_cnp_bus.g_form_canvas_id := p_form_canvas_id;
226: hr_cnp_bus.g_template_canvas_id := p_template_canvas_id;
227: hr_cnp_bus.g_canvas_type := l_canvas_type;
228: end if;
229: hr_utility.set_location(' Leaving:'|| l_proc, 50);

Line 226: hr_cnp_bus.g_template_canvas_id := p_template_canvas_id;

222: -- Set the global variables so the values are
223: -- available for the next call to this function.
224: --
225: hr_cnp_bus.g_form_canvas_id := p_form_canvas_id;
226: hr_cnp_bus.g_template_canvas_id := p_template_canvas_id;
227: hr_cnp_bus.g_canvas_type := l_canvas_type;
228: end if;
229: hr_utility.set_location(' Leaving:'|| l_proc, 50);
230: return l_canvas_type;

Line 227: hr_cnp_bus.g_canvas_type := l_canvas_type;

223: -- available for the next call to this function.
224: --
225: hr_cnp_bus.g_form_canvas_id := p_form_canvas_id;
226: hr_cnp_bus.g_template_canvas_id := p_template_canvas_id;
227: hr_cnp_bus.g_canvas_type := l_canvas_type;
228: end if;
229: hr_utility.set_location(' Leaving:'|| l_proc, 50);
230: return l_canvas_type;
231: end return_canvas_type;

Line 1154: end hr_cnp_bus;

1150: --
1151: hr_utility.set_location(' Leaving:'||l_proc, 10);
1152: End delete_validate;
1153: --
1154: end hr_cnp_bus;