could be different issues depending on record type...
# suitescript
e
could be different issues depending on record type or sublist, but usually it's just that your index counting is off. since you are removing lines, the indices are constantly changing