Custom Functions

Custom Functions

I need a custom function to fill in the amount field in a Case record, the system automatically updates a value field within a record account.

Can someone help me?