Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Updating Field in Suitelet SubList
We have developed a sublist for a Suitelet shown below. We want the user to enter in the travel time (custrecord_wo_detail_tvltime) and based on certain criteria calculate and then populate the Travel Cost field in the sublist (custrecord_wo_detail_tvldoll) so the user can see the calculated value.
Does anyone know how to do this?
var WODetailResults = form.addSubList('custpageresults', 'inlineeditor', 'Billing Information');
var fldWONo = WODetailResults.addField('custrecord_wo_detail_wonumber', 'text', 'WO #');
fldWONo.setDisplayType('disabled');
var fldServTech = WODetailResults.addField('custrecord_wo_detail_tech', 'select', 'Service Tech:', 'employee');
fldServTech.setDisplayType('disabled');
var fldTvlTime = WODetailResults.addField('custrecord_wo_detail_tvltime', 'float', 'Travel Time (mins)');