Please note that when you use record.submitFields ...
# suitescript
j
Please note that when you use record.submitFields that will also fire the XEDIT event so you should consider that when writing your script.