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.
Custom Field and Custom List
I've a custom field on Return Authorization whose ID = custbody2. On UI this field is populated with custom list/record again whose ID = custbody2.
I've following code to populate the customfield, which I copied from forum itself.
---------------------------------------------------------------------
String processedStatusField = "custbody2";
String processedStatusList = "custbody2";
SelectCustomFieldRef field = new SelectCustomFieldRef();
field.setInternalId(processedStatusField);
ListOrRecordRef listOrRecord = new ListOrRecordRef ();
listOrRecord.setName("Return for Refund");
listOrRecord.setTypeId(processedStatusList);
field.setValue(listOrRecord);
CustomFieldRef[] tempCfRefList = new CustomFieldRef[1];
tempCfRefList[0] = field;
CustomFieldList cfl = new CustomFieldList();
cfl.setCustomField(tempCfRefList);
newRARec.setCustomFieldList(cfl);
---------------------------------------------------------------------
of course, after this stub I submit the request through port and record is successfully created. However, this code is not updating the field as I'm unable to see this value set on UI on newly created Return Authorization.