<@U96MK7ETD> I think there some miss conception th...
# suitescript
a
@Joseph Kim I think there some miss conception there: 1- In UE scripts you can't define if the record is dynamic or not, so right there the question is weird or not normal. 2- What is more important is to understand what is the difference between beforeSubmit and afterSubmit. 3- Finally understand why you think you may need or may want to move those scripts from beforeSubmit to afterSubmit. Normally you should have more fields and data on afterSubmit than anywhere else, but normally that does make the script more inefficient than anywhere else...
🤔 1
j
@alien4u Uhh.. I guess there's yet another misconception* now.. The first being that I thought you could define in the isDynamic parameter of record.Load whether a record is loaded in either standard or dynamic mode of a UE script. And the second being that you meant to sound a little bit condescending with that reply. But thanks for.. answering the question. Sorry for my lack of understanding.
a
Was more about trying to teach a man how to fish, sorry if it sound different. If you use record.Load you can always define if your are loading it in Dynamic or Standard mode, however in UE Scripts you have the record already loaded in the context.newRecord and also oldRecord on before submit in the 3 different entry points, so loading the record again is extremely inefficient if you dont have a very specific,strong reeason.