dbo.company_roles
Documentation | CRM |
Schema | dbo |
Name | company_roles |
Module | Companies |
Columns
Key | Name | Data type | Null | Attributes | References | Description | ||
---|---|---|---|---|---|---|---|---|
1 | company_role_id | int | Identity | |||||
Identity |
||||||||
2 | company_id | int | ||||||
3 | contact_id | int | dbo.contacts | |||||
References: dbo.contacts | ||||||||
4 | role_code | nvarchar(50) | ||||||
5 | position | nvarchar(150) | ||||||
6 | role_from | date | ||||||
7 | role_to | date | ||||||
8 | deleted | bit | Default: 0 | |||||
Default:
0 |
||||||||
9 | created_by | nvarchar(100) | Login of user who created row | |||||
Login of user who created row |
||||||||
10 | creation_date | datetime | Default: getdate() | Row creation date time | ||||
Row creation date time Default: getdate() |
||||||||
11 | modified_by | nvarchar(100) | Login of user who last modified row | |||||
Login of user who last modified row |
||||||||
12 | modification_date | datetime | Default: getdate() | Date and time of row last modification | ||||
Date and time of row last modification Default: getdate() |
Relations
Foreign table | Primary table | Join | Title / Name / Description | |
---|---|---|---|---|
dbo.company_roles | dbo.contacts | dbo.company_roles.contact_id = dbo.contacts.contact_id | FK_company_roles_tab_contacts_tab |
|
dbo.company_roles.contact_id = dbo.contacts.contact_id Name: FK_company_roles_tab_contacts_tab |
Unique keys
Key name | Columns | Description | |
---|---|---|---|
PK_company_roles_tab | company_role_id | ||
Uses
Name |
---|
dbo.company_roles
|
Exported: 2019-02-04 23:17, Last imported: 2018-02-28 01:29