https://netsuiteprofessionals.com logo
c

Cory Weiner

04/12/2022, 7:04 PM
Question - when using submitFields and trying to access a field on scriptContext.currentRecord — I am getting a null value even though the field has a value. During submitFields are only the submitted fields accessible? Is there any way to access a field on the currentRecord that wasn’t submitted?
b

battk

04/12/2022, 7:14 PM
unfortunately the best documentation is in an older version of suitescript, so expect to do some translation of methods
c

Cory Weiner

04/12/2022, 7:20 PM
I see, so if I’m understanding correctly I need to use record.load them if type is submitFields