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.
Retrieve Value of SelectCustomFieldRef Using Php - How Do I Do This?
[CODE]foreach($record->getField('customFieldList')->getField('customField') as $customField) {
if($customField->getField('internalId') == 'custitem14'){
echo "Int ID: " . $customField->getField('value')->getField('internalId') . '<br />';
// Now what??? I've found the right custom field, and I know the internal ID
// of the value in the list... How do I retrieve the actual value?
}
}[/CODE]
Thanks for any help.
if($customField->getField('internalId') == 'custitem14'){
echo "Int ID: " . $customField->getField('value')->getField('internalId') . '<br />';
// Now what??? I've found the right custom field, and I know the internal ID
// of the value in the list... How do I retrieve the actual value?
}
}[/CODE]
Thanks for any help.
0