My record.getValue({ fieldId: 'name' }); returns N...
# suitescript
m
My record.getValue({ fieldId: 'name' }); returns NULL on afterSubmit with a custom record. Is there any workaround to get the custom record name in this method?
b
if the name is the record number, then its generated after the record is saved and you have to do a search to get the information
m
Thanks for the hint. i just solved it with a record.load after but i thought 'afterSubmit' was 'afterSave' context but this makes sense now.