AR Invoice stop discount date from changing

Is there any way to stop the discount date on an AR Invoice (3-2) from changing when retention is released?  Both the due date & the discount date are changing.  The due date is OK, but we don't want the discount date to change.