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.
ListOrRecordRef not working
Hi,
I'm trying to update a value on a select field but it does not seem to work.
Customer _cust = new Customer();
CustomFieldRef[] CustRefList;
SelectCustomFieldRef _customSelect = new SelectCustomFieldRef();
ListOrRecordRef _listOrRecRef = new ListOrRecordRef();
_listOrRecRef.typeId = "820"; //id of the list
_listOrRecRef.internalId = "3"; //id of the value in the lsit
_customSelect.internalId = "custentity_sales_region"; //id of the field on the customer form
_customSelect.value = _listOrRecRef;
CustRefList[_customFieldCount] = (CustomFieldRef)_customSelect;
_cust.customFieldList = CustRefList;
Does anyone know what I am doing wrong?