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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
creating a customer in ruby
I'm trying to create a customer in Ruby (I have successfully logged in)
netsuiteCustomer = Customer.new
netsuiteCustomer.entityId = "67"
netsuiteCustomer.isPerson = false
netsuiteCustomer.companyName = ("FoobarMart")
netsuiteCustomer.xmlattr_externalId = "67"
puts "before port add creating customer '67'"
writeResponse = port.add(netsuiteCustomer)
The error from the port.add:
#<SOAP::Mapping::Object:0x807702268>: org.xml.sax.SAXException: {urn:core_2008_1.platform.webservices.netsuite.com}Record is an abstract type and cannot be instantiated (SOAP::FaultError)
I'm on a tight schedule, so posting as I see them.
Thank-you for your patience
pam at addgene.org
0