Download - Data Dictionary Vendor Final 11
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 1/49
Table Summary of Vendor modul
Sr Name of the Table Briff Information about the table
1
2
4 User specific vendor category
5
6 Bill & Credit Information
7
10 vendor Payment Information
11
12 notes Information
13 Relation of notes to vendor
14
15
16 Information about task request
17
Details about task
18Status of the task(inprogress,comlete,etc)
19Status of each task
20 work order for copletion of task
21
Details of work order assignment
UsersStore Vendor's Information and loginemail
vendorDetail relation amonguser,adderss,category,accountType(expe)
VendorCategory
UserVendorCategory Relation between vendorcategory anduser
Bill
VendorBill Relation among Bill, Transaction user andbankAccount information
PayVendor
VendorPayment Relation betweenpayVendor,Transaction,bankAccount
NoteMaster
VendorNote
Transactiontransaction detail(propety,acctype,amount)
TransactionMaster
All Transaction of one payment are storewith same transactionId which isfrom
Transaction table
task
taskDetail
taskStatus
taskStatusDetail
workOrder
workOrderDetail
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 2/49
Dependent Table
VendorPayment
1.NoteMaster
1.users2.address
3.vendorcategory4.accountType
1.VendorCategory2. Users
1. Bill2.TransactionMaster3.BankAccountId
1. payVendor2.TransactionMaster3.BankAccountId
1.Property2.AccountType
1.task2.Priority3.task category
1.task2.taskstatus
1.workOrder2.Vendor
3.PartsAndLabour
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 3/49
Data Dic
Table Name: User Note If Any: Information ab
Table Type: Master
Sr Field Name Data Type Size s Nul PK FK IND Name
1
Id INT 10N Y N PRIMARY
2 Password VARCHAR 45 Y N N
3 FirstName VARCHAR 80 N N N
4 LastName VARCHAR 80 N N N
5 Email VARCHAR 100 Y N N
6 WorkPhone VARCHAR 20 Y N N
7 HomePhone VARCHAR 20 Y N N
8 MobilePhone VARCHAR 20 Y N N
9 Fax VARCHAR 20 Y N N
10 WebAddress VARCHAR 50 Y N N
11 Comment TEXT 200 Y N N12 PrimaryAccount TINYINT 1 Y N N
13 TINId VARCHAR 30 Y N N
14 BirthDate DATE Y N N
15 AccountNumber VARCHAR 45 Y N N
16 Manager TINYINT 1 N N N
17 Vendor TINYINT 1 N N N
18 RentalOwner TINYINT 1 N N N
19 AlternateEmail VARCHAR 100 Y N N
20 Active TINYINT 1 Y N N
21 AccountExpiryDate DATE N N N
22 ParentId INT 10 Y
Y N
23 CompanyName VARCHAR 45 Y N N
24 LastLogin TIMESTAMP Y N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 4/49
tionary
out users with there passward and loginId
IND Kind IND Type ef Valu Constraints Description
PRIMARY BTREE Primary Key Primary key for the user
FirstName of the User
LastName of the User
Login Mail for the user
WorkPhone of user
HomePhone Of user
MobilePhone of User
Fax Number of User
WebAddress of User's site
Comment about user
Birth Date of User
Account Number of user
Is user manager
Is user Vendor
Is user Rental Owner
Alternate EmailId for the user
Is Vendor Active
If user use trial version
Specify main user of the mana
User's CompanyName If Any
To track of last login
Encrypted password(MD5)
Foreign Key of itself(user)
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 5/49
er or rental owner or vendor
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 6/49
Table Name: VendorDetail Note If Any: Vendor's
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 UserId INT 10 N Y Y
2 CategoryId INT 10 N Y Y
3 ExpenseAccountId INT 10 N Y Y
4 AddressId INT 10 N Y Y
5 VendorId INT 10 N Y Y
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 7/49
Data Dictionary
etail to relate vendor with user,category,Account and Address
IND Name IND Kind IND Type Def Value Constraints
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
FK_VendorDetail_UserId(Us Primary key,Foreign Key
FK_VendorDetail_vendorca Primary key,Foreign Key
FK_VendorDetail_ExpenseAccount(AccountType)
Primary key,Foreign Key
FK_VendorDetail_AddressID(Address)
Primary key,Foreign Key
FK_VendorDetai_vendorId(
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 8/49
Description
UserId from Users forvendor reference
VendorCategory fromvendorcategory table
Expense Accountfrom AccountTypetable (defuldexpense Acc. For thevendor)
AddressId fromAddress table (vendorAddress)
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 9/49
D
Table Name: VendorCategory
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 Id INT 10N Y N
2 CategoryName VARCHAR 100 N N N
3 IsAdmin TINYINT 1 N N N
Note If Any: Common Vendormodify their own category on
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 10/49
ata Dictionary
IND Name IND Kind IND Type Def Value Constraints
PRIMARY PRIMARY BTREE NULL PRIMARY
NULL NO
1 NO
ategory whith value 0 of isAdmin is assign to all user when hly.
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 11/49
Description
id of the vendor category.
Vendor Category Name.
e create. Then he can
O means user can not edit ordelete category and 1means user can modify.
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 12/49
Dat
Table Name: UserVendorCategor Note If Any: Relate the vendo
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 INT 10N Y Y
2 UserId INT 10N Y Y
VendorCategoryId
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 13/49
Dictionary
category to specific users
IND Name IND Kind IND Type ef Valu Constraints
INDEX BTREE NULL
NULL
FK_uservendorcategory_vendorcate
goryId(vendorcategory)
PRIMARY,Foreing Key
FK_uservendorcategory_userIdId(users)
PRIMARY,Foreing Key
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 14/49
Description
id from users table
id from vendorcategory table
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 15/49
Data Diction
Table Name: Bill Note If Any: Store the info
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 BillId INT 10 N Y N PRIMARY
2 Date DATE N N N
3 BillDueDate DATE N N N
4 ReferenceNumber VARCHAR 40 Y N N
5 Memo VARCHAR 40 Y N N
6 Attachment BLOB Y N N
7 paymentDate DATE TIME Y N N
8 Type Varchar
6
N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 16/49
ry
mation about bills and credits
IND Kind IND Type Def Value Constraints Description
PRIMARY BTREE NULL PRIMARY KEY Id of the bill
NULL
NULL
NULL
NULL Memo of the bill
NULL
BILL
Specify date onwhichbill Entered
Specify due date of thebill
reference number of the bill
any document attach tothis bill(scan copy of bill)
Specify that whetherthis bill is paid orunpaid. null meansunpaid & exist meansPaid
BILL or CREDIT tospecify
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 17/49
Dat
Table Name: VendorBill Note If Any: this table specify th
Table Type:
Sr Field Name ta Ty Size s Null PK FK IND Name
1
UserId INT 10 N Y Y
2
BillId INT 10 N Y Y
3
TransactionMasterId INT 10 N Y Y
4
PayVendorId INT 10 Y N Y
FK_vendorbill_UserId(users)
FK_vendorbill_billid(bill)
FK_vendorbill_transactionMasterId(
TransactionMaster)
FK_VendorBill_payvendorid(vendorpayment)
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 18/49
Dictionary
t bills of each vendor
IND Kind IND Type Def Value Constraints Description
INDEX BTREE NULL UserId for referce of users
INDEX BTREE NULL BillId from bill table
INDEX BTREE NULL
INDEX BTREE NULL foreign key Enter when bill are paid
Primary,Foreign Key
Primary,Foreign Key
Primary,Foreign Key
specifyproperty,accounttype,desc,refNO,Amount details from trasactiontable
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 19/49
Dat
Table Name: Credit Note If Any:
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 CreditId INT 10 N Y N
2 Date DATE N N N
5 VARCHAR 40 N N
6 Memo VARCHAR 40 N N
7 Attachment BLOB N N
8 paymentDate DATE TIME Y N N
ReferenceNumber
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 20/49
a Dictionary
IND Name IND Kind IND Type Def Value onstraint Description
PRIMARY PRIMARY BTREE NULL Id of the Credit
NULL
NULL reference number of the Credit
NULL Memo of the Credit
NULL
PRIMARYKEY
Specify date on which CreditEntered.
any document attach to thisCredit
Specify that whether this Creditis setoff or not. Credit is setoff when bills pay (ex.: billAmt-Credit=payable)null means not setoff & viceversa
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 21/49
Data
Table Name: VendorCredit Note If Any: this table specif
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1
UserId INT 10 N Y Y
2CreditId INT 10 N Y Y
3
INT 10 N Y Y
4
INT 10 N Y Y
TransactionMasterId
BankAccountId
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 22/49
ictionary
that Credit of each vendor
IND Name IND Kind IND Type Def ValueConstraints Description
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
FK_vendorbill_UserId
Primary,Foreign Key
Userid from users forvendor reference
FK_vendorbill_CreditId
Primary,Foreign Key
CreditId from billtable.
FK_vendorbill_transactionMasterId
Primary,Foreign Key
specifyproperty,accounttype,desc,refNO,Amountdetails fromtrasactiontable.
FK_vendorbill_BankAccountId
Primary,Foreign Key
specify bank accountby which paymentmade of this bill.It is enter whenpayment made.
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 23/49
Data Dictionary
Table Name: PayVendor Note If Any: Stroe the information abo
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name IND Kind
1 PayVendorId INT 10 N Y N PRIMARY PRIMARY
2 Date DATE TIME N N N
3 CheckNumber VARCHAR 30 Y N N
4 Memo VARCHAR 40 Y N N
5 Attachment BLOB Y N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 24/49
t Payment made by check (Pay Vendor By Check.)
IND Type Def ValueConstraints Description
BTREE NULL Id of the vendor Payment
NULL NO
NULL NO
NULL NO memo of payment if any
NULL NO
PRIMARYKEY
Date on which Paymentmake
Check No. of check whichis given to the vendor
Any document attachmentto this payment
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 25/49
Data Dictio
Table Name: VendorPayment Note If Any: this table specify check Pay
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 UserId INT 10 N Y Y
2 PayVendorId INT 10 N Y Y
3 INT 10 N Y Y
4 BankAccountId INT 10 N Y Y
FK_vendorPayment_UserId(users)
FK_vendorPayment_PayvendorId(payVendor)
TransactionMasterId
FK_vendorbill_transactionMasterId
FK_vendorpayment_BankAccountId(bankAccount)
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 26/49
nary
ents details
IND Kind IND Type ef Valu Constraints Description
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
INDEX BTREE NULL
Primary,ForeignKey
UserId from user for vendorreference
Primary,ForeignKey
PayVendorId from PayVendortable.
Primary,ForeignKey
specifyproperty,accounttype,desc,refNo.,Amount details from trasactiontable.
Primary,ForeignKey
Specify BankAcoount by whichpayment made
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 27/49
Data Dicti
Table Name: NoteMaster Note If Any:
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 NoteId INT 10 N Y N PRIMARY
2 Note TEXT N N N
3 UpdatedOn TIMESTAMP N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 28/49
onary
IND Kind IND Type Def Value Constraints Description
PRIMARY BTREE NULL PRIMARY Key Id of the Note
NULL
CURRENT_TIME
Any Notes for theuser
Time on which noteentered
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 29/49
Data Dictionary
Table Name: VendorNote Note If Any:
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name IND Kind
1 NoteId INT 10 N Y Y INDEX
2 UserId INT 10 N Y Y INDEX
FK_VendorNote _vendormastrid
FK_VendorNote _UserId(users)
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 30/49
IND Type Def Value Constraints Description
BTREE NULL
BTREE NULL
PRIMARYKey,Foreign
KEY
Id of the Note from vendormaster
PRIMARYKey,ForeignKEY
Userid from Users for vendorreference
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 31/49
Table Name: Transaction Note If Any: store the
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 Id INT 10 N Y N
2 TransactionId INT 10 N N N
3 PropertyId INT 10 N N N
4 AccountTypeId INT 10 N N N
5 Description VARCHAR 240 Y N N
6 ReferenceNumber VARCHAR 50 Y N N
7 Amount DOUBLE N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 32/49
Data Dictionary
Expenses and Incomes as per specific property and accou
IND Name IND Kind IND Type Def ValueConstraints
PRIMARY PRIMARY BTREE NULL
NULL
INDEX BTREE NULL FOREIGNKey
INDEX BTREE NULL FOREIGNKey
NULL
NULL
NULL
PRIMARYKey
FK_Transaction_propertyID(properties)
FK_transaction_AccountTypeId(accounttype)
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 33/49
nttype
Description
id of the transaction
Description about transaction
reference no
Amount
Same transactionid for onetransaction coming fromtransaction master
Propetyid from property tableto specify that the amount
allocate to this property
Accounttypeid from accounttype table to specifyparticular expense or income
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 34/49
D
Table Name: TransactionMasterNote If Any:
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 TransactionMasterId INT 10 N Y N
2 UserId INT 10 N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 35/49
ata Dictionary
IND Name IND Kind IND Type Def Value Constraints
PRIMARY PRIMARY BTREE NULL PRIMARY Key
INDEX BTREE NULL ForeignKeyFK_TransactionMaster_UserId
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 36/49
Description
id of each transaction
id from users which refer tovendor
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 37/49
Data Dicti
Table Name: task Note If Any: Description about
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 TaskId INT 10 N Y N PRIMARY
2 ShortDescription VARCHAR 100 N N N
3 LongDescription VARCHAR 200 Y N N
4 Attachment BLOB Y N N
5 DueDate DATE N N N
6 OriginatedBy VARCHAR 45 N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 38/49
nary
task for the property
IND Kind IND Type Def Value Constraints Description
PRIMARY BTREE Primary Key id of the task
Short desc about task
any document about task
due dateof the task
specify who generate therequest (rentalownwer/resident/manager)
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 39/49
Data Dictiona
Table Name: task_status Note If Any: Describe Status
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 TaskStatusId INT 10 N Y N
2 status VARCHAR 45 N N N
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 40/49
ry
of the task
IND Name IND Kind IND Type Def Value Constraints Description
PRIMARY PRIMARY BTREE PrimaryKeyid of thestatus
name of thestatus
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 41/49
Data Dictionary
Table Name: taskStatusDetail Note If Any: Description about task
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 TaskStatusId INT 10 N N N
2 TaskId INT 10 N N N
3 Comments VARCHAR 100 Y N N
4 UpdatedOn TIMESTAMP N N N
FK_taskstatusdetail _taskstatusdetailid(
taskstatusdetail)
FK_taskstatusdetail _taskid(Task)
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 42/49
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 43/49
Data Dictionary
Table Name: worldorder Note If Any: information about W
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 WorkOrderId INT 10 N Y N PRIMARY
2 InvoiceNumber VARCHAR 50 Y N N
3 VARCHAR 100 Y N N
4 VendorNote VARCHAR 50 Y N N
WorkPerformedByVendor
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 44/49
rk order given to vendor for the task comletion
IND Kind IND Type Def Value Constraints Description
PRIMARY BTREE PRIMARY KEYId of the work orderfor the task
description aboutwork done byvendor
Notes about vendorfor the task assign
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 45/49
Data Dictionar
Table Name: workorderDetail Note If Any: details about workorder o
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 VendorId INT 10 N N Y
2 WorkorderId INT 10 N N Y
3 PartsAndLaborId INT 10 N N Y
4 AccountId INT 10 N N Y
5 TaskId INT 10 N N Y
FK_workOrderDetai
l_VendorId(Users)
FK_workOrderDetail_WorkorderId(workOrder)
FK_workOrderDetail_PartsAndLaborId(partsandLabour))
FK_workOrderDetail_AccountId(Accoun
t)
FK_workOrderDetail_TaskId(Task)
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 46/49
f assign and amounts detail
IND Kind IND Type Def Value Constraints Description
INDEX BTREE vendor id from users
INDEX BTREE
INDEX BTREE
INDEX BTREE
INDEX BTREE task id from task
PRIMARYKEY,Foreign
Key
PRIMARYKEY,ForeignKey
Workorsed id fromworkorder
PRIMARYKEY,ForeignKey
parts and labour idfrom parts and labour
PRIMARYKEY,Foreign
Key
Account id from
account idPRIMARYKEY,ForeignKey
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 47/49
Table Name: taskdetail Note If Any: Descripti
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 TaskId INT 10 Y N Y
2 UnitId INT 10 Y N Y
3 UserId INT 10 Y N Y
4 PriorityId INT 10 Y N Y
5 CategoryId INT 10 Y N Y
6 RequestType INT 1 N N N
7 RentalOwnerId INT 10 N N Y
8 ResidentId INT 10 N N Y
Home
8/6/2019 Data Dictionary Vendor Final 11
http://slidepdf.com/reader/full/data-dictionary-vendor-final-11 48/49
Data Dictionary
on about task for the property
IND Name IND Kind IND Type Def Value Constraints
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
INDEX BTREE Foreign Key
FK_taskdetail_taskId(task)
FK_taskdetail_UnitId(unit)
FK_taskdetail_UserId(user)
FK_taskdetail_PriorityId(Priority)
FK_taskdetail_categoryId(category)
FK_taskdetail_RentalOwnerId(Rentalwner)
FK_taskdetail_ResidentId(Resident)