DBA Data[Home] [Help]

APPS.PQP_GDS_INS dependencies on PQP_GDS_SHD

Line 76: (p_rec in out nocopy pqp_gds_shd.g_rec_type

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

Line 85: pqp_gds_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: pqp_gds_shd.g_api_dml := true; -- Set the api dml status
86: --
87: -- Insert the row into: pqp_gap_duration_summary
88: --
89: insert into pqp_gap_duration_summary

Line 114: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

110: ,p_rec.date_end
111: ,p_rec.object_version_number
112: );
113: --
114: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
115: --
116: hr_utility.set_location(' Leaving:'||l_proc, 10);
117: Exception
118: When hr_api.check_integrity_violated Then

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

116: hr_utility.set_location(' Leaving:'||l_proc, 10);
117: Exception
118: When hr_api.check_integrity_violated Then
119: -- A check constraint has been violated
120: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
121: pqp_gds_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When hr_api.parent_integrity_violated Then
124: -- Parent integrity has been violated

Line 121: pqp_gds_shd.constraint_error

117: Exception
118: When hr_api.check_integrity_violated Then
119: -- A check constraint has been violated
120: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
121: pqp_gds_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When hr_api.parent_integrity_violated Then
124: -- Parent integrity has been violated
125: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

Line 125: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

121: pqp_gds_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When hr_api.parent_integrity_violated Then
124: -- Parent integrity has been violated
125: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
126: pqp_gds_shd.constraint_error
127: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
128: When hr_api.unique_integrity_violated Then
129: -- Unique integrity has been violated

Line 126: pqp_gds_shd.constraint_error

122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When hr_api.parent_integrity_violated Then
124: -- Parent integrity has been violated
125: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
126: pqp_gds_shd.constraint_error
127: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
128: When hr_api.unique_integrity_violated Then
129: -- Unique integrity has been violated
130: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

Line 130: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

126: pqp_gds_shd.constraint_error
127: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
128: When hr_api.unique_integrity_violated Then
129: -- Unique integrity has been violated
130: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
131: pqp_gds_shd.constraint_error
132: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
133: When Others Then
134: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

Line 131: pqp_gds_shd.constraint_error

127: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
128: When hr_api.unique_integrity_violated Then
129: -- Unique integrity has been violated
130: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
131: pqp_gds_shd.constraint_error
132: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
133: When Others Then
134: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
135: Raise;

Line 134: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status

130: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
131: pqp_gds_shd.constraint_error
132: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
133: When Others Then
134: pqp_gds_shd.g_api_dml := false; -- Unset the api dml status
135: Raise;
136: End insert_dml;
137: --
138: -- ----------------------------------------------------------------------------

Line 176: (p_rec in out nocopy pqp_gds_shd.g_rec_type

172: --
173: -- {End Of Comments}
174: -- ----------------------------------------------------------------------------
175: Procedure pre_insert
176: (p_rec in out nocopy pqp_gds_shd.g_rec_type
177: ) is
178: --
179: Cursor C_Sel1 is select pqp_gap_duration_summary_s.nextval from sys.dual;
180: --

Line 263: (p_rec in pqp_gds_shd.g_rec_type

259: --
260: -- {End Of Comments}
261: -- ----------------------------------------------------------------------------
262: Procedure post_insert
263: (p_rec in pqp_gds_shd.g_rec_type
264: ) is
265: --
266: l_proc varchar2(72) := g_package||'post_insert';
267: --

Line 312: (p_rec in out nocopy pqp_gds_shd.g_rec_type

308: -- ----------------------------------------------------------------------------
309: -- |---------------------------------< ins >----------------------------------|
310: -- ----------------------------------------------------------------------------
311: Procedure ins
312: (p_rec in out nocopy pqp_gds_shd.g_rec_type
313: ) is
314: --
315: l_proc varchar2(72) := g_package||'ins';
316: --

Line 365: l_rec pqp_gds_shd.g_rec_type;

361: ,p_gap_duration_summary_id out nocopy number
362: ,p_object_version_number out nocopy number
363: ) is
364: --
365: l_rec pqp_gds_shd.g_rec_type;
366: l_proc varchar2(72) := g_package||'ins';
367: --
368: Begin
369: hr_utility.set_location('Entering:'||l_proc, 5);

Line 375: pqp_gds_shd.convert_args

371: -- Call conversion function to turn arguments into the
372: -- p_rec structure.
373: --
374: l_rec :=
375: pqp_gds_shd.convert_args
376: (null
377: ,p_assignment_id
378: ,p_gap_absence_plan_id
379: ,p_summary_type