DBA Data[Home] [Help]

APPS.BEN_BEC_INS dependencies on BEN_BEC_SHD

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

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

Line 104: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

100: p_rec.business_group_id,
101: p_rec.object_version_number
102: );
103: --
104: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
105: --
106: hr_utility.set_location(' Leaving:'||l_proc, 10);
107: Exception
108: When hr_api.check_integrity_violated Then

Line 110: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

106: hr_utility.set_location(' Leaving:'||l_proc, 10);
107: Exception
108: When hr_api.check_integrity_violated Then
109: -- A check constraint has been violated
110: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
111: ben_bec_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated

Line 111: ben_bec_shd.constraint_error

107: Exception
108: When hr_api.check_integrity_violated Then
109: -- A check constraint has been violated
110: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
111: ben_bec_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

Line 115: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

111: ben_bec_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
116: ben_bec_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated

Line 116: ben_bec_shd.constraint_error

112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
116: ben_bec_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

Line 120: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

116: ben_bec_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
121: ben_bec_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When Others Then
124: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

Line 121: ben_bec_shd.constraint_error

117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
121: ben_bec_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When Others Then
124: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
125: Raise;

Line 124: ben_bec_shd.g_api_dml := false; -- Unset the api dml status

120: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
121: ben_bec_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When Others Then
124: ben_bec_shd.g_api_dml := false; -- Unset the api dml status
125: Raise;
126: End insert_dml;
127: --
128: -- ----------------------------------------------------------------------------

Line 165: Procedure pre_insert(p_rec in out nocopy ben_bec_shd.g_rec_type) is

161: -- Internal Row Handler Use Only.
162: --
163: -- {End Of Comments}
164: -- ----------------------------------------------------------------------------
165: Procedure pre_insert(p_rec in out nocopy ben_bec_shd.g_rec_type) is
166: --
167: l_proc varchar2(72) := g_package||'pre_insert';
168: --
169: Cursor C_Sel1 is select ben_batch_elctbl_chc_info_s.nextval from sys.dual;

Line 217: p_rec in ben_bec_shd.g_rec_type) is

213: --
214: -- {End Of Comments}
215: -- ----------------------------------------------------------------------------
216: Procedure post_insert(p_effective_date in date,
217: p_rec in ben_bec_shd.g_rec_type) is
218: --
219: l_proc varchar2(72) := g_package||'post_insert';
220: --
221: Begin

Line 271: p_rec in out nocopy ben_bec_shd.g_rec_type

267: -- ----------------------------------------------------------------------------
268: Procedure ins
269: (
270: p_effective_date in date,
271: p_rec in out nocopy ben_bec_shd.g_rec_type
272: ) is
273: --
274: l_proc varchar2(72) := g_package||'ins';
275: --

Line 322: l_rec ben_bec_shd.g_rec_type;

318: p_business_group_id in number,
319: p_object_version_number out nocopy number
320: ) is
321: --
322: l_rec ben_bec_shd.g_rec_type;
323: l_proc varchar2(72) := g_package||'ins';
324: --
325: Begin
326: hr_utility.set_location('Entering:'||l_proc, 5);

Line 332: ben_bec_shd.convert_args

328: -- Call conversion function to turn arguments into the
329: -- p_rec structure.
330: --
331: l_rec :=
332: ben_bec_shd.convert_args
333: (
334: null,
335: p_benefit_action_id,
336: p_person_id,