DBA Data[Home] [Help]

APPS.PAY_RFI_DEL dependencies on PAY_RFI_SHD

Line 54: (p_rec in out nocopy pay_rfi_shd.g_rec_type

50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy pay_rfi_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: pay_rfi_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: pay_rfi_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: pay_rfi_shd.g_api_dml := false; -- Unset the api dml status

71: delete from pay_report_format_items_f
72: where report_format_item_id = p_rec.report_format_item_id
73: and effective_start_date = p_validation_start_date;
74: --
75: pay_rfi_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: pay_rfi_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: pay_rfi_shd.g_api_dml := true; -- Set the api dml status

73: and effective_start_date = p_validation_start_date;
74: --
75: pay_rfi_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: pay_rfi_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: pay_rfi_shd.g_api_dml := false; -- Unset the api dml status

82: delete from pay_report_format_items_f
83: where report_format_item_id = p_rec.report_format_item_id
84: and effective_start_date >= p_validation_start_date;
85: --
86: pay_rfi_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: pay_rfi_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: pay_rfi_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 pay_rfi_shd.g_rec_type

98: -- ----------------------------------------------------------------------------
99: -- |------------------------------< delete_dml >------------------------------|
100: -- ----------------------------------------------------------------------------
101: Procedure delete_dml
102: (p_rec in out nocopy pay_rfi_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 pay_rfi_shd.g_rec_type

155: --
156: -- {End Of Comments}
157: -- ----------------------------------------------------------------------------
158: Procedure dt_pre_delete
159: (p_rec in out nocopy pay_rfi_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: := pay_rfi_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: := pay_rfi_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: pay_rfi_shd.upd_effective_end_date

180: End If;
181: --
182: -- Update the current effective end date record
183: --
184: pay_rfi_shd.upd_effective_end_date
185: (p_effective_date => p_effective_date
186: ,p_base_key_value => p_rec.report_format_item_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 pay_rfi_shd.g_rec_type

229: --
230: -- {End Of Comments}
231: -- ----------------------------------------------------------------------------
232: Procedure pre_delete
233: (p_rec in out nocopy pay_rfi_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 pay_rfi_shd.g_rec_type

289: --
290: -- {End Of Comments}
291: -- ----------------------------------------------------------------------------
292: Procedure post_delete
293: (p_rec in pay_rfi_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 314: ,p_rec in out nocopy pay_rfi_shd.g_rec_type

310: -- ----------------------------------------------------------------------------
311: Procedure del
312: (p_effective_date in date
313: ,p_datetrack_mode in varchar2
314: ,p_rec in out nocopy pay_rfi_shd.g_rec_type
315: ) is
316: --
317: l_proc varchar2(72) := g_package||'del';
318: l_validation_start_date date;

Line 330: pay_rfi_shd.lck

326: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
327: --
328: -- We must lock the row which we need to delete.
329: --
330: pay_rfi_shd.lck
331: (p_effective_date => p_effective_date
332: ,p_datetrack_mode => p_datetrack_mode
333: ,p_report_format_item_id => p_rec.report_format_item_id
334: ,p_object_version_number => p_rec.object_version_number

Line 399: l_rec pay_rfi_shd.g_rec_type;

395: ,p_effective_start_date out nocopy date
396: ,p_effective_end_date out nocopy date
397: ) is
398: --
399: l_rec pay_rfi_shd.g_rec_type;
400: l_proc varchar2(72) := g_package||'del';
401: --
402: Begin
403: hr_utility.set_location('Entering:'||l_proc, 5);