Earlier in Purchase invoices (AP301000) -window, it was possible to manually insert an negative cash discount value into the field. Validation for the field was added, no longer allowing accidentally proceeding forward with the negative cash discount value.