I am very new to Apex and found this site- hoping someone can help me out. We have a LOT of code-free automation on our cases and related objects, so we had to resort to Apex classes to do a few things, which we outsourced to a developer we no longer work with.
I would like to add a field update to the bottom of the apex code. Field is called "Quality Age" and should calculate number of days between Now and Created Date when a case status is changed to Completed (we had to use Apex to automate this status change). This is what I have so far, but keep getting errors. Any help would be appreciated!