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.
Need to Sublist based on the Field selection as line level.
Page: Purchase order
Action Required: Add a drop-down and update on filed change on line label
(1) Using userEvent script drop down is added on line label “before load” ( script 1.0 )
var fld_Project_task=obj_Sublist_Item.addField(‘custpage_project_task_list’, ‘select’, ‘Task List Based on Project’,”);
fld_Project_task.addSelectOption(‘0’, ‘<Tab The Project To Select The Task>’);
fld_Project_task.setMandatory(false);(2) Now , on line label whenever we change the project list (drop-down), then drop-down will be updated based on selected project ( client script-2.1 )
//–Clear the old value in “TASK list” drop-down
let taskListObj=current_record.getSublistField({sublistId:sublistName,fieldId:’custpage_project_task_list’,line:line_number});