Thursday, August 27, 2009

Domain, Virtual Company account and record level security

Domain: Domain is a one kind of group for company where user can add multiple companies on one domain. When we use user or user group permission this use to define same securities for added companies on particular domain
Example: If I want to provide same access to a user for company 001,002 and 003, I will create a domain like ‘123’ and will add all these three company on it and at the time of defining user group permission for a particular user or user group I will select this domain from Domain list on user group permission dialog box.
Virtual company: Domain just use to define the group for companies but all its companies works separately and if we want to share some data among the companies which we have created on system, we can create virtual company.
So we can say simply that Virtual company use to share the data among the companies and for this we have to choose the couples of table which need to share.
Example: I have two companies which have same vendors and customers and I do not want to maintain customer and vendors records separately. This time will do following steps
1-Will create a virtual company and add these two companies on that.
2-Will create a table collection and add Customer and vender tables with all its relative tables as well on that.
3-Will add the created table collection on the virtual company
Record level Security: Record level security use to define the limit of access a specific type of record from table
Example: If I want to define a limit for a user group like ‘xyz’ on vendor table where they can only see the vendors which belongs to ‘Local’ vendor group then I have to add this user group on record level security form and then by using query I will define the condition for same.

No comments: