DBA Data[Home] [Help]

APPS.BEN_PCG_INS dependencies on BEN_PCG_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy ben_pcg_shd.g_rec_type) is

49: -- Internal Row Handler Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out nocopy ben_pcg_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ben_pcg_shd.g_api_dml := true; -- Set the api dml status

57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: ben_pcg_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ben_prtt_clm_gd_or_svc_typ
64: --
65: insert into ben_prtt_clm_gd_or_svc_typ

Line 144: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

140: p_rec.object_version_number ,
141: p_rec.pl_gd_or_svc_id
142: );
143: --
144: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
145: --
146: hr_utility.set_location(' Leaving:'||l_proc, 10);
147: Exception
148: When hr_api.check_integrity_violated Then

Line 150: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

146: hr_utility.set_location(' Leaving:'||l_proc, 10);
147: Exception
148: When hr_api.check_integrity_violated Then
149: -- A check constraint has been violated
150: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcg_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.parent_integrity_violated Then
154: -- Parent integrity has been violated

Line 151: ben_pcg_shd.constraint_error

147: Exception
148: When hr_api.check_integrity_violated Then
149: -- A check constraint has been violated
150: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcg_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.parent_integrity_violated Then
154: -- Parent integrity has been violated
155: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

Line 155: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

151: ben_pcg_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.parent_integrity_violated Then
154: -- Parent integrity has been violated
155: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
156: ben_pcg_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When hr_api.unique_integrity_violated Then
159: -- Unique integrity has been violated

Line 156: ben_pcg_shd.constraint_error

152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.parent_integrity_violated Then
154: -- Parent integrity has been violated
155: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
156: ben_pcg_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When hr_api.unique_integrity_violated Then
159: -- Unique integrity has been violated
160: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

Line 160: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

156: ben_pcg_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When hr_api.unique_integrity_violated Then
159: -- Unique integrity has been violated
160: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
161: ben_pcg_shd.constraint_error
162: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
163: When Others Then
164: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

Line 161: ben_pcg_shd.constraint_error

157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When hr_api.unique_integrity_violated Then
159: -- Unique integrity has been violated
160: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
161: ben_pcg_shd.constraint_error
162: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
163: When Others Then
164: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
165: Raise;

Line 164: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status

160: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
161: ben_pcg_shd.constraint_error
162: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
163: When Others Then
164: ben_pcg_shd.g_api_dml := false; -- Unset the api dml status
165: Raise;
166: End insert_dml;
167: --
168: -- ----------------------------------------------------------------------------

Line 205: Procedure pre_insert(p_rec in out nocopy ben_pcg_shd.g_rec_type) is

201: -- Internal Row Handler Use Only.
202: --
203: -- {End Of Comments}
204: -- ----------------------------------------------------------------------------
205: Procedure pre_insert(p_rec in out nocopy ben_pcg_shd.g_rec_type) is
206: --
207: l_proc varchar2(72) := g_package||'pre_insert';
208: --
209: Cursor C_Sel1 is select ben_prtt_clm_gd_or_svc_typ_s.nextval from sys.dual;

Line 256: Procedure post_insert(p_rec in ben_pcg_shd.g_rec_type) is

252: -- Internal Row Handler Use Only.
253: --
254: -- {End Of Comments}
255: -- ----------------------------------------------------------------------------
256: Procedure post_insert(p_rec in ben_pcg_shd.g_rec_type) is
257: --
258: l_proc varchar2(72) := g_package||'post_insert';
259: --
260: Begin

Line 330: p_rec in out nocopy ben_pcg_shd.g_rec_type

326: -- |---------------------------------< ins >----------------------------------|
327: -- ----------------------------------------------------------------------------
328: Procedure ins
329: (
330: p_rec in out nocopy ben_pcg_shd.g_rec_type
331: ) is
332: --
333: l_proc varchar2(72) := g_package||'ins';
334: --

Line 399: l_rec ben_pcg_shd.g_rec_type;

395: p_object_version_number out nocopy number ,
396: p_pl_gd_or_svc_id in number default null
397: ) is
398: --
399: l_rec ben_pcg_shd.g_rec_type;
400: l_proc varchar2(72) := g_package||'ins';
401: --
402: Begin
403: hr_utility.set_location('Entering:'||l_proc, 5);

Line 409: ben_pcg_shd.convert_args

405: -- Call conversion function to turn arguments into the
406: -- p_rec structure.
407: --
408: l_rec :=
409: ben_pcg_shd.convert_args
410: (
411: null,
412: p_prtt_reimbmt_rqst_id,
413: p_gd_or_svc_typ_id,