43: -- Internal Row Handler Use Only.
44: --
45: -- {End Of Comments}
46: -- ----------------------------------------------------------------------------
47: Procedure insert_dml(p_rec in out nocopy pqh_wdt_shd.g_rec_type) is
48: --
49: l_proc varchar2(72) := g_package||'insert_dml';
50: --
51: Begin
124: hr_utility.set_location(' Leaving:'||l_proc, 10);
125: Exception
126: When hr_api.check_integrity_violated Then
127: -- A check constraint has been violated
128: pqh_wdt_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.parent_integrity_violated Then
131: -- Parent integrity has been violated
132: pqh_wdt_shd.constraint_error
128: pqh_wdt_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.parent_integrity_violated Then
131: -- Parent integrity has been violated
132: pqh_wdt_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.unique_integrity_violated Then
135: -- Unique integrity has been violated
136: pqh_wdt_shd.constraint_error
132: pqh_wdt_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.unique_integrity_violated Then
135: -- Unique integrity has been violated
136: pqh_wdt_shd.constraint_error
137: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
138: When Others Then
139: Raise;
140: End insert_dml;
175: -- Internal Row Handler Use Only.
176: --
177: -- {End Of Comments}
178: -- ----------------------------------------------------------------------------
179: Procedure pre_insert(p_rec in out nocopy pqh_wdt_shd.g_rec_type) is
180: --
181: l_proc varchar2(72) := g_package||'pre_insert';
182: --
183: Cursor C_Sel1 is select pqh_worksheet_details_s.nextval from sys.dual;
227: --
228: -- {End Of Comments}
229: -- ----------------------------------------------------------------------------
230: Procedure post_insert(
231: p_effective_date in date,p_rec in pqh_wdt_shd.g_rec_type) is
232: --
233: l_proc varchar2(72) := g_package||'post_insert';
234: --
235: Begin
296: -- ----------------------------------------------------------------------------
297: Procedure ins
298: (
299: p_effective_date in date,
300: p_rec in out nocopy pqh_wdt_shd.g_rec_type
301: ) is
302: --
303: l_proc varchar2(72) := g_package||'ins';
304: --
361: p_defer_flag in varchar2 default null,
362: p_propagation_method in varchar2 default null
363: ) is
364: --
365: l_rec pqh_wdt_shd.g_rec_type;
366: l_proc varchar2(72) := g_package||'ins';
367: --
368: Begin
369: hr_utility.set_location('Entering:'||l_proc, 5);
371: -- Call conversion function to turn arguments into the
372: -- p_rec structure.
373: --
374: l_rec :=
375: pqh_wdt_shd.convert_args
376: (
377: null,
378: p_worksheet_id,
379: p_organization_id,