DBA Data[Home] [Help]

APPS.BEN_CMD_INS dependencies on BEN_CMD_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy ben_cmd_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_cmd_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ben_cmd_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_cmd_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ben_cm_dlvry_med_typ
64: --
65: insert into ben_cm_dlvry_med_typ

Line 146: ben_cmd_shd.g_api_dml := false; -- Unset the api dml status

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

Line 152: ben_cmd_shd.g_api_dml := false; -- Unset the api dml status

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

Line 153: ben_cmd_shd.constraint_error

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

Line 157: ben_cmd_shd.g_api_dml := false; -- Unset the api dml status

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

Line 158: ben_cmd_shd.constraint_error

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

Line 162: ben_cmd_shd.g_api_dml := false; -- Unset the api dml status

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

Line 163: ben_cmd_shd.constraint_error

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

Line 166: ben_cmd_shd.g_api_dml := false; -- Unset the api dml status

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

Line 207: Procedure pre_insert(p_rec in out nocopy ben_cmd_shd.g_rec_type) is

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

Line 259: p_effective_date in date,p_rec in ben_cmd_shd.g_rec_type) is

255: --
256: -- {End Of Comments}
257: -- ----------------------------------------------------------------------------
258: Procedure post_insert(
259: p_effective_date in date,p_rec in ben_cmd_shd.g_rec_type) is
260: --
261: l_proc varchar2(72) := g_package||'post_insert';
262: --
263: Begin

Line 336: p_rec in out nocopy ben_cmd_shd.g_rec_type

332: -- ----------------------------------------------------------------------------
333: Procedure ins
334: (
335: p_effective_date in date,
336: p_rec in out nocopy ben_cmd_shd.g_rec_type
337: ) is
338: --
339: l_proc varchar2(72) := g_package||'ins';
340: --

Line 409: l_rec ben_cmd_shd.g_rec_type;

405: p_cmd_attribute30 in varchar2 default null,
406: p_object_version_number out nocopy number
407: ) is
408: --
409: l_rec ben_cmd_shd.g_rec_type;
410: l_proc varchar2(72) := g_package||'ins';
411: --
412: Begin
413: hr_utility.set_location('Entering:'||l_proc, 5);

Line 419: ben_cmd_shd.convert_args

415: -- Call conversion function to turn arguments into the
416: -- p_rec structure.
417: --
418: l_rec :=
419: ben_cmd_shd.convert_args
420: (
421: null,
422: p_cm_dlvry_med_typ_cd,
423: p_cm_dlvry_mthd_typ_id,