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.
Updating a Customer Record (C#)
Looking for help with using C# .NET
I'm using the sample code from documentation to update a customer record and I get a timeout error. ?? I'm passing in an Internal ID value of an existing customer record.
public bool upDateCustomer(string custInternalID)
{
Customer cust = new Customer();
cust.internalId = custInternalID;
cust.email = "PutEmailHere@hotmail.com";
WriteResponse wr = _ns.update(cust);
if (wr.status.isSuccess)
{
return true
}
else
{
return false;
}
}
0