56: --
57: l_proc varchar2(72) := g_package||'insert_dml';
58: --
59: Begin
60: hr_utility.set_location('Entering:'||l_proc, 5);
61: --
62: --
63: --
64: --
82: );
83: --
84: --
85: --
86: hr_utility.set_location(' Leaving:'||l_proc, 10);
87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: --
149: --
150: l_proc varchar2(72) := g_package||'pre_insert';
151: --
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: p_rec.balance_dimension_id := p_balance_dimension_id;
156: --
157: hr_utility.set_location(' Leaving:'||l_proc, 10);
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: p_rec.balance_dimension_id := p_balance_dimension_id;
156: --
157: hr_utility.set_location(' Leaving:'||l_proc, 10);
158: End pre_insert;
159: --
160: -- ----------------------------------------------------------------------------
161: -- |-----------------------------< post_insert >------------------------------|
195: --
196: l_proc varchar2(72) := g_package||'post_insert';
197: --
198: Begin
199: hr_utility.set_location('Entering:'||l_proc, 5);
200: begin
201: --
202: pay_bdt_rki.after_insert
203: (p_balance_dimension_id
223: ,p_hook_type => 'AI');
224: --
225: end;
226: --
227: hr_utility.set_location(' Leaving:'||l_proc, 10);
228: End post_insert;
229: --
230: -- ----------------------------------------------------------------------------
231: -- |---------------------------------< ins >----------------------------------|
237: --
238: l_proc varchar2(72) := g_package||'ins';
239: --
240: Begin
241: hr_utility.set_location('Entering:'||l_proc, 5);
242: --
243: -- Call the supporting insert validate operations
244: --
245: pay_bdt_bus.insert_validate
266: --
267: -- Call to raise any errors on multi-message list
268: hr_multi_message.end_validation_set;
269: --
270: hr_utility.set_location('Leaving:'||l_proc, 20);
271: end ins;
272: --
273: -- ----------------------------------------------------------------------------
274: -- |---------------------------------< ins >----------------------------------|
285: l_rec pay_bdt_shd.g_rec_type;
286: l_proc varchar2(72) := g_package||'ins';
287: --
288: Begin
289: hr_utility.set_location('Entering:'||l_proc, 5);
290: --
291: -- Call conversion function to turn arguments into the
292: -- p_rec structure.
293: --
313: -- are specified as an OUT's we must set these values.
314: --
315: --
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
318: End ins;
319: --
320: -- ----------------------------------------------------------------------------
321: -- |------------------------------< ins_tl >----------------------------------|
341: --
342: l_proc varchar2(72) := g_package || 'ins_tl';
343: --
344: Begin
345: hr_utility.set_location('Entering:'||l_proc,10);
346: --
347: -- Insert a row for the base language and every installed language.
348: --
349: for l_lang in csr_ins_langs loop
356: ,p_description => p_description
357: );
358: end loop;
359: --
360: hr_utility.set_location('Leaving:'||l_proc,20);
361: End ins_tl;
362: --
363: end pay_bdt_ins;