Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Problem creating CustomerPayment object
Hello,
I was having troubles properly instantiating the CustomerPayment class. Basically, our Visual Studio 2005 web application applies a payment of a user-specified amount to an existing invoice on Netsuite. I get the following exception (I am setting the internalID of the invoice to 42328)
You must specify a valid line ID. Please set doc:42328.
The SOAPSerialization for the CustomerPayment object is as listed below. Any help would be greatly appreciated. Thank You.
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
0