In the interest of anyone looking at this issue that is related to performance, it’s much more efficient to use
nlapiSubmitField(type, id, fields, values, doSourcing)
If you know for sure that you are updating. This is faster than submitRecord, and avoids significant overhead when you first load a record.
source
share