diff --git a/force-app/main/default/classes/ALLO_ManageAllocations_CTRL.cls b/force-app/main/default/classes/ALLO_ManageAllocations_CTRL.cls index c02f2eb4cd3..d8d41d0bb2c 100644 --- a/force-app/main/default/classes/ALLO_ManageAllocations_CTRL.cls +++ b/force-app/main/default/classes/ALLO_ManageAllocations_CTRL.cls @@ -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()); }