Overview:
After creating a Sample Inventory Offline user receives a sync error: Sample_Inventory_Before_vod: data changed by trigger for field Owner ID: owner cannot be blank
Root Cause:
The user is missing Edit Field Level Security (FLS) access to the Inventory For (Inventory_For_vod__c) field on the Sample Inventory object.
Solution:
Provide FLS to the Inventory For field (Inventory_For_vod__c) on the Sample Inventory object to the user.
To assign Security on a Profile:
- Log into the Org as an Administrator.
- Navigate to: Setup --> Administration Setup --> Manage Users --> Profiles.
- Drill into the correct Profile.
- Scroll down to the Field Level Security (FLS) section of the Profile.
- Click View next to Sample Inventory.
- Click Edit.
- Grant Read access to the Inventory For field.
- Click Save.
- Clear the Veeva Cache.
Send us your feedback: We're always looking for advice to help improve our Knowledge Base! Please let us know if this article was helpful or provide feedback on how we can improve your experience here.
Thank you