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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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