if the invoice has a payment applied it is throwin...
# suitescript
t
if the invoice has a payment applied it is throwing an unexpected error on record.load