Update and reverse quantity values.

Automatically update the dateview as quantities are captured.
Reverse process and recover original quantities if cancel is pressed.