It sounds like the error is from using `currentRec...
# suitescript
m
It sounds like the error is from using
currentRecord.getSublistField()
on an uncommitted (i.e. new) line in the sublist