DBA Data[Home] [Help]

APPS.PQH_DOA_DEL dependencies on PQH_DOA_SHD

Line 54: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type

50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type
55: ,p_effective_date in date
56: ,p_datetrack_mode in varchar2
57: ,p_validation_start_date in date
58: ,p_validation_end_date in date

Line 66: pqh_doa_shd.g_api_dml := true; -- Set the api dml status

62: --
63: Begin
64: hr_utility.set_location('Entering:'||l_proc, 5);
65: If (p_datetrack_mode = hr_api.g_delete_next_change) then
66: pqh_doa_shd.g_api_dml := true; -- Set the api dml status
67: --
68: -- Delete the where the effective start date is equal
69: -- to the validation end date.
70: --

Line 75: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status

71: delete from pqh_document_attributes_f
72: where document_attribute_id = p_rec.document_attribute_id
73: and effective_start_date = p_validation_start_date;
74: --
75: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: pqh_doa_shd.g_api_dml := true; -- Set the api dml status
78: --
79: -- Delete the row(s) where the effective start date is greater than

Line 77: pqh_doa_shd.g_api_dml := true; -- Set the api dml status

73: and effective_start_date = p_validation_start_date;
74: --
75: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: pqh_doa_shd.g_api_dml := true; -- Set the api dml status
78: --
79: -- Delete the row(s) where the effective start date is greater than
80: -- or equal to the validation start date.
81: --

Line 86: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status

82: delete from pqh_document_attributes_f
83: where document_attribute_id = p_rec.document_attribute_id
84: and effective_start_date >= p_validation_start_date;
85: --
86: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status
87: End If;
88: --
89: hr_utility.set_location(' Leaving:'||l_proc, 20);
90: --

Line 93: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status

89: hr_utility.set_location(' Leaving:'||l_proc, 20);
90: --
91: Exception
92: When Others Then
93: pqh_doa_shd.g_api_dml := false; -- Unset the api dml status
94: Raise;
95: --
96: End dt_delete_dml;
97: --

Line 102: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type

98: -- ----------------------------------------------------------------------------
99: -- |------------------------------< delete_dml >------------------------------|
100: -- ----------------------------------------------------------------------------
101: Procedure delete_dml
102: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type
103: ,p_effective_date in date
104: ,p_datetrack_mode in varchar2
105: ,p_validation_start_date in date
106: ,p_validation_end_date in date

Line 159: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type

155: --
156: -- {End Of Comments}
157: -- ----------------------------------------------------------------------------
158: Procedure dt_pre_delete
159: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type
160: ,p_effective_date in date
161: ,p_datetrack_mode in varchar2
162: ,p_validation_start_date in date
163: ,p_validation_end_date in date

Line 174: := pqh_doa_shd.g_old_rec.effective_start_date;

170: --
171: If (p_datetrack_mode <> hr_api.g_zap) then
172: --
173: p_rec.effective_start_date
174: := pqh_doa_shd.g_old_rec.effective_start_date;
175: --
176: If (p_datetrack_mode = hr_api.g_delete) then
177: p_rec.effective_end_date := p_validation_start_date - 1;
178: Else

Line 184: pqh_doa_shd.upd_effective_end_date

180: End If;
181: --
182: -- Update the current effective end date record
183: --
184: pqh_doa_shd.upd_effective_end_date
185: (p_effective_date => p_effective_date
186: ,p_base_key_value => p_rec.document_attribute_id
187: ,p_new_effective_end_date => p_rec.effective_end_date
188: ,p_validation_start_date => p_validation_start_date

Line 233: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type

229: --
230: -- {End Of Comments}
231: -- ----------------------------------------------------------------------------
232: Procedure pre_delete
233: (p_rec in out NOCOPY pqh_doa_shd.g_rec_type
234: ,p_effective_date in date
235: ,p_datetrack_mode in varchar2
236: ,p_validation_start_date in date
237: ,p_validation_end_date in date

Line 293: (p_rec in pqh_doa_shd.g_rec_type

289: --
290: -- {End Of Comments}
291: -- ----------------------------------------------------------------------------
292: Procedure post_delete
293: (p_rec in pqh_doa_shd.g_rec_type
294: ,p_effective_date in date
295: ,p_datetrack_mode in varchar2
296: ,p_validation_start_date in date
297: ,p_validation_end_date in date

Line 322: => pqh_doa_shd.g_old_rec.effective_start_date

318: => p_rec.effective_start_date
319: ,p_effective_end_date
320: => p_rec.effective_end_date
321: ,p_effective_start_date_o
322: => pqh_doa_shd.g_old_rec.effective_start_date
323: ,p_effective_end_date_o
324: => pqh_doa_shd.g_old_rec.effective_end_date
325: ,p_document_id_o
326: => pqh_doa_shd.g_old_rec.document_id

Line 324: => pqh_doa_shd.g_old_rec.effective_end_date

320: => p_rec.effective_end_date
321: ,p_effective_start_date_o
322: => pqh_doa_shd.g_old_rec.effective_start_date
323: ,p_effective_end_date_o
324: => pqh_doa_shd.g_old_rec.effective_end_date
325: ,p_document_id_o
326: => pqh_doa_shd.g_old_rec.document_id
327: ,p_attribute_id_o
328: => pqh_doa_shd.g_old_rec.attribute_id

Line 326: => pqh_doa_shd.g_old_rec.document_id

322: => pqh_doa_shd.g_old_rec.effective_start_date
323: ,p_effective_end_date_o
324: => pqh_doa_shd.g_old_rec.effective_end_date
325: ,p_document_id_o
326: => pqh_doa_shd.g_old_rec.document_id
327: ,p_attribute_id_o
328: => pqh_doa_shd.g_old_rec.attribute_id
329: ,p_tag_name_o
330: => pqh_doa_shd.g_old_rec.tag_name

Line 328: => pqh_doa_shd.g_old_rec.attribute_id

324: => pqh_doa_shd.g_old_rec.effective_end_date
325: ,p_document_id_o
326: => pqh_doa_shd.g_old_rec.document_id
327: ,p_attribute_id_o
328: => pqh_doa_shd.g_old_rec.attribute_id
329: ,p_tag_name_o
330: => pqh_doa_shd.g_old_rec.tag_name
331: ,p_object_version_number_o
332: => pqh_doa_shd.g_old_rec.object_version_number

Line 330: => pqh_doa_shd.g_old_rec.tag_name

326: => pqh_doa_shd.g_old_rec.document_id
327: ,p_attribute_id_o
328: => pqh_doa_shd.g_old_rec.attribute_id
329: ,p_tag_name_o
330: => pqh_doa_shd.g_old_rec.tag_name
331: ,p_object_version_number_o
332: => pqh_doa_shd.g_old_rec.object_version_number
333: );
334: --

Line 332: => pqh_doa_shd.g_old_rec.object_version_number

328: => pqh_doa_shd.g_old_rec.attribute_id
329: ,p_tag_name_o
330: => pqh_doa_shd.g_old_rec.tag_name
331: ,p_object_version_number_o
332: => pqh_doa_shd.g_old_rec.object_version_number
333: );
334: --
335: exception
336: --

Line 354: ,p_rec in out NOCOPY pqh_doa_shd.g_rec_type

350: -- ----------------------------------------------------------------------------
351: Procedure del
352: (p_effective_date in date
353: ,p_datetrack_mode in varchar2
354: ,p_rec in out NOCOPY pqh_doa_shd.g_rec_type
355: ) is
356: --
357: l_proc varchar2(72) := g_package||'del';
358: l_validation_start_date date;

Line 370: pqh_doa_shd.lck

366: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
367: --
368: -- We must lock the row which we need to delete.
369: --
370: pqh_doa_shd.lck
371: (p_effective_date => p_effective_date
372: ,p_datetrack_mode => p_datetrack_mode
373: ,p_document_attribute_id => p_rec.document_attribute_id
374: ,p_object_version_number => p_rec.object_version_number

Line 439: l_rec pqh_doa_shd.g_rec_type;

435: ,p_effective_start_date out NOCOPY date
436: ,p_effective_end_date out NOCOPY date
437: ) is
438: --
439: l_rec pqh_doa_shd.g_rec_type;
440: l_proc varchar2(72) := g_package||'del';
441: --
442: Begin
443: hr_utility.set_location('Entering:'||l_proc, 5);