-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recurring Donations Batch Filtering #6971
Merged
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
11a3f87
Initial commit of RD Batch filtering
lparrott 0cfbdf2
RD Batch filter fixes, new unit test
lparrott 3e31108
Merge dc728c566e27bed506d62327fe8cecc178f9e21e into feature/240__rdBa…
salesforce-org-metaci[bot] 7e40fc3
WIP Changing RD Batch Filter logic
lparrott 215bbdf
Merge d830277b682f2df505ba8c7b91712a6665c11861 into feature/240__rdBa…
salesforce-org-metaci[bot] 9a5da93
Merge branch 'feature/240__rdBatchFiltering' of https:/Sa…
lparrott c7337df
RD LDV Batch, updating custom setting labels and default values
lparrott d285764
Disabling Closed RD filter for Bulk Data process, adding unit test to…
lparrott 8fbb819
RD Batch filtering - adding unit tests to check settings conditions
lparrott 0d0c774
Merge 8ffab97bc05b338c5bb052bf87520ebf8244fe3a into feature/240__rdBa…
salesforce-org-metaci[bot] 1efddb8
Merge 611c24908801e16d299e9ecefa8fed44ec332718 into feature/240__rdBa…
salesforce-org-metaci[bot] 722df21
Merge 66c20d6f760d2288f687ffd888e435236603e7b5 into feature/240__rdBa…
salesforce-org-metaci[bot] 9e5880c
RD Batch filter review feedback
lparrott 4cbad9d
Merge branch 'feature/240__rdBatchFiltering' of https:/Sa…
lparrott 69c7b86
Merge 67885bcb28f78b2e1f1ad786526429ab1bb3d4e4 into feature/240__rdBa…
salesforce-org-metaci[bot] 04627dc
RD Batch filter, fixing potential null pointer exceptions with new se…
lparrott e616829
Merge 521c3d222b6ec5dfea7c04d40ba5780757b45347 into feature/240__rdBa…
salesforce-org-metaci[bot] c4c4478
Merge fb220dfc250920165d1cca3e4482ba2c43be72f0 into feature/240__rdBa…
salesforce-org-metaci[bot] c66dc6a
Merge 76e3fd984354693fc6228acd76b835e850bd6cb1 into feature/240__rdBa…
salesforce-org-metaci[bot] 9f099c3
Merge fc3c2315d30146597fa5a4e946c623e8dd5727b7 into feature/240__rdBa…
salesforce-org-metaci[bot] baa51ae
Merge c24fed424ca3be2b1041a8adc50f34bc695ec740 into feature/240__rdBa…
salesforce-org-metaci[bot] 79c8fb4
Merge ff7d8fd64047bacdf0d6a64040ea1327bb8b2b30 into feature/240__rdBa…
salesforce-org-metaci[bot] 03f59c2
Merge 36926019734b923c77fc25443f598db0cf2a41b2 into feature/240__rdBa…
salesforce-org-metaci[bot] 546fcc3
Merge 38b63d9d22b27e3c6bc6f90e4d1f53945d116f1f into feature/240__rdBa…
salesforce-org-metaci[bot] f271ece
Merge 45c732c46ec5c1bd9285a9d8b032be6c7623224d into feature/240__rdBa…
salesforce-org-metaci[bot] 1caa5e2
Merge 7d49cfda681425cc4d5cbafd39fa31c071a4f0b1 into feature/240__rdBa…
salesforce-org-metaci[bot] b660cc5
temporarily remove disabling filter from NPSP settings run for testin…
daniel-fuller af1b1b5
Merge b373fe998eec85c2dc8eddf954edcfd90efe0976 into feature/240__rdBa…
salesforce-org-metaci[bot] d071cf7
Merge cfa690b8884c3151fe98c78408f034232d020615 into feature/240__rdBa…
salesforce-org-metaci[bot] 397f6b4
change the closedStatusValues variable scope so that the variable is …
daniel-fuller 4dcf7df
update query to prevent passing null in the limit or where clause
daniel-fuller 9b610b3
Merge 799cb42d49ec1dbdf133de08d5b0ac3ad40491ab into feature/240__rdBa…
salesforce-org-metaci[bot] edef1ff
Merge 5e9ac2336e4975bf5a5e335648aab594b2ff1f53 into feature/240__rdBa…
salesforce-org-metaci[bot] 00b97fd
Merge c9da83356c97eccf0efc682723a02ee274593c52 into feature/240__rdBa…
salesforce-org-metaci[bot] e8e15a3
Merge e71e287a43d98d68de0885f9f7ee6e92224d2afc into feature/240__rdBa…
salesforce-org-metaci[bot] c96c00f
Merge 255d606f4e1a4cd162962e56d6c2036118d83c11 into feature/240__rdBa…
salesforce-org-metaci[bot] 4934821
Merge f2b87bb2188c00f4a086f6a4c8a4b78e53679af2 into feature/240__rdBa…
salesforce-org-metaci[bot] 219b202
Merge 1b5a60a745e52718dc103ad8dfcb1aa3d33864a6 into feature/240__rdBa…
salesforce-org-metaci[bot] d75bcd2
Remove comment from Unit test
lparrott 1865936
Merge ef9d2cacca98ab24c94c992582294225e5c9d407 into feature/240__rdBa…
salesforce-org-metaci[bot] 8ebe3b0
Merge 252209ec28a165f569c63227288b5d42328ac736 into feature/240__rdBa…
salesforce-org-metaci[bot] 0a6647f
Revert "temporarily remove disabling filter from NPSP settings run fo…
daniel-fuller 11ff225
Merge branch 'feature/240__rdBatchFiltering' of https:/Sa…
lparrott 2ead37a
Making Unit test assertion statement more accurate
lparrott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
15 changes: 15 additions & 0 deletions
15
...s/npe03__Recurring_Donations_Settings__c/fields/Batch_Filter_Date_Range__c.field-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,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Batch_Filter_Date_Range__c</fullName> | ||
<defaultValue>30</defaultValue> | ||
<description>When "Enable Opportunity Last Modified Batch Filter" is checked, this field determines the amount of days after being modified that an Opportunity should be included in Recurring Donation Batch jobs.</description> | ||
<externalId>false</externalId> | ||
<inlineHelpText>When "Enable Opportunity Last Modified Batch Filter" is checked, this field determines the amount of days after being modified that an Opportunity should be included in Recurring Donation Batch jobs.</inlineHelpText> | ||
<label>Batch Filter Date Range</label> | ||
<precision>18</precision> | ||
<required>false</required> | ||
<scale>0</scale> | ||
<trackTrending>false</trackTrending> | ||
<type>Number</type> | ||
<unique>false</unique> | ||
</CustomField> |
11 changes: 11 additions & 0 deletions
11
..._Recurring_Donations_Settings__c/fields/Enable_Opportunity_Batch_Filter__c.field-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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Enable_Opportunity_Batch_Filter__c</fullName> | ||
<defaultValue>false</defaultValue> | ||
<description>When checked, Recurring Donation nightly batch jobs limit the number of Donations selected for recalculation by looking for recently updated Opportunities on those Recurring Donations. This helps to improve nightly job performance.</description> | ||
<externalId>false</externalId> | ||
<inlineHelpText>When checked, Recurring Donation nightly batch jobs limit the number of Donations selected for recalculation by looking for recently updated Opportunities on those Recurring Donations. This helps to improve nightly job performance.</inlineHelpText> | ||
<label>Enable Opportunity Modified Batch Filter</label> | ||
<trackTrending>false</trackTrending> | ||
<type>Checkbox</type> | ||
</CustomField> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lparrott - any chance we can switch this to use SystemModStamp instead of LastModifiedDate since SystemModStamp is indexed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely, I have a list of questions to ask you and JJ, one revolves around potentially reusing the "Incremental Mode Field Override" setting for this query, which defaults to SystemModStamp. One downside: since there's only one field, it would be used for all incremental batches.