DBA Data[Home] [Help]

APPS.PER_ESA_INS dependencies on PER_ESA_SHD

Line 75: Procedure insert_dml(p_rec in out nocopy per_esa_shd.g_rec_type) is

71: -- Internal Table Handler Use Only.
72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml(p_rec in out nocopy per_esa_shd.g_rec_type) is
76: --
77: l_proc varchar2(72) := g_package||'insert_dml';
78: --
79: Begin

Line 83: per_esa_shd.g_api_dml := true; -- Set the api dml status

79: Begin
80: hr_utility.set_location('Entering:'||l_proc, 5);
81: p_rec.object_version_number := 1; -- Initialise the object version
82: --
83: per_esa_shd.g_api_dml := true; -- Set the api dml status
84: --
85: -- Insert the row into: per_establishment_attendances
86: --
87: insert into per_establishment_attendances

Line 156: per_esa_shd.g_api_dml := false; -- Unset the api dml status

152: p_rec.party_id, -- HR/TCA merge
153: p_rec.address
154: );
155: --
156: per_esa_shd.g_api_dml := false; -- Unset the api dml status
157: --
158: hr_utility.set_location(' Leaving:'||l_proc, 10);
159: Exception
160: When hr_api.check_integrity_violated Then

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

158: hr_utility.set_location(' Leaving:'||l_proc, 10);
159: Exception
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_esa_shd.g_api_dml := false; -- Unset the api dml status
163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated

Line 163: per_esa_shd.constraint_error

159: Exception
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_esa_shd.g_api_dml := false; -- Unset the api dml status
163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status

Line 167: per_esa_shd.g_api_dml := false; -- Unset the api dml status

163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated

Line 168: per_esa_shd.constraint_error

164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status

Line 172: per_esa_shd.g_api_dml := false; -- Unset the api dml status

168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_esa_shd.g_api_dml := false; -- Unset the api dml status

Line 173: per_esa_shd.constraint_error

169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_esa_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;

Line 176: per_esa_shd.g_api_dml := false; -- Unset the api dml status

172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_esa_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;
178: End insert_dml;
179: --
180: -- ----------------------------------------------------------------------------

Line 217: Procedure pre_insert(p_rec in out nocopy per_esa_shd.g_rec_type) is

213: -- Internal Table Handler Use Only.
214: --
215: -- {End Of Comments}
216: -- ----------------------------------------------------------------------------
217: Procedure pre_insert(p_rec in out nocopy per_esa_shd.g_rec_type) is
218: --
219: cursor C_Sel1 is
220: select per_estab_attendances_s.nextval
221: from sys.dual;

Line 305: Procedure post_insert(p_rec in per_esa_shd.g_rec_type,

301: -- Internal Table Handler Use Only.
302: --
303: -- {End Of Comments}
304: -- ----------------------------------------------------------------------------
305: Procedure post_insert(p_rec in per_esa_shd.g_rec_type,
306: p_effective_date in date
307: ) is
308: --
309: l_proc varchar2(72) := g_package||'post_insert';

Line 369: p_rec in out nocopy per_esa_shd.g_rec_type,

365: -- |---------------------------------< ins >----------------------------------|
366: -- ----------------------------------------------------------------------------
367: Procedure ins
368: (
369: p_rec in out nocopy per_esa_shd.g_rec_type,
370: p_effective_date in date,
371: p_validate in boolean default false
372: ) is
373: --

Line 461: l_rec per_esa_shd.g_rec_type;

457: p_party_id in number default null, -- HR/TCA merge
458: p_address in varchar2 default null
459: ) is
460: --
461: l_rec per_esa_shd.g_rec_type;
462: l_proc varchar2(72) := g_package||'ins';
463: --
464: Begin
465: hr_utility.set_location('Entering:'||l_proc, 5);

Line 471: per_esa_shd.convert_args

467: -- Call conversion function to turn arguments into the
468: -- p_rec structure.
469: --
470: l_rec :=
471: per_esa_shd.convert_args
472: (
473: null,
474: p_person_id,
475: p_establishment_id,