DBA Data[Home] [Help]

APPS.HR_NZ_TAX_API dependencies on HR_UTILITY

Line 104: hr_utility.set_location('Entering:'|| l_proc, 5);

100:
101:
102: BEGIN
103: l_proc := 'hr_nz_tax_api.maintain_tax_info';
104: hr_utility.set_location('Entering:'|| l_proc, 5);
105: --
106: -- Get the element type id for the Tax element
107: --
108:

Line 119: hr_utility.set_message(801,'HR_AU_NZ_ELE_TYP_NOT_FND');

115: FETCH csr_paye_tax_element INTO l_element_type_id;
116: IF (csr_paye_tax_element%NOTFOUND)
117: THEN
118: CLOSE csr_paye_tax_element;
119: hr_utility.set_message(801,'HR_AU_NZ_ELE_TYP_NOT_FND');
120: hr_utility.raise_error;
121: END IF;
122: CLOSE csr_paye_tax_element;
123:

Line 120: hr_utility.raise_error;

116: IF (csr_paye_tax_element%NOTFOUND)
117: THEN
118: CLOSE csr_paye_tax_element;
119: hr_utility.set_message(801,'HR_AU_NZ_ELE_TYP_NOT_FND');
120: hr_utility.raise_error;
121: END IF;
122: CLOSE csr_paye_tax_element;
123:
124: hr_utility.set_location(l_proc, 10);

Line 124: hr_utility.set_location(l_proc, 10);

120: hr_utility.raise_error;
121: END IF;
122: CLOSE csr_paye_tax_element;
123:
124: hr_utility.set_location(l_proc, 10);
125:
126: --
127: -- Get the Input Value Id for each Tax Input
128: --

Line 152: hr_utility.set_location(l_proc, 15);

148: l_inp_value_id_table(6) := rec_paye_tax_element.input_value_id;
149: END IF;
150: END LOOP;
151:
152: hr_utility.set_location(l_proc, 15);
153:
154: --
155: -- Check that an input value is present for each input value
156: --

Line 163: -- hr_utility.set_message(801,'HR_NZ_INVALID_INPUT_VALUE_ID');

159: -- FOR i IN 1..l_inp_value_id_table.COUNT
160: -- LOOP
161: -- IF (l_inp_value_id_table(i) = NULL OR l_inp_value_id_table(i) = 0)
162: -- THEN
163: -- hr_utility.set_message(801,'HR_NZ_INVALID_INPUT_VALUE_ID');
164: -- hr_utility.raise_error;
165: -- END IF;
166: -- END LOOP;
167:

Line 164: -- hr_utility.raise_error;

160: -- LOOP
161: -- IF (l_inp_value_id_table(i) = NULL OR l_inp_value_id_table(i) = 0)
162: -- THEN
163: -- hr_utility.set_message(801,'HR_NZ_INVALID_INPUT_VALUE_ID');
164: -- hr_utility.raise_error;
165: -- END IF;
166: -- END LOOP;
167:
168: hr_utility.set_location(l_proc, 20);

Line 168: hr_utility.set_location(l_proc, 20);

164: -- hr_utility.raise_error;
165: -- END IF;
166: -- END LOOP;
167:
168: hr_utility.set_location(l_proc, 20);
169:
170: --
171: -- Get the element link id for the PAYE information element
172: --

Line 180: hr_utility.set_message(801,'HR_AU_NZ_ELE_LNK_NOT_FND');

176: ,p_session_date => l_effective_date);
177:
178: IF (l_element_link_id IS NULL OR l_element_link_id = 0)
179: THEN
180: hr_utility.set_message(801,'HR_AU_NZ_ELE_LNK_NOT_FND');
181: hr_utility.raise_error;
182: END IF;
183:
184: hr_utility.set_location(l_proc, 25);

Line 181: hr_utility.raise_error;

177:
178: IF (l_element_link_id IS NULL OR l_element_link_id = 0)
179: THEN
180: hr_utility.set_message(801,'HR_AU_NZ_ELE_LNK_NOT_FND');
181: hr_utility.raise_error;
182: END IF;
183:
184: hr_utility.set_location(l_proc, 25);
185:

Line 184: hr_utility.set_location(l_proc, 25);

180: hr_utility.set_message(801,'HR_AU_NZ_ELE_LNK_NOT_FND');
181: hr_utility.raise_error;
182: END IF;
183:
184: hr_utility.set_location(l_proc, 25);
185:
186: IF (p_mode IN ('CORRECTION','UPDATE','UPDATE_CHANGE_INSERT','UPDATE_OVERRIDE'))
187: THEN
188: -----------------------------------------------------------------------------

Line 192: hr_utility.set_location(l_proc, 30);

188: -----------------------------------------------------------------------------
189: -- Get the element entry of the tax element entry that is to be updated
190: ------------------------------------------------------------------------------
191:
192: hr_utility.set_location(l_proc, 30);
193:
194: OPEN csr_ele_entry(l_element_link_id, l_inp_value_id_table(1),l_effective_date);
195: FETCH csr_ele_entry INTO l_element_entry_id,l_object_version_number;
196: IF (csr_ele_entry%NOTFOUND)

Line 199: hr_utility.set_message(801, 'HR_AU_NZ_ELE_ENT_NOT_FND');

195: FETCH csr_ele_entry INTO l_element_entry_id,l_object_version_number;
196: IF (csr_ele_entry%NOTFOUND)
197: THEN
198: CLOSE csr_ele_entry;
199: hr_utility.set_message(801, 'HR_AU_NZ_ELE_ENT_NOT_FND');
200: hr_utility.raise_error;
201: END IF;
202: CLOSE csr_ele_entry;
203:

Line 200: hr_utility.raise_error;

196: IF (csr_ele_entry%NOTFOUND)
197: THEN
198: CLOSE csr_ele_entry;
199: hr_utility.set_message(801, 'HR_AU_NZ_ELE_ENT_NOT_FND');
200: hr_utility.raise_error;
201: END IF;
202: CLOSE csr_ele_entry;
203:
204: hr_utility.set_location(l_proc, 35);

Line 204: hr_utility.set_location(l_proc, 35);

200: hr_utility.raise_error;
201: END IF;
202: CLOSE csr_ele_entry;
203:
204: hr_utility.set_location(l_proc, 35);
205:
206: py_element_entry_api.update_element_entry
207: (p_validate => p_validate
208: ,p_datetrack_update_mode => p_mode

Line 264: -- hr_utility.set_message(801, 'HR_NZ_UPDATE_ENTRY_FAILED');

260: ,p_update_warning => p_update_warning);
261:
262: -- *** PM :- Removed to conserve error messages on direction of BB ***
263: -- ELSE
264: -- hr_utility.set_message(801, 'HR_NZ_UPDATE_ENTRY_FAILED');
265: -- hr_utility.raise_error;
266:
267: END IF;
268:

Line 265: -- hr_utility.raise_error;

261:
262: -- *** PM :- Removed to conserve error messages on direction of BB ***
263: -- ELSE
264: -- hr_utility.set_message(801, 'HR_NZ_UPDATE_ENTRY_FAILED');
265: -- hr_utility.raise_error;
266:
267: END IF;
268:
269: hr_utility.set_location(' Leaving:'||l_proc, 40);

Line 269: hr_utility.set_location(' Leaving:'||l_proc, 40);

265: -- hr_utility.raise_error;
266:
267: END IF;
268:
269: hr_utility.set_location(' Leaving:'||l_proc, 40);
270:
271: END maintain_tax_info;
272:
273: END hr_nz_tax_api;