Before firing `commitLine()` , is there a method f...
# suitescript
c
Before firing
commitLine()
, is there a method for determining if all required fields are populated?
s
validateLine
?
c
😀 I'm already inside that event.
Here's what I did. If
commitLine
is successful then the currentIndex will increment. So I just have to get index before and after to see if it worked.