50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy pqh_acc_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
93: -- ----------------------------------------------------------------------------
94: -- |------------------------------< delete_dml >------------------------------|
95: -- ----------------------------------------------------------------------------
96: Procedure delete_dml
97: (p_rec in out nocopy pqh_acc_shd.g_rec_type
98: ,p_effective_date in date
99: ,p_datetrack_mode in varchar2
100: ,p_validation_start_date in date
101: ,p_validation_end_date in date
150: --
151: -- {End Of Comments}
152: -- ----------------------------------------------------------------------------
153: Procedure dt_pre_delete
154: (p_rec in out nocopy pqh_acc_shd.g_rec_type
155: ,p_effective_date in date
156: ,p_datetrack_mode in varchar2
157: ,p_validation_start_date in date
158: ,p_validation_end_date in date
165: --
166: If (p_datetrack_mode <> hr_api.g_zap) then
167: --
168: p_rec.effective_start_date
169: := pqh_acc_shd.g_old_rec.effective_start_date;
170: --
171: If (p_datetrack_mode = hr_api.g_delete) then
172: p_rec.effective_end_date := p_validation_start_date - 1;
173: Else
175: End If;
176: --
177: -- Update the current effective end date record
178: --
179: pqh_acc_shd.upd_effective_end_date
180: (p_effective_date => p_effective_date
181: ,p_base_key_value => p_rec.accommodation_id
182: ,p_new_effective_end_date => p_rec.effective_end_date
183: ,p_validation_start_date => p_validation_start_date
224: --
225: -- {End Of Comments}
226: -- ----------------------------------------------------------------------------
227: Procedure pre_delete
228: (p_rec in out nocopy pqh_acc_shd.g_rec_type
229: ,p_effective_date in date
230: ,p_datetrack_mode in varchar2
231: ,p_validation_start_date in date
232: ,p_validation_end_date in date
284: --
285: -- {End Of Comments}
286: -- ----------------------------------------------------------------------------
287: Procedure post_delete
288: (p_rec in pqh_acc_shd.g_rec_type
289: ,p_effective_date in date
290: ,p_datetrack_mode in varchar2
291: ,p_validation_start_date in date
292: ,p_validation_end_date in date
313: => p_rec.effective_start_date
314: ,p_effective_end_date
315: => p_rec.effective_end_date
316: ,p_accommodation_name_o
317: => pqh_acc_shd.g_old_rec.accommodation_name
318: ,p_effective_start_date_o
319: => pqh_acc_shd.g_old_rec.effective_start_date
320: ,p_effective_end_date_o
321: => pqh_acc_shd.g_old_rec.effective_end_date
315: => p_rec.effective_end_date
316: ,p_accommodation_name_o
317: => pqh_acc_shd.g_old_rec.accommodation_name
318: ,p_effective_start_date_o
319: => pqh_acc_shd.g_old_rec.effective_start_date
320: ,p_effective_end_date_o
321: => pqh_acc_shd.g_old_rec.effective_end_date
322: ,p_business_group_id_o
323: => pqh_acc_shd.g_old_rec.business_group_id
317: => pqh_acc_shd.g_old_rec.accommodation_name
318: ,p_effective_start_date_o
319: => pqh_acc_shd.g_old_rec.effective_start_date
320: ,p_effective_end_date_o
321: => pqh_acc_shd.g_old_rec.effective_end_date
322: ,p_business_group_id_o
323: => pqh_acc_shd.g_old_rec.business_group_id
324: ,p_location_id_o
325: => pqh_acc_shd.g_old_rec.location_id
319: => pqh_acc_shd.g_old_rec.effective_start_date
320: ,p_effective_end_date_o
321: => pqh_acc_shd.g_old_rec.effective_end_date
322: ,p_business_group_id_o
323: => pqh_acc_shd.g_old_rec.business_group_id
324: ,p_location_id_o
325: => pqh_acc_shd.g_old_rec.location_id
326: ,p_accommodation_desc_o
327: => pqh_acc_shd.g_old_rec.accommodation_desc
321: => pqh_acc_shd.g_old_rec.effective_end_date
322: ,p_business_group_id_o
323: => pqh_acc_shd.g_old_rec.business_group_id
324: ,p_location_id_o
325: => pqh_acc_shd.g_old_rec.location_id
326: ,p_accommodation_desc_o
327: => pqh_acc_shd.g_old_rec.accommodation_desc
328: ,p_accommodation_type_o
329: => pqh_acc_shd.g_old_rec.accommodation_type
323: => pqh_acc_shd.g_old_rec.business_group_id
324: ,p_location_id_o
325: => pqh_acc_shd.g_old_rec.location_id
326: ,p_accommodation_desc_o
327: => pqh_acc_shd.g_old_rec.accommodation_desc
328: ,p_accommodation_type_o
329: => pqh_acc_shd.g_old_rec.accommodation_type
330: ,p_style_o
331: => pqh_acc_shd.g_old_rec.style
325: => pqh_acc_shd.g_old_rec.location_id
326: ,p_accommodation_desc_o
327: => pqh_acc_shd.g_old_rec.accommodation_desc
328: ,p_accommodation_type_o
329: => pqh_acc_shd.g_old_rec.accommodation_type
330: ,p_style_o
331: => pqh_acc_shd.g_old_rec.style
332: ,p_address_line_1_o
333: => pqh_acc_shd.g_old_rec.address_line_1
327: => pqh_acc_shd.g_old_rec.accommodation_desc
328: ,p_accommodation_type_o
329: => pqh_acc_shd.g_old_rec.accommodation_type
330: ,p_style_o
331: => pqh_acc_shd.g_old_rec.style
332: ,p_address_line_1_o
333: => pqh_acc_shd.g_old_rec.address_line_1
334: ,p_address_line_2_o
335: => pqh_acc_shd.g_old_rec.address_line_2
329: => pqh_acc_shd.g_old_rec.accommodation_type
330: ,p_style_o
331: => pqh_acc_shd.g_old_rec.style
332: ,p_address_line_1_o
333: => pqh_acc_shd.g_old_rec.address_line_1
334: ,p_address_line_2_o
335: => pqh_acc_shd.g_old_rec.address_line_2
336: ,p_address_line_3_o
337: => pqh_acc_shd.g_old_rec.address_line_3
331: => pqh_acc_shd.g_old_rec.style
332: ,p_address_line_1_o
333: => pqh_acc_shd.g_old_rec.address_line_1
334: ,p_address_line_2_o
335: => pqh_acc_shd.g_old_rec.address_line_2
336: ,p_address_line_3_o
337: => pqh_acc_shd.g_old_rec.address_line_3
338: ,p_town_or_city_o
339: => pqh_acc_shd.g_old_rec.town_or_city
333: => pqh_acc_shd.g_old_rec.address_line_1
334: ,p_address_line_2_o
335: => pqh_acc_shd.g_old_rec.address_line_2
336: ,p_address_line_3_o
337: => pqh_acc_shd.g_old_rec.address_line_3
338: ,p_town_or_city_o
339: => pqh_acc_shd.g_old_rec.town_or_city
340: ,p_country_o
341: => pqh_acc_shd.g_old_rec.country
335: => pqh_acc_shd.g_old_rec.address_line_2
336: ,p_address_line_3_o
337: => pqh_acc_shd.g_old_rec.address_line_3
338: ,p_town_or_city_o
339: => pqh_acc_shd.g_old_rec.town_or_city
340: ,p_country_o
341: => pqh_acc_shd.g_old_rec.country
342: ,p_postal_code_o
343: => pqh_acc_shd.g_old_rec.postal_code
337: => pqh_acc_shd.g_old_rec.address_line_3
338: ,p_town_or_city_o
339: => pqh_acc_shd.g_old_rec.town_or_city
340: ,p_country_o
341: => pqh_acc_shd.g_old_rec.country
342: ,p_postal_code_o
343: => pqh_acc_shd.g_old_rec.postal_code
344: ,p_region_1_o
345: => pqh_acc_shd.g_old_rec.region_1
339: => pqh_acc_shd.g_old_rec.town_or_city
340: ,p_country_o
341: => pqh_acc_shd.g_old_rec.country
342: ,p_postal_code_o
343: => pqh_acc_shd.g_old_rec.postal_code
344: ,p_region_1_o
345: => pqh_acc_shd.g_old_rec.region_1
346: ,p_region_2_o
347: => pqh_acc_shd.g_old_rec.region_2
341: => pqh_acc_shd.g_old_rec.country
342: ,p_postal_code_o
343: => pqh_acc_shd.g_old_rec.postal_code
344: ,p_region_1_o
345: => pqh_acc_shd.g_old_rec.region_1
346: ,p_region_2_o
347: => pqh_acc_shd.g_old_rec.region_2
348: ,p_region_3_o
349: => pqh_acc_shd.g_old_rec.region_3
343: => pqh_acc_shd.g_old_rec.postal_code
344: ,p_region_1_o
345: => pqh_acc_shd.g_old_rec.region_1
346: ,p_region_2_o
347: => pqh_acc_shd.g_old_rec.region_2
348: ,p_region_3_o
349: => pqh_acc_shd.g_old_rec.region_3
350: ,p_telephone_number_1_o
351: => pqh_acc_shd.g_old_rec.telephone_number_1
345: => pqh_acc_shd.g_old_rec.region_1
346: ,p_region_2_o
347: => pqh_acc_shd.g_old_rec.region_2
348: ,p_region_3_o
349: => pqh_acc_shd.g_old_rec.region_3
350: ,p_telephone_number_1_o
351: => pqh_acc_shd.g_old_rec.telephone_number_1
352: ,p_telephone_number_2_o
353: => pqh_acc_shd.g_old_rec.telephone_number_2
347: => pqh_acc_shd.g_old_rec.region_2
348: ,p_region_3_o
349: => pqh_acc_shd.g_old_rec.region_3
350: ,p_telephone_number_1_o
351: => pqh_acc_shd.g_old_rec.telephone_number_1
352: ,p_telephone_number_2_o
353: => pqh_acc_shd.g_old_rec.telephone_number_2
354: ,p_telephone_number_3_o
355: => pqh_acc_shd.g_old_rec.telephone_number_3
349: => pqh_acc_shd.g_old_rec.region_3
350: ,p_telephone_number_1_o
351: => pqh_acc_shd.g_old_rec.telephone_number_1
352: ,p_telephone_number_2_o
353: => pqh_acc_shd.g_old_rec.telephone_number_2
354: ,p_telephone_number_3_o
355: => pqh_acc_shd.g_old_rec.telephone_number_3
356: ,p_floor_number_o
357: => pqh_acc_shd.g_old_rec.floor_number
351: => pqh_acc_shd.g_old_rec.telephone_number_1
352: ,p_telephone_number_2_o
353: => pqh_acc_shd.g_old_rec.telephone_number_2
354: ,p_telephone_number_3_o
355: => pqh_acc_shd.g_old_rec.telephone_number_3
356: ,p_floor_number_o
357: => pqh_acc_shd.g_old_rec.floor_number
358: ,p_floor_area_o
359: => pqh_acc_shd.g_old_rec.floor_area
353: => pqh_acc_shd.g_old_rec.telephone_number_2
354: ,p_telephone_number_3_o
355: => pqh_acc_shd.g_old_rec.telephone_number_3
356: ,p_floor_number_o
357: => pqh_acc_shd.g_old_rec.floor_number
358: ,p_floor_area_o
359: => pqh_acc_shd.g_old_rec.floor_area
360: ,p_floor_area_measure_unit_o
361: => pqh_acc_shd.g_old_rec.floor_area_measure_unit
355: => pqh_acc_shd.g_old_rec.telephone_number_3
356: ,p_floor_number_o
357: => pqh_acc_shd.g_old_rec.floor_number
358: ,p_floor_area_o
359: => pqh_acc_shd.g_old_rec.floor_area
360: ,p_floor_area_measure_unit_o
361: => pqh_acc_shd.g_old_rec.floor_area_measure_unit
362: ,p_main_rooms_o
363: => pqh_acc_shd.g_old_rec.main_rooms
357: => pqh_acc_shd.g_old_rec.floor_number
358: ,p_floor_area_o
359: => pqh_acc_shd.g_old_rec.floor_area
360: ,p_floor_area_measure_unit_o
361: => pqh_acc_shd.g_old_rec.floor_area_measure_unit
362: ,p_main_rooms_o
363: => pqh_acc_shd.g_old_rec.main_rooms
364: ,p_family_size_o
365: => pqh_acc_shd.g_old_rec.family_size
359: => pqh_acc_shd.g_old_rec.floor_area
360: ,p_floor_area_measure_unit_o
361: => pqh_acc_shd.g_old_rec.floor_area_measure_unit
362: ,p_main_rooms_o
363: => pqh_acc_shd.g_old_rec.main_rooms
364: ,p_family_size_o
365: => pqh_acc_shd.g_old_rec.family_size
366: ,p_suitability_disabled_o
367: => pqh_acc_shd.g_old_rec.suitability_disabled
361: => pqh_acc_shd.g_old_rec.floor_area_measure_unit
362: ,p_main_rooms_o
363: => pqh_acc_shd.g_old_rec.main_rooms
364: ,p_family_size_o
365: => pqh_acc_shd.g_old_rec.family_size
366: ,p_suitability_disabled_o
367: => pqh_acc_shd.g_old_rec.suitability_disabled
368: ,p_rental_value_o
369: => pqh_acc_shd.g_old_rec.rental_value
363: => pqh_acc_shd.g_old_rec.main_rooms
364: ,p_family_size_o
365: => pqh_acc_shd.g_old_rec.family_size
366: ,p_suitability_disabled_o
367: => pqh_acc_shd.g_old_rec.suitability_disabled
368: ,p_rental_value_o
369: => pqh_acc_shd.g_old_rec.rental_value
370: ,p_rental_value_currency_o
371: => pqh_acc_shd.g_old_rec.rental_value_currency
365: => pqh_acc_shd.g_old_rec.family_size
366: ,p_suitability_disabled_o
367: => pqh_acc_shd.g_old_rec.suitability_disabled
368: ,p_rental_value_o
369: => pqh_acc_shd.g_old_rec.rental_value
370: ,p_rental_value_currency_o
371: => pqh_acc_shd.g_old_rec.rental_value_currency
372: ,p_owner_o
373: => pqh_acc_shd.g_old_rec.owner
367: => pqh_acc_shd.g_old_rec.suitability_disabled
368: ,p_rental_value_o
369: => pqh_acc_shd.g_old_rec.rental_value
370: ,p_rental_value_currency_o
371: => pqh_acc_shd.g_old_rec.rental_value_currency
372: ,p_owner_o
373: => pqh_acc_shd.g_old_rec.owner
374: ,p_comments_o
375: => pqh_acc_shd.g_old_rec.comments
369: => pqh_acc_shd.g_old_rec.rental_value
370: ,p_rental_value_currency_o
371: => pqh_acc_shd.g_old_rec.rental_value_currency
372: ,p_owner_o
373: => pqh_acc_shd.g_old_rec.owner
374: ,p_comments_o
375: => pqh_acc_shd.g_old_rec.comments
376: ,p_information_category_o
377: => pqh_acc_shd.g_old_rec.information_category
371: => pqh_acc_shd.g_old_rec.rental_value_currency
372: ,p_owner_o
373: => pqh_acc_shd.g_old_rec.owner
374: ,p_comments_o
375: => pqh_acc_shd.g_old_rec.comments
376: ,p_information_category_o
377: => pqh_acc_shd.g_old_rec.information_category
378: ,p_information1_o
379: => pqh_acc_shd.g_old_rec.information1
373: => pqh_acc_shd.g_old_rec.owner
374: ,p_comments_o
375: => pqh_acc_shd.g_old_rec.comments
376: ,p_information_category_o
377: => pqh_acc_shd.g_old_rec.information_category
378: ,p_information1_o
379: => pqh_acc_shd.g_old_rec.information1
380: ,p_information2_o
381: => pqh_acc_shd.g_old_rec.information2
375: => pqh_acc_shd.g_old_rec.comments
376: ,p_information_category_o
377: => pqh_acc_shd.g_old_rec.information_category
378: ,p_information1_o
379: => pqh_acc_shd.g_old_rec.information1
380: ,p_information2_o
381: => pqh_acc_shd.g_old_rec.information2
382: ,p_information3_o
383: => pqh_acc_shd.g_old_rec.information3
377: => pqh_acc_shd.g_old_rec.information_category
378: ,p_information1_o
379: => pqh_acc_shd.g_old_rec.information1
380: ,p_information2_o
381: => pqh_acc_shd.g_old_rec.information2
382: ,p_information3_o
383: => pqh_acc_shd.g_old_rec.information3
384: ,p_information4_o
385: => pqh_acc_shd.g_old_rec.information4
379: => pqh_acc_shd.g_old_rec.information1
380: ,p_information2_o
381: => pqh_acc_shd.g_old_rec.information2
382: ,p_information3_o
383: => pqh_acc_shd.g_old_rec.information3
384: ,p_information4_o
385: => pqh_acc_shd.g_old_rec.information4
386: ,p_information5_o
387: => pqh_acc_shd.g_old_rec.information5
381: => pqh_acc_shd.g_old_rec.information2
382: ,p_information3_o
383: => pqh_acc_shd.g_old_rec.information3
384: ,p_information4_o
385: => pqh_acc_shd.g_old_rec.information4
386: ,p_information5_o
387: => pqh_acc_shd.g_old_rec.information5
388: ,p_information6_o
389: => pqh_acc_shd.g_old_rec.information6
383: => pqh_acc_shd.g_old_rec.information3
384: ,p_information4_o
385: => pqh_acc_shd.g_old_rec.information4
386: ,p_information5_o
387: => pqh_acc_shd.g_old_rec.information5
388: ,p_information6_o
389: => pqh_acc_shd.g_old_rec.information6
390: ,p_information7_o
391: => pqh_acc_shd.g_old_rec.information7
385: => pqh_acc_shd.g_old_rec.information4
386: ,p_information5_o
387: => pqh_acc_shd.g_old_rec.information5
388: ,p_information6_o
389: => pqh_acc_shd.g_old_rec.information6
390: ,p_information7_o
391: => pqh_acc_shd.g_old_rec.information7
392: ,p_information8_o
393: => pqh_acc_shd.g_old_rec.information8
387: => pqh_acc_shd.g_old_rec.information5
388: ,p_information6_o
389: => pqh_acc_shd.g_old_rec.information6
390: ,p_information7_o
391: => pqh_acc_shd.g_old_rec.information7
392: ,p_information8_o
393: => pqh_acc_shd.g_old_rec.information8
394: ,p_information9_o
395: => pqh_acc_shd.g_old_rec.information9
389: => pqh_acc_shd.g_old_rec.information6
390: ,p_information7_o
391: => pqh_acc_shd.g_old_rec.information7
392: ,p_information8_o
393: => pqh_acc_shd.g_old_rec.information8
394: ,p_information9_o
395: => pqh_acc_shd.g_old_rec.information9
396: ,p_information10_o
397: => pqh_acc_shd.g_old_rec.information10
391: => pqh_acc_shd.g_old_rec.information7
392: ,p_information8_o
393: => pqh_acc_shd.g_old_rec.information8
394: ,p_information9_o
395: => pqh_acc_shd.g_old_rec.information9
396: ,p_information10_o
397: => pqh_acc_shd.g_old_rec.information10
398: ,p_information11_o
399: => pqh_acc_shd.g_old_rec.information11
393: => pqh_acc_shd.g_old_rec.information8
394: ,p_information9_o
395: => pqh_acc_shd.g_old_rec.information9
396: ,p_information10_o
397: => pqh_acc_shd.g_old_rec.information10
398: ,p_information11_o
399: => pqh_acc_shd.g_old_rec.information11
400: ,p_information12_o
401: => pqh_acc_shd.g_old_rec.information12
395: => pqh_acc_shd.g_old_rec.information9
396: ,p_information10_o
397: => pqh_acc_shd.g_old_rec.information10
398: ,p_information11_o
399: => pqh_acc_shd.g_old_rec.information11
400: ,p_information12_o
401: => pqh_acc_shd.g_old_rec.information12
402: ,p_information13_o
403: => pqh_acc_shd.g_old_rec.information13
397: => pqh_acc_shd.g_old_rec.information10
398: ,p_information11_o
399: => pqh_acc_shd.g_old_rec.information11
400: ,p_information12_o
401: => pqh_acc_shd.g_old_rec.information12
402: ,p_information13_o
403: => pqh_acc_shd.g_old_rec.information13
404: ,p_information14_o
405: => pqh_acc_shd.g_old_rec.information14
399: => pqh_acc_shd.g_old_rec.information11
400: ,p_information12_o
401: => pqh_acc_shd.g_old_rec.information12
402: ,p_information13_o
403: => pqh_acc_shd.g_old_rec.information13
404: ,p_information14_o
405: => pqh_acc_shd.g_old_rec.information14
406: ,p_information15_o
407: => pqh_acc_shd.g_old_rec.information15
401: => pqh_acc_shd.g_old_rec.information12
402: ,p_information13_o
403: => pqh_acc_shd.g_old_rec.information13
404: ,p_information14_o
405: => pqh_acc_shd.g_old_rec.information14
406: ,p_information15_o
407: => pqh_acc_shd.g_old_rec.information15
408: ,p_information16_o
409: => pqh_acc_shd.g_old_rec.information16
403: => pqh_acc_shd.g_old_rec.information13
404: ,p_information14_o
405: => pqh_acc_shd.g_old_rec.information14
406: ,p_information15_o
407: => pqh_acc_shd.g_old_rec.information15
408: ,p_information16_o
409: => pqh_acc_shd.g_old_rec.information16
410: ,p_information17_o
411: => pqh_acc_shd.g_old_rec.information17
405: => pqh_acc_shd.g_old_rec.information14
406: ,p_information15_o
407: => pqh_acc_shd.g_old_rec.information15
408: ,p_information16_o
409: => pqh_acc_shd.g_old_rec.information16
410: ,p_information17_o
411: => pqh_acc_shd.g_old_rec.information17
412: ,p_information18_o
413: => pqh_acc_shd.g_old_rec.information18
407: => pqh_acc_shd.g_old_rec.information15
408: ,p_information16_o
409: => pqh_acc_shd.g_old_rec.information16
410: ,p_information17_o
411: => pqh_acc_shd.g_old_rec.information17
412: ,p_information18_o
413: => pqh_acc_shd.g_old_rec.information18
414: ,p_information19_o
415: => pqh_acc_shd.g_old_rec.information19
409: => pqh_acc_shd.g_old_rec.information16
410: ,p_information17_o
411: => pqh_acc_shd.g_old_rec.information17
412: ,p_information18_o
413: => pqh_acc_shd.g_old_rec.information18
414: ,p_information19_o
415: => pqh_acc_shd.g_old_rec.information19
416: ,p_information20_o
417: => pqh_acc_shd.g_old_rec.information20
411: => pqh_acc_shd.g_old_rec.information17
412: ,p_information18_o
413: => pqh_acc_shd.g_old_rec.information18
414: ,p_information19_o
415: => pqh_acc_shd.g_old_rec.information19
416: ,p_information20_o
417: => pqh_acc_shd.g_old_rec.information20
418: ,p_information21_o
419: => pqh_acc_shd.g_old_rec.information21
413: => pqh_acc_shd.g_old_rec.information18
414: ,p_information19_o
415: => pqh_acc_shd.g_old_rec.information19
416: ,p_information20_o
417: => pqh_acc_shd.g_old_rec.information20
418: ,p_information21_o
419: => pqh_acc_shd.g_old_rec.information21
420: ,p_information22_o
421: => pqh_acc_shd.g_old_rec.information22
415: => pqh_acc_shd.g_old_rec.information19
416: ,p_information20_o
417: => pqh_acc_shd.g_old_rec.information20
418: ,p_information21_o
419: => pqh_acc_shd.g_old_rec.information21
420: ,p_information22_o
421: => pqh_acc_shd.g_old_rec.information22
422: ,p_information23_o
423: => pqh_acc_shd.g_old_rec.information23
417: => pqh_acc_shd.g_old_rec.information20
418: ,p_information21_o
419: => pqh_acc_shd.g_old_rec.information21
420: ,p_information22_o
421: => pqh_acc_shd.g_old_rec.information22
422: ,p_information23_o
423: => pqh_acc_shd.g_old_rec.information23
424: ,p_information24_o
425: => pqh_acc_shd.g_old_rec.information24
419: => pqh_acc_shd.g_old_rec.information21
420: ,p_information22_o
421: => pqh_acc_shd.g_old_rec.information22
422: ,p_information23_o
423: => pqh_acc_shd.g_old_rec.information23
424: ,p_information24_o
425: => pqh_acc_shd.g_old_rec.information24
426: ,p_information25_o
427: => pqh_acc_shd.g_old_rec.information25
421: => pqh_acc_shd.g_old_rec.information22
422: ,p_information23_o
423: => pqh_acc_shd.g_old_rec.information23
424: ,p_information24_o
425: => pqh_acc_shd.g_old_rec.information24
426: ,p_information25_o
427: => pqh_acc_shd.g_old_rec.information25
428: ,p_information26_o
429: => pqh_acc_shd.g_old_rec.information26
423: => pqh_acc_shd.g_old_rec.information23
424: ,p_information24_o
425: => pqh_acc_shd.g_old_rec.information24
426: ,p_information25_o
427: => pqh_acc_shd.g_old_rec.information25
428: ,p_information26_o
429: => pqh_acc_shd.g_old_rec.information26
430: ,p_information27_o
431: => pqh_acc_shd.g_old_rec.information27
425: => pqh_acc_shd.g_old_rec.information24
426: ,p_information25_o
427: => pqh_acc_shd.g_old_rec.information25
428: ,p_information26_o
429: => pqh_acc_shd.g_old_rec.information26
430: ,p_information27_o
431: => pqh_acc_shd.g_old_rec.information27
432: ,p_information28_o
433: => pqh_acc_shd.g_old_rec.information28
427: => pqh_acc_shd.g_old_rec.information25
428: ,p_information26_o
429: => pqh_acc_shd.g_old_rec.information26
430: ,p_information27_o
431: => pqh_acc_shd.g_old_rec.information27
432: ,p_information28_o
433: => pqh_acc_shd.g_old_rec.information28
434: ,p_information29_o
435: => pqh_acc_shd.g_old_rec.information29
429: => pqh_acc_shd.g_old_rec.information26
430: ,p_information27_o
431: => pqh_acc_shd.g_old_rec.information27
432: ,p_information28_o
433: => pqh_acc_shd.g_old_rec.information28
434: ,p_information29_o
435: => pqh_acc_shd.g_old_rec.information29
436: ,p_information30_o
437: => pqh_acc_shd.g_old_rec.information30
431: => pqh_acc_shd.g_old_rec.information27
432: ,p_information28_o
433: => pqh_acc_shd.g_old_rec.information28
434: ,p_information29_o
435: => pqh_acc_shd.g_old_rec.information29
436: ,p_information30_o
437: => pqh_acc_shd.g_old_rec.information30
438: ,p_attribute_category_o
439: => pqh_acc_shd.g_old_rec.attribute_category
433: => pqh_acc_shd.g_old_rec.information28
434: ,p_information29_o
435: => pqh_acc_shd.g_old_rec.information29
436: ,p_information30_o
437: => pqh_acc_shd.g_old_rec.information30
438: ,p_attribute_category_o
439: => pqh_acc_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => pqh_acc_shd.g_old_rec.attribute1
435: => pqh_acc_shd.g_old_rec.information29
436: ,p_information30_o
437: => pqh_acc_shd.g_old_rec.information30
438: ,p_attribute_category_o
439: => pqh_acc_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => pqh_acc_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => pqh_acc_shd.g_old_rec.attribute2
437: => pqh_acc_shd.g_old_rec.information30
438: ,p_attribute_category_o
439: => pqh_acc_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => pqh_acc_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => pqh_acc_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => pqh_acc_shd.g_old_rec.attribute3
439: => pqh_acc_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => pqh_acc_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => pqh_acc_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => pqh_acc_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => pqh_acc_shd.g_old_rec.attribute4
441: => pqh_acc_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => pqh_acc_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => pqh_acc_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => pqh_acc_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => pqh_acc_shd.g_old_rec.attribute5
443: => pqh_acc_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => pqh_acc_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => pqh_acc_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => pqh_acc_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => pqh_acc_shd.g_old_rec.attribute6
445: => pqh_acc_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => pqh_acc_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => pqh_acc_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => pqh_acc_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => pqh_acc_shd.g_old_rec.attribute7
447: => pqh_acc_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => pqh_acc_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => pqh_acc_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => pqh_acc_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => pqh_acc_shd.g_old_rec.attribute8
449: => pqh_acc_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => pqh_acc_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => pqh_acc_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => pqh_acc_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => pqh_acc_shd.g_old_rec.attribute9
451: => pqh_acc_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => pqh_acc_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => pqh_acc_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => pqh_acc_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => pqh_acc_shd.g_old_rec.attribute10
453: => pqh_acc_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => pqh_acc_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => pqh_acc_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => pqh_acc_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => pqh_acc_shd.g_old_rec.attribute11
455: => pqh_acc_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => pqh_acc_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => pqh_acc_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => pqh_acc_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => pqh_acc_shd.g_old_rec.attribute12
457: => pqh_acc_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => pqh_acc_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => pqh_acc_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => pqh_acc_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => pqh_acc_shd.g_old_rec.attribute13
459: => pqh_acc_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => pqh_acc_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => pqh_acc_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => pqh_acc_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => pqh_acc_shd.g_old_rec.attribute14
461: => pqh_acc_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => pqh_acc_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => pqh_acc_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => pqh_acc_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => pqh_acc_shd.g_old_rec.attribute15
463: => pqh_acc_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => pqh_acc_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => pqh_acc_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => pqh_acc_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => pqh_acc_shd.g_old_rec.attribute16
465: => pqh_acc_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => pqh_acc_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => pqh_acc_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => pqh_acc_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => pqh_acc_shd.g_old_rec.attribute17
467: => pqh_acc_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => pqh_acc_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => pqh_acc_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => pqh_acc_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => pqh_acc_shd.g_old_rec.attribute18
469: => pqh_acc_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => pqh_acc_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => pqh_acc_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => pqh_acc_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => pqh_acc_shd.g_old_rec.attribute19
471: => pqh_acc_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => pqh_acc_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => pqh_acc_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => pqh_acc_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => pqh_acc_shd.g_old_rec.attribute20
473: => pqh_acc_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => pqh_acc_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => pqh_acc_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => pqh_acc_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => pqh_acc_shd.g_old_rec.attribute21
475: => pqh_acc_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => pqh_acc_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => pqh_acc_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => pqh_acc_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => pqh_acc_shd.g_old_rec.attribute22
477: => pqh_acc_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => pqh_acc_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => pqh_acc_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => pqh_acc_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => pqh_acc_shd.g_old_rec.attribute23
479: => pqh_acc_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => pqh_acc_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => pqh_acc_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => pqh_acc_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => pqh_acc_shd.g_old_rec.attribute24
481: => pqh_acc_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => pqh_acc_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => pqh_acc_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => pqh_acc_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => pqh_acc_shd.g_old_rec.attribute25
483: => pqh_acc_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => pqh_acc_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => pqh_acc_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => pqh_acc_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => pqh_acc_shd.g_old_rec.attribute26
485: => pqh_acc_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => pqh_acc_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => pqh_acc_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => pqh_acc_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => pqh_acc_shd.g_old_rec.attribute27
487: => pqh_acc_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => pqh_acc_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => pqh_acc_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => pqh_acc_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => pqh_acc_shd.g_old_rec.attribute28
489: => pqh_acc_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => pqh_acc_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => pqh_acc_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => pqh_acc_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => pqh_acc_shd.g_old_rec.attribute29
491: => pqh_acc_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => pqh_acc_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => pqh_acc_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => pqh_acc_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => pqh_acc_shd.g_old_rec.attribute30
493: => pqh_acc_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => pqh_acc_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => pqh_acc_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => pqh_acc_shd.g_old_rec.attribute30
500: ,p_object_version_number_o
501: => pqh_acc_shd.g_old_rec.object_version_number
495: => pqh_acc_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => pqh_acc_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => pqh_acc_shd.g_old_rec.attribute30
500: ,p_object_version_number_o
501: => pqh_acc_shd.g_old_rec.object_version_number
502: );
503: --
497: => pqh_acc_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => pqh_acc_shd.g_old_rec.attribute30
500: ,p_object_version_number_o
501: => pqh_acc_shd.g_old_rec.object_version_number
502: );
503: --
504: exception
505: --
519: -- ----------------------------------------------------------------------------
520: Procedure del
521: (p_effective_date in date
522: ,p_datetrack_mode in varchar2
523: ,p_rec in out nocopy pqh_acc_shd.g_rec_type
524: ) is
525: --
526: l_proc varchar2(72) := g_package||'del';
527: l_validation_start_date date;
535: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
536: --
537: -- We must lock the row which we need to delete.
538: --
539: pqh_acc_shd.lck
540: (p_effective_date => p_effective_date
541: ,p_datetrack_mode => p_datetrack_mode
542: ,p_accommodation_id => p_rec.accommodation_id
543: ,p_object_version_number => p_rec.object_version_number
604: ,p_effective_start_date out nocopy date
605: ,p_effective_end_date out nocopy date
606: ) is
607: --
608: l_rec pqh_acc_shd.g_rec_type;
609: l_proc varchar2(72) := g_package||'del';
610: --
611: Begin
612: hr_utility.set_location('Entering:'||l_proc, 5);