wsangster
08/27/2018, 6:27 PMN/ui/dialog not waiting before it continues with the script. I've found that out with saveRecord script I was working on.
So if we ignore the dialog part of the script and based on your code snippet I should be able to do a record.load and then I would have to use a record.selectLine so I can use record.setCurrentSublistValue.