DBA Data[Home] [Help]

APPS.PQH_BPL_INS dependencies on PQH_BPL_SHD

Line 76: (p_rec in out nocopy pqh_bpl_shd.g_rec_type

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

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

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

110: ,p_rec.approval_status
111: ,p_rec.wf_transaction_category_id
112: );
113: --
114: pqh_bpl_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: pqh_bpl_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: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
121: hr_utility.set_location(' Leaving:'||l_proc, 20);
122: pqh_bpl_shd.constraint_error
123: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.parent_integrity_violated Then

Line 122: pqh_bpl_shd.constraint_error

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

Line 126: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status

122: pqh_bpl_shd.constraint_error
123: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.parent_integrity_violated Then
125: -- Parent integrity has been violated
126: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
127: hr_utility.set_location(' Leaving:'||l_proc, 30);
128: pqh_bpl_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then

Line 128: pqh_bpl_shd.constraint_error

124: When hr_api.parent_integrity_violated Then
125: -- Parent integrity has been violated
126: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
127: hr_utility.set_location(' Leaving:'||l_proc, 30);
128: pqh_bpl_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status

Line 132: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status

128: pqh_bpl_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
133: hr_utility.set_location(' Leaving:'||l_proc, 40);
134: pqh_bpl_shd.constraint_error
135: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
136: When Others Then

Line 134: pqh_bpl_shd.constraint_error

130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
133: hr_utility.set_location(' Leaving:'||l_proc, 40);
134: pqh_bpl_shd.constraint_error
135: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
136: When Others Then
137: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
138: Raise;

Line 137: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status

133: hr_utility.set_location(' Leaving:'||l_proc, 40);
134: pqh_bpl_shd.constraint_error
135: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
136: When Others Then
137: pqh_bpl_shd.g_api_dml := false; -- Unset the api dml status
138: Raise;
139: End insert_dml;
140: --
141: -- ----------------------------------------------------------------------------

Line 179: (p_rec in out nocopy pqh_bpl_shd.g_rec_type

175: --
176: -- {End Of Comments}
177: -- ----------------------------------------------------------------------------
178: Procedure pre_insert
179: (p_rec in out nocopy pqh_bpl_shd.g_rec_type
180: ) is
181: --
182: Cursor C_Sel1 is select pqh_budget_pools_s.nextval from sys.dual;
183: --

Line 267: ,p_rec in pqh_bpl_shd.g_rec_type

263: -- {End Of Comments}
264: -- ----------------------------------------------------------------------------
265: Procedure post_insert
266: (p_effective_date in date
267: ,p_rec in pqh_bpl_shd.g_rec_type
268: ) is
269: --
270: l_proc varchar2(72) := g_package||'post_insert';
271: --

Line 318: ,p_rec in out nocopy pqh_bpl_shd.g_rec_type

314: -- |---------------------------------< ins >----------------------------------|
315: -- ----------------------------------------------------------------------------
316: Procedure ins
317: (p_effective_date in date
318: ,p_rec in out nocopy pqh_bpl_shd.g_rec_type
319: ) is
320: --
321: l_proc varchar2(72) := g_package||'ins';
322: --

Line 374: l_rec pqh_bpl_shd.g_rec_type;

370: ,p_pool_id out nocopy number
371: ,p_object_version_number out nocopy number
372: ) is
373: --
374: l_rec pqh_bpl_shd.g_rec_type;
375: l_proc varchar2(72) := g_package||'ins';
376: --
377: Begin
378: hr_utility.set_location('Entering:'||l_proc, 5);

Line 384: pqh_bpl_shd.convert_args

380: -- Call conversion function to turn arguments into the
381: -- p_rec structure.
382: --
383: l_rec :=
384: pqh_bpl_shd.convert_args
385: (null
386: ,p_name
387: ,p_budget_version_id
388: ,p_budget_unit_id