<@U4XUC77K4> Have you tried looking at using a wiz...
# suitescript
r
@sam Have you tried looking at using a wizard instead of a suitelet, wizard allows you to specify steps to gather the data you need before doing the final logic.