Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
CreditMemo creation takes very long...
Hello,
We have a problem with creditMemo insertion... We are creating a CreditMemo list from code and then we insert the list into NetSuite. The problem is that the insertion takes very long (about 2 mins per CreditMemo) which causes the connection to be dropped (also a strange error because it fails with a Network exception not a NS exception).
We tried creating the CreditMemos in 2 ways:
1. using initializeRecord
2. using createdFrom
Both ways have the same results... they last very long.
PS: here is the exception we get when the processing of CMs takes very long:
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host