Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Php Tool Kit (Adding to a custom record error)
I'm getting the following error when I attempt to add to a custom record through php.
*The specified custom field key is missing
Here is my code...
// netsuite servic
$service = new NetSuiteService();
//create an instance of the fields of the custom record
$customFieldList = new StringCustomFieldRef();
$customFieldList->internalId = "custrecord_inv_phone_number";
$customFieldList->value = "333.222.1212";
$customFieldList2 = new StringCustomFieldRef();
$customFieldList2->internalId = "custrecord_inv_cust_number";
$customFieldList2->value = "4423234234";
$basicCustomRecord = new CustomRecord();
$basicCustomRecord->name = "Client Invoice Body";
$basicCustomRecord->recType = new RecordRef();
$basicCustomRecord->recType->internalId = "11"; //Record Type's internal ID (Setup > Customization > Record Types > Basic Record Type (Internal ID=14)