DBA Data[Home] [Help]

APPS.PSP_POA_INS dependencies on PSP_POA_SHD

Line 76: (p_rec in out nocopy psp_poa_shd.g_rec_type

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

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

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

158: ,p_rec.object_version_number
159: ,p_rec.funding_source_code
160: );
161: --
162: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
163: --
164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: Exception
166: When hr_api.check_integrity_violated Then

Line 168: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: Exception
166: When hr_api.check_integrity_violated Then
167: -- A check constraint has been violated
168: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
169: psp_poa_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When hr_api.parent_integrity_violated Then
172: -- Parent integrity has been violated

Line 169: psp_poa_shd.constraint_error

165: Exception
166: When hr_api.check_integrity_violated Then
167: -- A check constraint has been violated
168: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
169: psp_poa_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When hr_api.parent_integrity_violated Then
172: -- Parent integrity has been violated
173: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

Line 173: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

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

Line 174: psp_poa_shd.constraint_error

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

Line 178: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

174: psp_poa_shd.constraint_error
175: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
176: When hr_api.unique_integrity_violated Then
177: -- Unique integrity has been violated
178: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
179: psp_poa_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

Line 179: psp_poa_shd.constraint_error

175: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
176: When hr_api.unique_integrity_violated Then
177: -- Unique integrity has been violated
178: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
179: psp_poa_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
183: Raise;

Line 182: psp_poa_shd.g_api_dml := false; -- Unset the api dml status

178: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
179: psp_poa_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: psp_poa_shd.g_api_dml := false; -- Unset the api dml status
183: Raise;
184: End insert_dml;
185: --
186: -- ----------------------------------------------------------------------------

Line 224: (p_rec in out nocopy psp_poa_shd.g_rec_type

220: --
221: -- {End Of Comments}
222: -- ----------------------------------------------------------------------------
223: Procedure pre_insert
224: (p_rec in out nocopy psp_poa_shd.g_rec_type
225: ) is
226: --
227: Cursor C_Sel1 is select psp_organization_accounts_s.nextval from sys.dual;
228: --

Line 311: (p_rec in psp_poa_shd.g_rec_type

307: --
308: -- {End Of Comments}
309: -- ----------------------------------------------------------------------------
310: Procedure post_insert
311: (p_rec in psp_poa_shd.g_rec_type
312: ) is
313: --
314: l_proc varchar2(72) := g_package||'post_insert';
315: --

Line 408: (p_rec in out nocopy psp_poa_shd.g_rec_type

404: -- ----------------------------------------------------------------------------
405: -- |---------------------------------< ins >----------------------------------|
406: -- ----------------------------------------------------------------------------
407: Procedure ins
408: (p_rec in out nocopy psp_poa_shd.g_rec_type
409: ) is
410: --
411: l_proc varchar2(72) := g_package||'ins';
412: --

Line 485: l_rec psp_poa_shd.g_rec_type;

481: ,p_organization_account_id out nocopy number
482: ,p_object_version_number out nocopy number
483: ) is
484: --
485: l_rec psp_poa_shd.g_rec_type;
486: l_proc varchar2(72) := g_package||'ins';
487: --
488: Begin
489: hr_utility.set_location('Entering:'||l_proc, 5);

Line 495: psp_poa_shd.convert_args

491: -- Call conversion function to turn arguments into the
492: -- p_rec structure.
493: --
494: l_rec :=
495: psp_poa_shd.convert_args
496: (null
497: ,p_gl_code_combination_id
498: ,p_project_id
499: ,p_expenditure_organization_id