Hi Guys, i have this error creating the customerPa...
# suitescript
a
Hi Guys, i have this error creating the customerPayment
f
It is difficult to see everything that you are doing here. Please provide complete detail and make it easy for us to respond. The hidden benefit is that in doing so, you might even answer your own question 😁
a
I need to create a customer Payment for an invoice
n
How? SuiteTalk? RESTlet that is processing an inbound request etc etc etc not enough information
a
I need to create a customer Payment for an invoice by rest api using this endpoint .. services/rest/record/v1/customerpayment I tried restlet and it doesn't work for me
r
It seems there’s a mismatch in how the script is interacting with line items. In dynamic mode, line items are managed differently than in static mode. Make sure that when you’re working with sublist operations in SuiteScript, the record is loaded in the correct context according to the operation you’re performing. If you’re in dynamic mode, line operations must be handled in a certain sequence, which differs from static mode.