I don't see where modelRec is defined, shouldn't y...
# suitescript
j
I don't see where modelRec is defined, shouldn't you be using currentRecord?