Result.getValue() also needs the same join and sum...
# suitescript
m
Result.getValue() also needs the same join and summary options as the column definition
m
much thanks for that. I can now get the employee id. i have a field from a related table which is always grouped. when i export this out to see what field name it picks, it's the date. but in my code it returns nothing. any ideas?
message has been deleted
search.createColumn({ name: "date", join: "loginAuditTrail", summary: "MAX", sort: search.Sort.ASC, label: "Date" }),
ah found the issue, summary should be MAX i had group!
👍 1