Skip to content

Commit

Permalink
added the AllOrNothing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
chininchu committed Oct 3, 2024
1 parent a95d789 commit bd2f1fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dlrs/main/classes/RollupService.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1673,8 +1673,9 @@ global with sharing class RollupService {


try {
// Perform the update operation with Dmloptions
return Database.update(masterRecords, dmlOptions);
return Database.update(masterRecords, allOrNothing);


} catch (DMLException e) {
// Determine if the exception is due to parent record/s having been deleted
Boolean throwException = true;
Expand Down

0 comments on commit bd2f1fb

Please sign in to comment.