I've got a list of locations in a custom record, I...
# suitescript
c
I've got a list of locations in a custom record, I need to compare the locations to a list of lines in a journal record, if the line.location == customerecord.location then I need to update the line.department to what the key/pair value is in the custom record