DBA Data[Home] [Help]

APPS.SSP_ERN_INS dependencies on SSP_ERN_SHD

Line 52: Procedure insert_dml(p_rec in out nocopy ssp_ern_shd.g_rec_type) is

48: -- Access Status:
49: -- Internal Table Handler Use Only.
50: --
51: -- ----------------------------------------------------------------------------
52: Procedure insert_dml(p_rec in out nocopy ssp_ern_shd.g_rec_type) is
53: --
54: l_proc varchar2(72) := g_package||'insert_dml';
55: --
56: Begin

Line 60: ssp_ern_shd.g_api_dml := true; -- Set the api dml status

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

Line 83: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status

79: p_rec.user_entered,
80: p_rec.payment_periods
81: );
82: --
83: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status
84: --
85: hr_utility.set_location(' Leaving:'||l_proc, 100);
86: Exception
87: When hr_api.check_integrity_violated Then

Line 89: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status

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

Line 90: ssp_ern_shd.constraint_error

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

Line 94: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status

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

Line 95: ssp_ern_shd.constraint_error

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

Line 99: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status

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

Line 100: ssp_ern_shd.constraint_error

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

Line 103: ssp_ern_shd.g_api_dml := false; -- Unset the api dml status

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

Line 142: Procedure pre_insert(p_rec in out nocopy ssp_ern_shd.g_rec_type) is

138: -- Access Status:
139: -- Internal Table Handler Use Only.
140: --
141: -- ----------------------------------------------------------------------------
142: Procedure pre_insert(p_rec in out nocopy ssp_ern_shd.g_rec_type) is
143: --
144: l_proc varchar2(72) := g_package||'pre_insert';
145: --
146: Cursor C_Sel1 is select ssp_earnings_calculations_s.nextval from sys.dual;

Line 190: Procedure post_insert(p_rec in ssp_ern_shd.g_rec_type) is

186: -- Access Status:
187: -- Internal Table Handler Use Only.
188: --
189: -- ----------------------------------------------------------------------------
190: Procedure post_insert(p_rec in ssp_ern_shd.g_rec_type) is
191: --
192: l_proc varchar2(72) := g_package||'post_insert';
193: --
194: Begin

Line 205: p_rec in out nocopy ssp_ern_shd.g_rec_type,

201: -- |---------------------------------< ins >----------------------------------|
202: -- ----------------------------------------------------------------------------
203: Procedure ins
204: (
205: p_rec in out nocopy ssp_ern_shd.g_rec_type,
206: p_validate in boolean default false
207: ) is
208: --
209: l_proc varchar2(72) := g_package||'ins';

Line 282: l_rec ssp_ern_shd.g_rec_type;

278: p_average_earnings_amount in out nocopy number,
279: p_validate in boolean default false
280: ) is
281: --
282: l_rec ssp_ern_shd.g_rec_type;
283: l_proc varchar2(72) := g_package||'ins (old)';
284: --
285: Begin
286: hr_utility.set_location('Entering:'||l_proc, 1);

Line 292: l_rec := ssp_ern_shd.convert_args (null,

288: g_payment_period_func_status := 'OLD';
289: --
290: -- Call conversion function to turn arguments into the p_rec structure.
291: --
292: l_rec := ssp_ern_shd.convert_args (null,
293: null,
294: p_person_id,
295: p_effective_date,
296: p_average_earnings_amount,

Line 336: l_rec ssp_ern_shd.g_rec_type;

332: p_payment_periods in out nocopy number,
333: p_validate in boolean default false
334: ) is
335: --
336: l_rec ssp_ern_shd.g_rec_type;
337: l_proc varchar2(72) := g_package||'ins';
338: --
339: Begin
340: hr_utility.set_location('Entering:'||l_proc, 1);

Line 346: l_rec := ssp_ern_shd.convert_args (null,

342: g_payment_period_func_status := 'NEW';
343: --
344: -- Call conversion function to turn arguments into the p_rec structure.
345: --
346: l_rec := ssp_ern_shd.convert_args (null,
347: null,
348: p_person_id,
349: p_effective_date,
350: p_average_earnings_amount,