Hi, I want to optimize my code as professional. No...
# suitescript
c
Hi, I want to optimize my code as professional. Now I'm using if condition to set record.Type and I'm trying to find a solution to get record.Type with record id and record type name. Please let me know if someone knows the solution. I think search.lookupFields is the key to do this but I can't get clear solution. thank you
b
ideally you get the record type in an earlier stage so you have access to it in the reduce