Using CASE Statements In A SQL UPDATE Query

Max( 0, (balance - void_credit) )

For Cut-and-Paste