<@UD1FDVAP5> you would need to build your items ob...
# suitescript
e
@MR you would need to build your items object in getInputData and return that object and then you can use the code snippet in the map phase to update the record. So all the SUM and GROUPING would need to be defined in your saved search so that it will return only the values you need for processing in map phase.