DBA Data[Home] [Help]

APPS.PSP_PRT_INS dependencies on PSP_PRT_SHD

Line 76: (p_rec in out nocopy psp_prt_shd.g_rec_type

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

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

Line 136: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

132: ,p_rec.hundred_pcent_eff_at_per_asg
133: ,p_rec.selection_match_level
134: );
135: --
136: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: Exception
140: When hr_api.check_integrity_violated Then

Line 142: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

138: hr_utility.set_location(' Leaving:'||l_proc, 10);
139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
143: psp_prt_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated

Line 143: psp_prt_shd.constraint_error

139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
143: psp_prt_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

Line 147: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

143: psp_prt_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
148: psp_prt_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated

Line 148: psp_prt_shd.constraint_error

144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
148: psp_prt_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

Line 152: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

148: psp_prt_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
153: psp_prt_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: psp_prt_shd.g_api_dml := false; -- Unset the api dml status

Line 153: psp_prt_shd.constraint_error

149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
153: psp_prt_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
157: Raise;

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

152: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
153: psp_prt_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: psp_prt_shd.g_api_dml := false; -- Unset the api dml status
157: Raise;
158: End insert_dml;
159: --
160: -- ----------------------------------------------------------------------------

Line 198: (p_rec in out nocopy psp_prt_shd.g_rec_type

194: --
195: -- {End Of Comments}
196: -- ----------------------------------------------------------------------------
197: Procedure pre_insert
198: (p_rec in out nocopy psp_prt_shd.g_rec_type
199: ) is
200: --
201: Cursor C_Sel1 is select psp_report_templates_s.nextval from sys.dual;
202: --

Line 285: (p_rec in psp_prt_shd.g_rec_type

281: --
282: -- {End Of Comments}
283: -- ----------------------------------------------------------------------------
284: Procedure post_insert
285: (p_rec in psp_prt_shd.g_rec_type
286: ) is
287: --
288: l_proc varchar2(72) := g_package||'post_insert';
289: --

Line 356: (p_rec in out nocopy psp_prt_shd.g_rec_type

352: -- ----------------------------------------------------------------------------
353: -- |---------------------------------< ins >----------------------------------|
354: -- ----------------------------------------------------------------------------
355: Procedure ins
356: (p_rec in out nocopy psp_prt_shd.g_rec_type
357: ) is
358: --
359: l_proc varchar2(72) := g_package||'ins';
360: --

Line 420: l_rec psp_prt_shd.g_rec_type;

416: ,p_template_id in number
417: ,p_object_version_number out nocopy number
418: ) is
419: --
420: l_rec psp_prt_shd.g_rec_type;
421: l_proc varchar2(72) := g_package||'ins';
422: --
423: Begin
424: hr_utility.set_location('Entering:'||l_proc, 5);

Line 430: psp_prt_shd.convert_args

426: -- Call conversion function to turn arguments into the
427: -- p_rec structure.
428: --
429: l_rec :=
430: psp_prt_shd.convert_args
431: (null
432: ,p_template_name
433: ,p_business_group_id
434: ,p_set_of_books_id