-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removes GAP_CREATE and GAP_UPDATE from CDC handling as those are not valid CDC cases for rolling up * Fixes an issue with the Rollup_Field_Parent_Required validation rule on Rollup__mdt * Fixes #619 by more carefully handling parentRecordIdForEmptyChildrenCollections variable * Updates jsconfig.json with new CLI-based changes * Removes heap size checks as they are unncessarily expensive when checking rollup limits * Fixes #626 by patching a few places where RollupControl__mdt being null (which is sometimes set internally by the framework for performance reasons) does not cause issues when trying to log * Fixes #623 by properly parsing nested IN conditions during recursive where clause operations * Fixes #622 by properly tracking changes to calc items when updates occur with differing values for multicurrency orgs * Fixes an issue where sync rollups enqueued by Flow would not run in the proper order * Attempted fix for #625 - do not allow max query rows to exceed the platform limit * Fixes an issue reported by Katherine West where multiple order bys were sometimes omitted in RollupRepository queries due to an inner ordering - moved the ordering to in-memory sorting
- Loading branch information
1 parent
3a75005
commit 91dfd99
Showing
27 changed files
with
486 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ sfge-*.log.gz | |
.DS_Store | ||
.config | ||
.vscode | ||
config/data/act-pr-event.json | ||
config/data/act-pr-event.json | ||
.sflogsub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 161 additions & 0 deletions
161
extra-tests/customMetadata/Rollup.RollupIntegrationParentRecordId.md-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomMetadata | ||
xmlns="http://soap.sforce.com/2006/04/metadata" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
> | ||
<label>Rollup Integration: REFRESH</label> | ||
<protected>false</protected> | ||
<values> | ||
<field>CalcItemText__c</field> | ||
<value xsi:type="xsd:string">ContactPointAddress</value> | ||
</values> | ||
<values> | ||
<field>CalcItemWhereClause__c</field> | ||
<value xsi:type="xsd:string">Name = 'RollupIntegrationRefresh'</value> | ||
</values> | ||
<values> | ||
<field>CalcItem__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>ChangedFieldsOnCalcItem__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>ConcatDelimiter__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>CurrencyFieldMapping__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>Description__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>FullRecalculationDefaultNumberValue__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>FullRecalculationDefaultStringValue__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>GrandparentRelationshipFieldPath__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>GroupByFields__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>GroupByRowEndDelimiter__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>GroupByRowStartDelimiter__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>IsDistinct__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>IsFullRecordSet__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>IsRollupStartedFromParent__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>IsTableFormatted__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>LimitAmount__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>LookupFieldOnCalcItemText__c</field> | ||
<value xsi:type="xsd:string">ParentId</value> | ||
</values> | ||
<values> | ||
<field>LookupFieldOnCalcItem__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>LookupFieldOnLookupObjectText__c</field> | ||
<value xsi:type="xsd:string">Id</value> | ||
</values> | ||
<values> | ||
<field>LookupFieldOnLookupObject__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>LookupObjectText__c</field> | ||
<value xsi:type="xsd:string">Account</value> | ||
</values> | ||
<values> | ||
<field>LookupObject__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>OneToManyGrandparentFields__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>OrderByFirstLast__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>RollupControl__c</field> | ||
<value xsi:type="xsd:string">Org_Defaults</value> | ||
</values> | ||
<values> | ||
<field>RollupFieldOnCalcItemText__c</field> | ||
<value xsi:type="xsd:string">PreferenceRank</value> | ||
</values> | ||
<values> | ||
<field>RollupFieldOnCalcItem__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>RollupFieldOnLookupObjectText__c</field> | ||
<value xsi:type="xsd:string">AnnualRevenue</value> | ||
</values> | ||
<values> | ||
<field>RollupFieldOnLookupObject__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>RollupGrouping__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>RollupOperation__c</field> | ||
<value xsi:type="xsd:string">SUM</value> | ||
</values> | ||
<values> | ||
<field>RollupToUltimateParent__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>SharingMode__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
<values> | ||
<field>ShouldRunWithoutCustomSettingEnabled__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>SplitConcatDelimiterOnCalcItem__c</field> | ||
<value xsi:type="xsd:boolean">false</value> | ||
</values> | ||
<values> | ||
<field>UltimateParentLookup__c</field> | ||
<value xsi:nil="true" /> | ||
</values> | ||
</CustomMetadata> |
Oops, something went wrong.