Skip to content

Commit

Permalink
Merge pull request #7243 from SalesforceFoundation/feature/252-bug-fix
Browse files Browse the repository at this point in the history
Merge 252 bug fix into main
  • Loading branch information
npsp-reedestockton authored Jul 22, 2024
2 parents 35ad740 + 5f7b99a commit 3b73354
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ public with sharing class ALLO_ManageAllocations_CTRL {
objectFields.add(Allocation__c.General_Accounting_Unit__c.getDescribe().getSobjectField());

for(Schema.FieldSetMember additionalField : additionalAllocationFields) {
Schema.DescribeFieldResult fieldResult = additionalField.getSObjectField().getDescribe();
if (fieldResult.isCalculated() || !fieldResult.permissionable || additionalField.getFieldPath().contains('__r')) {
continue;
}
objectFields.add(additionalField.getSObjectField());
}

Expand Down

0 comments on commit 3b73354

Please sign in to comment.