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.
Updating A Customer Record In PHP
Hi,
I'm trying to update the phone number for a customer record. My problem is that I'm getting a reponse saying:
Please enter values for Category, Lead Source.
This is a little confusing since the schema says they are not required and its an update so I shouldn't be having issues with this part.
I would also be fine adding this info if I had any idea how to access it. The initial response that I'm getting form the get() is not showing me any leads to what optional values for these might be.
$customer = new nsRecordRef();
$fields['type'] = 'customer';
0