If I am updating a value on a record in map/reduce...
# suitescript
d
If I am updating a value on a record in map/reduce, is it more efficient and speedy to use record.submitFields() or is it better to load the record, make the change, and then save it?
k
@devread It's all about Governance as well, I would suggest you to use SubmitFields than loading record if you have direct values. but if you have comparisons then Load is best direction.
One time consumption Governance:
submitFields - 10 units for transaction Records Load and Save Record = 10 GP + 20 GP for Transactions