I have the internal id of the invoice the payment ...
# suitescript
b
I have the internal id of the invoice the payment is applied to, and I am using a user event suitescript to make sure the AR on the payment matches the AR on the invoice