What script type are you doing that in? <@U7VH2756...
# suitescript
n
What script type are you doing that in? @T_GDB
t
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' } }); } }