Hard to say how you might structure it without see...
# suitescript
e
Hard to say how you might structure it without seeing your code.