look at N/record.getAllFields and the sublist vari...
# suitescript
c
look at N/record.getAllFields and the sublist variation then you can use that and get all the values.