Professional Documents
Culture Documents
Sales Management System ER Diagrams
Sales Management System ER Diagrams
Sales Management System ER Diagrams
Prepared By
Everce Kyomuhendo
evercekyomuhendo@gmail.com
Architecture and Design of the System
Since the application will have client server architecture, it will have three-
tier architecture.
A.Logical View
Call Reply
Request Reply
Database
B. Physical View
Feedback
Feedback Sales and
Inventory
Transaction Checking
Feedback
Management
System
Feedback Reports Review
Items Information
Sales Manager
Admin
Feedback
Account Details
2. Change
Admin 3. Create
Info new Users
Feedback Feedback
Admin
Users
New Info
2.Change
Admin
Info
Feedback
13
Users
User’s Information
Admin 3. Create
New User
Feedback
Items
Items’s Details
Admin 4. Add new
Items
Feedback
Category’s Details
Admin 5. Add new
Category
Feedback
Items
New Price
Admin 6. Change
Items price
Feedback
Login System
Username/Password Feedback
Exceptions Create
Check Feedback
Admin
Users Username, Password Feedback
Sales Manager
Admin Users
New Info
2. Change
Sales Manager
Info
Feedback
Bills details
Bills/Transactions
Exceptions
Sales Manager
Check
Contact
4. Reports
Fix’s Command
Inventory Manager
Feedback
5. Create Sales-
Trends
Create
Feedback
Inventory -
trends
Inventory Manager
24
1. Login
System
Username/Password Feedback
Report
Details
Feedback
Inventory
Manager
Users
New Info
2. Change
Inventory
Info Manager
Feedback
Request Status
Items
View Report
Report Details
Report
Feedback
Details
Sales Person
Inform View
Sales Manager
Login function:
Start
Input Username
and Password
False
Check Username,
Password on Users Display Error
table on Database
True
True False
Status=1
False
Display Administrator
Main False
Status=2
True
Status=3
Display Sales
Manager Main
Display Inventory
Manager Main
Stop
Change User Information Function
Start
False
Validate Inputted
Display Error
Data
True
Display Success
Message
Stop
Functions of Administrator
Add new User:
Start
False
Validate Inputted
Display Error
Data
True
Display Success
Message
Stop
Add new Category
Start
False
Validate Inputted
Display Error
Data
True
Display Success
Message
Stop
Add new Items
Start
False
Validate Inputted
Display Error
Data
True
Display Success
Message
Stop
Change Items’ Price
Start
False
Validate input
data Display Error
True
Display Success
Message
Stop
Function of Sales Manager:
Check bills are created in day:
Start
Display numbers
of Bills
Stop
Start
Display sum of
money
Stop
Check Bills/Transactions are cancelled in the day:
Start
Display numbers
of Bills
Stop
Start
Display numbers
of Items
Stop
36
Function of Sales Person:
View Status of Inventory and inform:
Start
Stop
Search Item:
Start
False
Validate input
Data
True
Display Error
Message
Search on Items table by
Keyword
False
Data found
True
Display result
Stop
38
Enter Purchased Items and produce the same Bills:
Start
Enter purchased
Items details
False
Validate Data
Display Error
True
Display Message
Stop
5.4 Cancel produced bill and take back Items:
Start
Data Error
True
False
Cancel Bill
False
True
Display Message
Stop
Function of Inventory Manager.
Check Inventory’s status and validate against.
Start
False
Done
True
Stop
View Sales report and generate Inventory report/inventory-trends
Start
False
Validate Inventory
Status Done
True
Generate Inventory-trends
Base Inventory status
Stop
Entity Relationship Diagram (ERD)
Symbol Description
Entity
Preferences
connection relations
connection properties
Relational
Name Trans ID
C_ID
Sales
Categories C_Name
Make
ref
1
N
name
Items
Make
unit
N Price
1
1
Trans Details Contain
II: Permission for Users
Group_name permission
Groups
Contain
admin Password
U_ID
email
III. Database Structure
Table 1: Admin Users
Table 2: Items
Table 4: Transactions
Table 4: eventlog
Table 5: categories
III. Screenshot:
Login Form
Administrator Dashboard
Inventory Manager
Thank You.
Hope it works for you well.
Contact me for inquiries:
Keithtumusiime6@gmail.com
https://www.facebook.com/keithorganisations