N/currentRecord only has getField(...) for a singl...
# suitescript
c
N/currentRecord only has getField(...) for a single field. N/record has getFields() so you'll probably have to load the record if you want to get all fields.