I need to create a custom function that fetches the Max value from a table field and uses it to subtract that field for each table record
let (Thefiel