You are on page 1of 49

Table Summary of Vendor module

Sr Name of the Table Briff Information about the table


Store Vendor's Information and login
1 Users
email
2 vendorDetail relation among
user,adderss,category,accountType(expe)

4 VendorCategory User specific vendor category


UserVendorCategory Relation between vendorcategory and
5
user
6 Bill Bill & Credit Information
VendorBill Relation among Bill, Transaction user and
7 bankAccount information

10 PayVendor vendor Payment Information


VendorPayment Relation between
11 payVendor,Transaction,bankAccount

12 NoteMaster notes Information


13 VendorNote Relation of notes to vendor
14 transaction detail
Transaction
(propety,acctype,amount)
All Transaction of one payment are store
15 TransactionMaster with same transactionId which isfrom
Transaction table
16 task Information about task request
Details about task
17 taskDetail

Status of the task(inprogress,comlete,etc)


18 taskStatus

Status of each task


19 taskStatusDetail

20 workOrder work order for copletion of task


Details of work order assignment
21 workOrderDetail
r module
Dependent Table

1.users
2.address
3.vendorcategory
4.accountType

1.VendorCategory
2. Users

1. Bill
2.TransactionMaster
3.BankAccountId
VendorPayment
1. payVendor
2.TransactionMaster
3.BankAccountId

1.NoteMaster
1.Property
2.AccountType

1.task
2.Priority
3.task category

1.task
2.taskstatus

1.workOrder
2.Vendor
3.PartsAndLabour
Data Dictionary
Table Name: User Note If Any: Information about users w
Table Type: Master
Sr Field Name Data Type Size Is Null PK FK IND Name
Id INT 10 N Y N PRIMARY
1
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 N
12 PrimaryAccount TINYINT 1Y 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 1N N N
17 Vendor TINYINT 1N N N
18 RentalOwner TINYINT 1N N N
19 AlternateEmail VARCHAR 100 Y N N
20 Active TINYINT 1Y N N
21 AccountExpiryDate DATE N N N
Y N
22 ParentId INT 10 Y
23 CompanyName VARCHAR 45 Y N N
24 LastLogin TIMESTAMP Y N N

Home
Data Dictionary
ation about users with there passward and loginId

IND Kind IND TypeDef Value Constraints Description


PRIMARY BTREE Primary Key Primary key for the user

Encrypted password
(MD5)
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
Foreign Key of
itself(user) Specify main user of the manager or rental o
User's CompanyName If Any
To track of last login
he manager or rental owner or vendor
Data Dictionary
Table Name: VendorDetail Note If Any: Vendor's Detail to relate ven
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
Data Dictionary
endor's Detail to relate vendor with user,category,Account and Address

IND Name IND Kind IND Type Def Value Constraints


FK_VendorDetail_UserId(Users)
INDEX BTREE NULL Primary key
,Foreign Key

FK_VendorDetail_vendorcategoryid(vendorCategory)
INDEX BTREE NULL Primary key
,Foreign Key

FK_VendorDetail_Expense INDEX BTREE NULL Primary key


Account(AccountType) ,Foreign Key

FK_VendorDetail_AddressI INDEX BTREE NULL Primary key


D(Address) ,Foreign Key

FK_VendorDetai_vendorId(Users)
Description
UserId from Users for
vendor reference

VendorCategory from
vendorcategory table

Expense Account
from AccountType
table (defuld
expense Acc. For the
vendor)

AddressId from
Address table (vendor
Address)
Data Dictionary
Table Name: VendorCategory Note If Any: Common Vendor Category whit
Table Type: modify their own category only.
Sr Field Name Data Type Size Is Null PK FK
1 Id INT 10 N Y N

2 CategoryName VARCHAR 100 N N N


3 IsAdmin TINYINT 1N N N

Home
Data Dictionary
Vendor Category whith value 0 of isAdmin is assign to all user when he create. Then he can
egory only.
IND Name IND Kind IND Type Def Value Constraints
PRIMARY PRIMARY BTREE NULL PRIMARY

NULL NO
1 NO
r when he create. Then he can

Description
id of the vendor category.

Vendor Category Name.


O means user can not edit or
delete category and 1
means user can modify.
Data Dictionary
Table Name: UserVendorCategoryNote If Any: Relate the vendor category to s
Table Type:
Sr Field Name Data Type Size Is Null PK FK
1 VendorCategor INT 10 N Y Y
yId

2 UserId INT 10 N Y Y

Home
Data Dictionary
e vendor category to specific users

IND Name IND Kind IND TypeDef Value Constraints


FK_uservendorcat INDEX BTREE NULL PRIMARY,Forein
egory_vendorcate g Key
goryId(vendorcate
gory)
FK_uservendorcat NULL PRIMARY,Forein
egory_userIdId(us g Key
ers)
Description
id from vendor
category table

id from users table


Data Dictionary
Table Name: Bill Note If Any: Store the information about
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 N N N
6

Home
Dictionary
the information about bills and credits

IND Kind IND Type Def Value Constraints Description


PRIMARY BTREE NULL PRIMARY KEY Id of the bill

NULL Specify date onwhich


bill Entered
NULL Specify due date of the
bill
NULL reference number of
the bill
NULL Memo of the bill
NULL any document attach to
this bill(scan copy of
bill)
Specify that whether
this bill is paid or
unpaid. null means
unpaid & exist means
Paid

BILL BILL or CREDIT to


specify
Data Dictionary
Table Name: VendorBill Note If Any: this table specify that bills of each ve
Table Type:
Sr Field Name Data TypeSize Is Null PK FK IND Name
UserId INT 10 N Y Y FK_vendorbill_Use
1 rId(users)

BillId INT 10 N Y Y FK_vendorbill_billi


2 d(bill)

TransactionMasterId INT 10 N Y Y FK_vendorbill_tra


nsactionMasterId(
3 TransactionMaste
r)
PayVendorId INT 10 Y N Y FK_VendorBill_pay
vendorid(vendorp
4 ayment)

Home
Data Dictionary
pecify that bills of each vendor

IND Kind IND Type Def Value Constraints Description


INDEX BTREE NULL Primary,Foreig UserId for referce of users
n Key

INDEX BTREE NULL Primary,Foreig BillId from bill table


n Key

INDEX BTREE NULL Primary,Foreig specify


n Key property,accounttype,desc,refNO,Amo
unt details from trasactiontable

INDEX BTREE NULL foreign key Enter when bill are paid
Data Dictionary
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 ReferenceNu VARCHAR 40 N N
mber
6 Memo VARCHAR 40 N N

7 Attachment BLOB N N

8 paymentDate DATE TIME Y N N

Home
Data Dictionary

IND Name IND Kind IND Type Def ValueConstraints Description


PRIMARY PRIMARY BTREE NULL PRIMARY Id of the Credit
KEY
NULL Specify date on which Credit
Entered.
NULL reference number of the Credit

NULL Memo of the Credit

NULL any document attach to this


Credit
Specify that whether this Credit
is setoff or not. Credit is setoff
when bills pay (ex.: billAmt-
Credit=payable)
null means not setoff & vice
versa
Data Dictionary
Table Name: VendorCredit Note If Any: this table specify that Credit of ea
Table Type:
Sr Field Name Data Type Size Is Null PK FK
UserId INT 10 N Y Y
1

CreditId INT 10 N Y Y
2

TransactionM INT 10 N Y Y
asterId
3

BankAccountI INT 10 N Y Y
d

Home
Data Dictionary
e specify that Credit of each vendor

IND Name IND Kind IND Type Def Value Constraints Description
FK_vendorbill_U INDEX BTREE NULL Primary,Fore Userid from users for
serId ign Key vendor reference

FK_vendorbill_C INDEX BTREE NULL Primary,Fore CreditId from bill


reditId ign Key table.
FK_vendorbill_t INDEX BTREE NULL Primary,Fore specify
ransactionMast ign Key property,accounttype,
erId desc,refNO,Amount
details from
trasactiontable.

FK_vendorbill_B INDEX BTREE NULL Primary,Fore specify bank account


ankAccountId ign Key by which payment
made of this bill.
It is enter when
payment made.
Data Dictionary
Table Name: PayVendor Note If Any: Stroe the information about Payment
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
nary
tion about Payment made by check (Pay Vendor By Check.)

IND Type Def Value Constraints Description


BTREE NULL PRIMARY Id of the vendor Payment
KEY

NULL NO Date on which Payment


make

NULL NO Check No. of check which


is given to the vendor

NULL NO memo of payment if any

NULL NO Any document attachment


to this payment
Data Dictionary
Table Name: VendorPayment Note If Any: this table specify check Payments deta
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 UserId INT 10 N Y Y FK_vendorPayment_U
serId(users)
2 PayVendorId INT 10 N Y Y FK_vendorPayment_P
ayvendorId(payVendo
r)
3 TransactionMast INT 10 N Y Y FK_vendorbill_transac
erId tionMasterId

4 BankAccountId INT 10 N Y Y FK_vendorpayment_B


ankAccountId(bankAc
count)

Home
ta Dictionary
heck Payments details

IND Kind IND TypeDef Value Constraints Description


INDEX BTREE NULL Primary,Foreign UserId from user for vendor
Key reference
INDEX BTREE NULL Primary,Foreign PayVendorId from PayVendor
Key table.

INDEX BTREE NULL Primary,Foreign specify


Key property,accounttype,desc,refNo.,
Amount details from trasaction
table.

INDEX BTREE NULL Primary,Foreign Specify BankAcoount by which


Key payment made
Data Dictionary
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
ata Dictionary

IND Kind IND Type Def Value Constraints Description


PRIMARY BTREE NULL PRIMARY Key Id of the Note

NULL Any Notes for the


user
CURRENT_TIME Time on which note
entered
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 FK_VendorNote INDEX
_vendormastrid

2 UserId INT 10 N Y Y FK_VendorNote INDEX


_UserId(users)

Home
tionary

IND Type Def Value Constraints Description


BTREE NULL PRIMARY Id of the Note from vendor
Key,Foreign master
KEY
BTREE NULL PRIMARY Userid from Users for vendor
Key,Foreign reference
KEY
Data Dictionary
Table Name: Transaction Note If Any: store the Expenses and Income
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
Data Dictionary
tore the Expenses and Incomes as per specific property and accounttype

IND Name IND Kind IND Type Def Value Constraints


PRIMARY PRIMARY BTREE NULL PRIMARY
Key
NULL

FK_Transaction_pr INDEX BTREE NULL FOREIGNKey


opertyID(propertie
s)

FK_transaction_Ac INDEX BTREE NULL FOREIGNKey


countTypeId(acco
unttype)

NULL

NULL
NULL
nd accounttype

Description
id of the transaction

Same transactionid for one


transaction coming from
transaction master

Propetyid from property table


to specify that the amount
allocate to this property

Accounttypeid from account


type table to specify
particular expense or income

Description about transaction

reference no
Amount
Data Dictionary
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
Data Dictionary

IND Name IND Kind IND Type Def Value Constraints


PRIMARY PRIMARY BTREE NULL PRIMARY Key

FK_Transactio INDEX BTREE NULL ForeignKey


nMaster_UserI
d
Description
id of each transaction

id from users which refer to


vendor
Data Dictionary
Table Name: task Note If Any: Description about task for the pro
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
ata Dictionary
on about 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 the


request (rental
ownwer/resident/manager)
Data Dictionary
Table Name: task_status Note If Any: Describe Status of the task
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
Dictionary
e Status of the task

IND Name IND Kind IND Type Def Value Constraints Description
id of the
PRIMARY PRIMARY BTREE PrimaryKey status
name of the
status
Data Dictionary
Table Name: taskStatusDetail Note If Any: Description about task for the pro
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name
1 TaskStatusId INT 10 N N N FK_taskstatusdetail
_taskstatusdetailid(
taskstatusdetail)

2 TaskId INT 10 N N N FK_taskstatusdetail


_taskid(Task)
3 Comments VARCHAR 100 Y N N

4 UpdatedOn TIMESTAMP N N N

Home
onary
out task for the property

IND Kind IND Type Def Value Constraints Description


INDEX BTREE Foreign Key Specify of the
status of task

INDEX BTREE Foreign Key

Comments
when update
the task if any

Time on which
task updated
Data Dictionary
Table Name: worldorder Note If Any: information about Work order give
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

WorkPerformedByV
3 endor VARCHAR 100 Y N N

4 VendorNote VARCHAR 50 Y N N

Home
ctionary
bout Work order given to vendor for the task comletion

IND Kind IND Type Def Value Constraints Description


Id of the work order
PRIMARY BTREE PRIMARY KEY for the task

description about
work done by
vendor

Notes about vendor


for the task assign
Data Dictionary
Table Name: workorderDetail Note If Any: details about workorder of assign an
Table Type:
Sr Field Name Data Type Size Is Null PK FK IND Name

FK_workOrderDetai
1 VendorId INT 10 N N Y l_VendorId(Users)
FK_workOrderDetai
l_WorkorderId(work
2 WorkorderId INT 10 N N Y Order)

FK_workOrderDetai
l_PartsAndLaborId(
3 PartsAndLaborId INT 10 N N Y partsandLabour))
FK_workOrderDetai
l_AccountId(Accoun
4 AccountId INT 10 N N Y t)

FK_workOrderDetai
5 TaskId INT 10 N N Y l_TaskId(Task)

Home
ictionary
korder of assign and amounts detail

IND Kind IND Type Def Value Constraints Description


PRIMARY
KEY,Foreign
INDEX BTREE Key vendor id from users
PRIMARY
KEY,Foreign Workorsed id from
INDEX BTREE Key workorder

PRIMARY
KEY,Foreign parts and labour id
INDEX BTREE Key from parts and labour
PRIMARY
KEY,Foreign Account id from
INDEX BTREE Key account id
PRIMARY
KEY,Foreign
INDEX BTREE Key task id from task
Data Dictionary
Table Name: taskdetail Note If Any: Description about task for the p
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 1N N N

7 RentalOwnerId INT 10 N N Y

8 ResidentId INT 10 N N Y

Home
Data Dictionary
Description about task for the property

IND Name IND Kind IND Type Def Value Constraints


FK_taskdetail_taskId(tas INDEX BTREE Foreign Key
k)
FK_taskdetail_UnitId(unit INDEX BTREE Foreign Key
)
FK_taskdetail_UserId(use INDEX BTREE Foreign Key
r)
FK_taskdetail_PriorityId( INDEX BTREE Foreign Key
Priority)
FK_taskdetail_categoryId INDEX BTREE Foreign Key
(category)

FK_taskdetail_RentalOw INDEX BTREE Foreign Key


nerId(Rentalwner)

FK_taskdetail_ResidentId INDEX BTREE Foreign Key


(Resident)
Description

priority of task

task categiry

1 for Manaager
2 for Rental
Owner
3 for Resident
if request
generated by
rental owner
if request
generated by
Resident