Right now in a Sales Header table extension I have an OnValidate() trigger on one of the fields.
I initialized a Var inside this trigger of type "Record". I've applied a SetRange to get a single row, but trying to access a field on the record via Record.fieldname, results in an empty value.
I've tried using Record.get before the setrange but still no luck
How do I properly get a record in an OnValidate trigger?