I need assistance in creating a custom function. I want the Revenue Amount custom field in the Invoices module to update with the currency amount in the Grand Total field whenever the record is updated.
I have created the workflow but need assistance on the exact code of the custom function. I was not able to find a sample code that matches in the support docs.