function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Greg CooganGreg Coogan 

What is the best method to calculate a roll-up field value and inserting that value using the API using a data integration?

We want to do roll-up calculations in Python and inserting the values using the API, instead of letting Salesforce do the work. In most cases, there is a master-detail relationship between the parent and child object, but there will also be a case of only a lookup field between Opportuntiy and a custom object. What is the best method to do this? It would be nice if I could sum up the field to calculate with a single API call.