Custom field with formula

is there anyone can help me how to implement formula in custom field?
I made custom field schedule for asset maintenance. the next schedule for maintenance is +500 hours from the last maintenance. Thank you for your help.


Do you mean to store a dynamic value in the field? If so, you can write some Python code to do this as a virtual docfield. Else, you can add something to do self.scheduled_maintenance = self.last_maintenance + 500 on validate event in a Server Script