10179: date then vr context should be 'EXP'. If this is not the case then throw an exception */
10180: IF (l_new_term_date < l_old_term_date) AND p_vr_context = 'CON' THEN
10181:
10182: pnp_debug_pkg.log('Deleting VR agreements starting after new termination date');
10183: PN_VAR_RENTS_PKG.delete_var_rent_agreement(p_lease_id => p_lease_id ,
10184: p_termination_dt => l_new_term_date);
10185:
10186: pnp_debug_pkg.log('Calling VR contraction ....');
10187: process_vr_early_term ( p_lease_id => p_lease_id