Set Up Visit and Inventory Access
Set up the right object permissions so that users access just the visits and inventories
they’re responsible for. You can use Sharing Settings and custom Apex triggers to set up
access.
|
Available in: Lightning Experience Available in: Enterprise and Unlimited Editions with Health Cloud or Health Cloud for Life Sciences |
| User Permissions Needed | |
|---|---|
| To set default sharing access: | Manage Sharing |
| To edit object permissions: | Manage Profiles and Permission Sets AND Customize Application |
Here’s how you configure object permissions related to visits and product inventories for
a sales rep.
- From Setup, enter Sharing Settings in the Quick Find box and select Sharing Settings.
- Click Edit for Organization-Wide Defaults.
- Set Product Fulfillment Location, Product Item, and Visit to Private.
- Save your changes.
- Enter Profiles in the Quick Find box and select Profiles.
- Click the profile you set up for your sales reps.
- Click Edit and go to the Standard Object Permissions section.
- Select Read, Create, Edit, and Delete for Visits, Product Items, and Product Fulfillment Locations.
- Deselect View All for Visits, Product Items, and Product Fulfillment Locations.
- Save your changes.
Now you’re ready to set up your Apex Triggers.