https://netsuiteprofessionals.com logo
Title
n

NElliott

05/14/2018, 10:34 AM
What script type are you doing that in? @T_GDB
t

T_GDB

05/14/2018, 10:35 AM
it's in a UE in aftersubmit: function afterSubmit(scriptContext) { if (scriptContext.newRecord.id == "36028" ) { log.debug('test'); var taxperiod = record.submitFields({ type : 'invoice', id : scriptContext.newRecord.id, values : { 'taxperiod' : '35' } }); } }