I have a requirement to set up access control for a custom bo, that generates reports using the inbound web service and the data sources from sdk. I don't have any screens developed in the sdk.
So far I've created an association in the bo:
[RelevantForAccessControl] association ToEmployee to Employee.
And also have assigned the access context "1015 - Employee, Territory, Sales Data" to the work center.
Not sure on how to create the query for access context and consume it in the before-save event in sdk. ?
Thanks & Regards,