I want to restrict items view by company wise. That means , When a user (of Company A) logged-in he can see items only added in the Company A.
Is that possible ?
2 Likes
yes it’s possible but you have to add few custom fields and set permissions to get it working.
also if there is an item common between companies, you have to have separate for each company.
@adnan Thanks for the reply. If i add custom field against an item how can i set permission with only that field. Can you please give a simple example ?
Add a custom Field of type link (In your case Company) and link it to company doctype, by putting Company in Options of custom field.
once link field is created, it’ll automatically appear in your permissions. for each user you can apply if company is permitted.
2 Likes