DBA Data[Home] [Help]

APPS.PER_PST_INS dependencies on PER_PST_SHD

Line 76: (p_rec in out nocopy per_pst_shd.g_rec_type

72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml
76: (p_rec in out nocopy per_pst_shd.g_rec_type
77: ) is
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --

Line 85: per_pst_shd.g_api_dml := true; -- Set the api dml status

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

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

152: ,p_rec.attribute20
153: ,p_rec.object_version_number
154: );
155: --
156: per_pst_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_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status
163: per_pst_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_pst_shd.constraint_error

159: Exception
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_pst_shd.g_api_dml := false; -- Unset the api dml status
163: per_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status

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

163: per_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_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_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status

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

168: per_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status
173: per_pst_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_pst_shd.g_api_dml := false; -- Unset the api dml status

Line 173: per_pst_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_pst_shd.g_api_dml := false; -- Unset the api dml status
173: per_pst_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_pst_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;

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

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

Line 218: (p_rec in out nocopy per_pst_shd.g_rec_type

214: --
215: -- {End Of Comments}
216: -- ----------------------------------------------------------------------------
217: Procedure pre_insert
218: (p_rec in out nocopy per_pst_shd.g_rec_type
219: ) is
220: --
221: Cursor C_Sel1 is select per_position_structures_s.nextval from sys.dual;
222: --

Line 306: ,p_rec in per_pst_shd.g_rec_type

302: -- {End Of Comments}
303: -- ----------------------------------------------------------------------------
304: Procedure post_insert
305: (p_effective_date in date
306: ,p_rec in per_pst_shd.g_rec_type
307: ) is
308: --
309: l_proc varchar2(72) := g_package||'post_insert';
310: --

Line 399: ,p_rec in out nocopy per_pst_shd.g_rec_type

395: -- |---------------------------------< ins >----------------------------------|
396: -- ----------------------------------------------------------------------------
397: Procedure ins
398: (p_effective_date in date
399: ,p_rec in out nocopy per_pst_shd.g_rec_type
400: ) is
401: --
402: l_proc varchar2(72) := g_package||'ins';
403: --

Line 470: l_rec per_pst_shd.g_rec_type;

466: ,p_position_structure_id out nocopy number
467: ,p_object_version_number out nocopy number
468: ) is
469: --
470: l_rec per_pst_shd.g_rec_type;
471: l_proc varchar2(72) := g_package||'ins';
472: --
473: Begin
474: hr_utility.set_location('Entering:'||l_proc, 5);

Line 480: per_pst_shd.convert_args

476: -- Call conversion function to turn arguments into the
477: -- p_rec structure.
478: --
479: l_rec :=
480: per_pst_shd.convert_args
481: (null
482: ,p_business_group_id
483: ,p_name
484: ,p_comments