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
Kevin
09/18/2020, 12:38 AM
@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.
Kevin
09/18/2020, 12:39 AM
One time consumption Governance:
Kevin
09/18/2020, 12:39 AM
submitFields - 10 units for transaction Records
Load and Save Record = 10 GP + 20 GP for Transactions