Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Need to add new customer as Qualified Lead
Using the following I can add a new customer with status as Closed-Won:
Dim oCustomer As New Netsuite.Customer
Dim oStatus As New Netsuite.RecordRef
Dim oResponse As New Netsuite.WriteResponse
...fill in other customer info...
oStatus.internalId = "13" 'Closed Won
oCustomer.entityStatus = oStatus
oResponse = oNetsuiteService.add(oCustomer)
How do I make the customer listed as a qualified lead? I tried changing values above based on documentation and also tried adding oCustomer.Stage property but just received errors like this:
- <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance