DBA Data[Home] [Help]

APPS.GHR_CST_UPD dependencies on GHR_CST_SHD

Line 55: (p_rec in out nocopy ghr_cst_shd.g_rec_type

51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml
55: (p_rec in out nocopy ghr_cst_shd.g_rec_type
56: ) is
57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --

Line 91: ghr_cst_shd.constraint_error

87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: --
91: ghr_cst_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: --

Line 96: ghr_cst_shd.constraint_error

92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: --
96: ghr_cst_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: --

Line 101: ghr_cst_shd.constraint_error

97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: --
101: ghr_cst_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: --
105: Raise;

Line 141: (p_rec in ghr_cst_shd.g_rec_type

137: --
138: -- {End Of Comments}
139: -- ----------------------------------------------------------------------------
140: Procedure pre_update
141: (p_rec in ghr_cst_shd.g_rec_type
142: ) is
143: --
144: l_proc varchar2(72) := g_package||'pre_update';
145: --

Line 186: ,p_rec in ghr_cst_shd.g_rec_type

182: -- {End Of Comments}
183: -- ----------------------------------------------------------------------------
184: Procedure post_update
185: (p_effective_date in date
186: ,p_rec in ghr_cst_shd.g_rec_type
187: ) is
188: --
189: l_proc varchar2(72) := g_package||'post_update';
190: --

Line 206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id

202: ,p_amount => p_rec.amount
203: ,p_cost_date => p_rec.cost_date
204: ,p_description => p_rec.description
205: ,p_object_version_number => p_rec.object_version_number
206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount

Line 207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase

203: ,p_cost_date => p_rec.cost_date
204: ,p_description => p_rec.description
205: ,p_object_version_number => p_rec.object_version_number
206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date

Line 208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage

204: ,p_description => p_rec.description
205: ,p_object_version_number => p_rec.object_version_number
206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description

Line 209: ,p_category_o => ghr_cst_shd.g_old_rec.category

205: ,p_object_version_number => p_rec.object_version_number
206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description
213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number

Line 210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount

206: ,p_complaint_id_o => ghr_cst_shd.g_old_rec.complaint_id
207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description
213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number
214: );

Line 211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date

207: ,p_phase_o => ghr_cst_shd.g_old_rec.phase
208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description
213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number
214: );
215: --

Line 212: ,p_description_o => ghr_cst_shd.g_old_rec.description

208: ,p_stage_o => ghr_cst_shd.g_old_rec.stage
209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description
213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number
214: );
215: --
216: exception

Line 213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number

209: ,p_category_o => ghr_cst_shd.g_old_rec.category
210: ,p_amount_o => ghr_cst_shd.g_old_rec.amount
211: ,p_cost_date_o => ghr_cst_shd.g_old_rec.cost_date
212: ,p_description_o => ghr_cst_shd.g_old_rec.description
213: ,p_object_version_number_o => ghr_cst_shd.g_old_rec.object_version_number
214: );
215: --
216: exception
217: --

Line 273: (p_rec in out nocopy ghr_cst_shd.g_rec_type

269: --
270: -- {End Of Comments}
271: -- ----------------------------------------------------------------------------
272: Procedure convert_defs
273: (p_rec in out nocopy ghr_cst_shd.g_rec_type
274: ) is
275: --
276: Begin
277: --

Line 286: ghr_cst_shd.g_old_rec.complaint_id;

282: --
283:
284: If (p_rec.complaint_id = hr_api.g_number) then
285: p_rec.complaint_id :=
286: ghr_cst_shd.g_old_rec.complaint_id;
287: End If;
288: If (p_rec.phase = hr_api.g_varchar2) then
289: p_rec.phase :=
290: ghr_cst_shd.g_old_rec.phase;

Line 290: ghr_cst_shd.g_old_rec.phase;

286: ghr_cst_shd.g_old_rec.complaint_id;
287: End If;
288: If (p_rec.phase = hr_api.g_varchar2) then
289: p_rec.phase :=
290: ghr_cst_shd.g_old_rec.phase;
291: End If;
292: If (p_rec.stage = hr_api.g_varchar2) then
293: p_rec.stage :=
294: ghr_cst_shd.g_old_rec.stage;

Line 294: ghr_cst_shd.g_old_rec.stage;

290: ghr_cst_shd.g_old_rec.phase;
291: End If;
292: If (p_rec.stage = hr_api.g_varchar2) then
293: p_rec.stage :=
294: ghr_cst_shd.g_old_rec.stage;
295: End If;
296: If (p_rec.category = hr_api.g_varchar2) then
297: p_rec.category:=
298: ghr_cst_shd.g_old_rec.category;

Line 298: ghr_cst_shd.g_old_rec.category;

294: ghr_cst_shd.g_old_rec.stage;
295: End If;
296: If (p_rec.category = hr_api.g_varchar2) then
297: p_rec.category:=
298: ghr_cst_shd.g_old_rec.category;
299: End If;
300: If (p_rec.amount = hr_api.g_number) then
301: p_rec.amount :=
302: ghr_cst_shd.g_old_rec.amount;

Line 302: ghr_cst_shd.g_old_rec.amount;

298: ghr_cst_shd.g_old_rec.category;
299: End If;
300: If (p_rec.amount = hr_api.g_number) then
301: p_rec.amount :=
302: ghr_cst_shd.g_old_rec.amount;
303: End If;
304: If (p_rec.cost_date = hr_api.g_date) then
305: p_rec.cost_date :=
306: ghr_cst_shd.g_old_rec.cost_date;

Line 306: ghr_cst_shd.g_old_rec.cost_date;

302: ghr_cst_shd.g_old_rec.amount;
303: End If;
304: If (p_rec.cost_date = hr_api.g_date) then
305: p_rec.cost_date :=
306: ghr_cst_shd.g_old_rec.cost_date;
307: End If;
308: If (p_rec.description = hr_api.g_varchar2) then
309: p_rec.description :=
310: ghr_cst_shd.g_old_rec.description;

Line 310: ghr_cst_shd.g_old_rec.description;

306: ghr_cst_shd.g_old_rec.cost_date;
307: End If;
308: If (p_rec.description = hr_api.g_varchar2) then
309: p_rec.description :=
310: ghr_cst_shd.g_old_rec.description;
311: End If;
312: --
313: End convert_defs;
314: --

Line 320: ,p_rec in out nocopy ghr_cst_shd.g_rec_type

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

Line 330: ghr_cst_shd.lck

326: hr_utility.set_location('Entering:'||l_proc, 5);
327: --
328: -- We must lock the row which we need to update.
329: --
330: ghr_cst_shd.lck
331: (p_rec.compl_agency_cost_id
332: ,p_rec.object_version_number
333: );
334: --

Line 379: l_rec ghr_cst_shd.g_rec_type;

375: ,p_cost_date in date default hr_api.g_date
376: ,p_description in varchar2 default hr_api.g_varchar2
377: ) is
378: --
379: l_rec ghr_cst_shd.g_rec_type;
380: l_proc varchar2(72) := g_package||'upd';
381: --
382: Begin
383: hr_utility.set_location('Entering:'||l_proc, 5);

Line 389: ghr_cst_shd.convert_args

385: -- Call conversion function to turn arguments into the
386: -- l_rec structure.
387: --
388: l_rec :=
389: ghr_cst_shd.convert_args
390: (p_compl_agency_cost_id
391: ,p_complaint_id
392: ,p_phase
393: ,p_stage