DBA Data[Home] [Help]

APPS.BEN_RAN_INS dependencies on BEN_RAN_SHD

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

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

Line 82: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

78: p_rec.ending_person_action_id,
79: p_rec.object_version_number
80: );
81: --
82: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
83: --
84: hr_utility.set_location(' Leaving:'||l_proc, 10);
85: Exception
86: When hr_api.check_integrity_violated Then

Line 88: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

84: hr_utility.set_location(' Leaving:'||l_proc, 10);
85: Exception
86: When hr_api.check_integrity_violated Then
87: -- A check constraint has been violated
88: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
89: ben_ran_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated

Line 89: ben_ran_shd.constraint_error

85: Exception
86: When hr_api.check_integrity_violated Then
87: -- A check constraint has been violated
88: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
89: ben_ran_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

Line 93: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

89: ben_ran_shd.constraint_error
90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
94: ben_ran_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated

Line 94: ben_ran_shd.constraint_error

90: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
91: When hr_api.parent_integrity_violated Then
92: -- Parent integrity has been violated
93: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
94: ben_ran_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

Line 98: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

94: ben_ran_shd.constraint_error
95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
99: ben_ran_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When Others Then
102: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

Line 99: ben_ran_shd.constraint_error

95: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.unique_integrity_violated Then
97: -- Unique integrity has been violated
98: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
99: ben_ran_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When Others Then
102: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
103: Raise;

Line 102: ben_ran_shd.g_api_dml := false; -- Unset the api dml status

98: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
99: ben_ran_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When Others Then
102: ben_ran_shd.g_api_dml := false; -- Unset the api dml status
103: Raise;
104: End insert_dml;
105: --
106: -- ----------------------------------------------------------------------------

Line 143: Procedure pre_insert(p_rec in out nocopy ben_ran_shd.g_rec_type) is

139: -- Internal Row Handler Use Only.
140: --
141: -- {End Of Comments}
142: -- ----------------------------------------------------------------------------
143: Procedure pre_insert(p_rec in out nocopy ben_ran_shd.g_rec_type) is
144: --
145: l_proc varchar2(72) := g_package||'pre_insert';
146: --
147: Cursor C_Sel1 is select ben_batch_ranges_s.nextval from sys.dual;

Line 195: p_effective_date in date,p_rec in ben_ran_shd.g_rec_type) is

191: --
192: -- {End Of Comments}
193: -- ----------------------------------------------------------------------------
194: Procedure post_insert(
195: p_effective_date in date,p_rec in ben_ran_shd.g_rec_type) is
196: --
197: l_proc varchar2(72) := g_package||'post_insert';
198: --
199: Begin

Line 211: p_rec in out nocopy ben_ran_shd.g_rec_type

207: -- ----------------------------------------------------------------------------
208: Procedure ins
209: (
210: p_effective_date in date,
211: p_rec in out nocopy ben_ran_shd.g_rec_type
212: ) is
213: --
214: l_proc varchar2(72) := g_package||'ins';
215: --

Line 252: l_rec ben_ran_shd.g_rec_type;

248: p_ending_person_action_id in number,
249: p_object_version_number out nocopy number
250: ) is
251: --
252: l_rec ben_ran_shd.g_rec_type;
253: l_proc varchar2(72) := g_package||'ins';
254: --
255: Begin
256: hr_utility.set_location('Entering:'||l_proc, 5);

Line 262: ben_ran_shd.convert_args

258: -- Call conversion function to turn arguments into the
259: -- p_rec structure.
260: --
261: l_rec :=
262: ben_ran_shd.convert_args
263: (
264: null,
265: p_benefit_action_id,
266: p_range_status_cd,