I am building a performance management tool for my organization, where the top Performance__c
table needs to be private, so as to obscure the quota and commission data per employee.
Challenge: Allow the records to be visible for all users, but only Id and OwnerId...
... when they create an opportunity, I have a trigger that adds them as a default "revenue split" and their partner as an "overlay split" to a new OpportunitySplit__c
table which is a master-detail of the Performance__c
table. They are obviously not able to add the overlay split, since they cannot see their partner's Performance__c
record to insert it as the master lookup Id...
Do I need to use an @future call to accomplish this without opening up all visibility to everyone?