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.
How to get values from GROUPED saved search results in the SuiteScript?
I load this search in the suitelet script, and would like to get each value result.
The result is the following one.
{"values":{"GROUP(CUSTBODY_SW_VOYAGE.custrecord_sw_vessel_company)":[{"value":"1","text":"AMC"}],"GROUP(CUSTBODY_SW_VOYAGE.custrecord_sw_voyage_number)":"V2217","GROUP(CUSTBODY_SW_VOYAGE.custrecord_sw_vessel_name)":"AMC","GROUP(CUSTBODY_SW_VOYAGE_RESERVE_HEADER.custrecord_sw_rsvno)":"50","GROUP(CUSTBODY_SW_VOYAGE_RESERVE_HEADER.custrecord_sw_alcno)":"3","GROUP(formulanumeric)":"47","GROUP(custbody_sw_from_port)":[{"value":"46","text":"YOKOHAMA"}],"GROUP(CUSTBODY_SW_VESSEL_SCHEDULE_FROM.custrecord_sw_etd_schedule)":"2022/09/17","GROUP(custbody_sw_to_port)":[{"value":"3","text":"BRISBANE"}],"GROUP(CUSTBODY_SW_VESSEL_SCHEDULE_TO.custrecord_sw_eta_schedule)":"2022/10/05","GROUP(CUSTBODY_SW_VOYAGE_RESERVE_DETAIL.custrecord_sw_rcvno)":"1"}}