Today we are talking about a template named Sales Tracker on DbDesigner.net

This is a template on the DbDesigner template section which is called Sales Tracker and the Database is MsSQL.

There are 11 Tables in the design.

Table names are:

  • Branches
  • CMB
  • Companies
  • ContactDetailInfos
  • ContactDetails
  • Contacts
  • Documents
  • Makes
  • UserRoles
  • Users
  • UsersContacts
  • Branches Table

This Table has fourteen fields in it

FieldsTypeChildrenParents
Addressnvarchar
BranchCodenvarchar
BranchNamenvarchar
CompanyIdint
Emailnvarchar
FaxNonvarchar
IdintCMB
InsertDatedatetime
InsertUserIdint
IsActivebigint
PhoneNonvarchar
Postcodenvarchar
UpdateDatedatetime
UpdateUserIdint

 

  • CMB Table

This Table has four fields in it

FieldsTypeChildrenParents
BranchIdint
CompanyIdint
IdintUsersContacts

UserRoles

Companies

Makes

Branches

MakeIdint

 

  •  Companies Table

This Table has eleven fields in it

FieldsTypeChildrenParents
Addressnvarchar
CompanyCodenvarchar
CompanyNamenvarchar
CountryIdint
IdintContactDetails

CMB

InsertDatedatetime
InsertUserIdint
IsActivebit
Postcodenvarchar
UpdateDatedatetime
UpdateUserIdint

 

  • ContactDetailInfos Table

    This Table has ten fields in it

FieldsTypeChildrenParents
ContactIdbigint
IdintContactDetails
InsertDatedatetime
InsertUserIdint
IsPrimarybit
Labelnvarchar
Typenvarchar
UpdateDatedatetime
UpdateUserIdint
Valuenvarchar

 

  • ContactDetails Table

This Table has twenty fields in it

FieldsTypeChildrenParents
Addressnvarchar
CompanyIdint
ContactIdbigint
IdbigintUsersContacts

ContactDetailInfos

Contacts

Companies

Makes

InsertDatedatetime
InsertUserIdint
IsActivebit
IsPrimary*int
Label*nvarchar
MakeIdint
MobileNonvarchar
Name*nvarchar
Notifysmallint
PreferredNamenvarchar
PreferredTitlenvarchar
Sourcenvarchar
Type*nvarchar
UpdateDatedatetime
UpdateUserIdint
Value*nvarchar

 

  • Contacts Table

This Table has fourteen fields in it

FieldsTypeChildrenParents
ContactName*nvarchar
FormalNamenvarchar
Gendernvarchar
ICDocIdbigint
ICNonvarchar
IdbigintContactDetailsDocuments

Documents

InsertDatedatetime
InsertUserIdint
IsActivebit
PhotoDocIdbigint
PhotoDocIdbigint
Titlenvarchar
UpdateDatedatetime
UpdateUserIdint

 

  • Documents Table

This Table has eight fields in it

FieldsTypeChildrenParents
FileNamenvarchar
FilePathnvarchar
FileStreamvarbinary
FileTypenvarchar
IdbigintContacts

Users

InsertDatedatetime
InsertUserIdint
UIduniqueidentifier

 

  • Makes Table

This Table has eight fields in it

FieldsTypeChildrenParents
DisplayNamenvarchar
IdintContactDetails

CMB

InsertDatedatetime
InsertUserIdint
MakeCodenvarchar
MakeNamenvarchar
UpdateDatedatetime
UpdateUserIdint

 

  • UserRoles Table

This Table has two fields in it

FieldsTypeChildrenParents
CmbIdint
IdintCMB

 

  • Users Table

This Table has sixteen fields in it

FieldsTypeChildrenParents
CompanyId*int
DisplayNamenvarchar
Domainnvarchar
Emailnvarchar
IdintUsersContactsDocuments
InsertDatedatetime
InsertUserIdint
IsActivebit
LastDirectoryUpdatedatetime
PasswordHashnvarchar
PasswordSaltnvarchar
Sourcenvarchar
UpdateDatedatetime
UpdateUserIdint
UserImageDocIdbigint
Usernamenvarchar

 

  • UsersContacts Table

This Table has fifteen fields in it

FieldsTypeChildrenParents
BranchId*int
CoMaBrIdint
CompanyId*int
ContactDetailIdbigint
EventIdint
Flagnvarchar
IdbigintUsers

ContactDetails

CMB

InsertDatedatetime
InsertUserIdint
IsActivebit
MakeId*int
Sourcenvarchar
UpdateDatedatetime
UpdateUserIdint
UserIdint


The template can be found on
DbDesigner.net

Template Direct Link: https://dbdesigner.page.link/fYvWJ1m8QqEuGaLC7

Tip of the Day:

How to add a note:

Steps: 

  1. Click on Insert from the top bar or press Alt+N
  2. Click and hold the note to drag and drop
  3. Double click on note to edit it
  4. Right-click on the note to change the color of a note.