Company Accounts overviewEdit on GitHub
In the context of permissions management, the top level of a B2B business model hierarchy is a Company. The Company represents a legal organization, which is related to stores and has specific metadata (e.g. a tax-number). A Company can have a name, activity state and status attributes represented by name, is-active and status fields respectively.
Upon initial registration of a Company, it appears in the B2B shop with the Pending status in the Back Office. After the Company has been checked, it gets the Approved status.
Each company consists of several Business Units, that can be viewed as physical divisions of a Company. The Business Units in their turn can have a hierarchical structure as well, which means that they can have own departments, teams etc. Business units also have metadata (e.g. tax-number).
The level below the Business Unit is the Company Address.
One Company Address can be assigned to several Business Units.
The process of a new Company registration begins with the registration of a Customer (Company User). A user, or employee, of a Company is referred to as a Company User. A Company User always belongs to one business unit.
The Company User contains all the information about the Customer and has a one-to-one relation to the Customer. Actually, when a new Company User is created, a new Customer is created at the same time. Therefore, Customer and Company User always go together. The only difference between them is that Company User can contain meta information which is related only to Company, whereas customer has just B2C information, which is not related to a company.
The scheme below illustrates relations between Company, Business Unit, Company (Unit) Address and Company User (Customer).
For submitting the form