Upload
eustacia-pope
View
217
Download
0
Tags:
Embed Size (px)
Citation preview
1
STOCKDOCAdvanced Stock Management System
A Project Presentation on on
Compiled By:
Parul Bhadeshiya.
2
Index
1. Introduction
2. Technologies
3. Study and Analysis
4. Design and Code
5. Testing
6. Security Checks
7. Conclusion
8. Reference and Bibliography
3
Introduction
• With the vision of shops and small companies
• They can easily manage day to day purchases and
sales of their business
• Obtain stock-on-hand reports.
• Any kind of company, firm, group, shop,
departmental store and shopping mall can use this
website.
• All above particulars are users of the site.
4
Technologies
HTML
5
Study and Analysis
• The objective of this website is to maintain the current
stock of the company and save the sales and purchase
vouchers.
• Current stock is managed using groups of products and
items with quantity.
• Complete list of all items, sales and purchase vouchers
and company information are the reports.
• All groups, items, user information have facility to
update data or remove as per the need.
6
Data Flow Diagram Level 0
Registration
Unregister user
Checking username password
Register
Invalid
Valid
Valid
Valid
LoginUser
Invalid username password
Sign up
Company
Vouchers
Inventory
CompanyMaster
7
DFD Level 1 (Company)
Changepassword
Checking validation Update details
Checking validation Update details
Display company details
Fetch all details
Updating information
DisplayCompan
y Detail
Company
CompanyMaster
Changepasswor
d
UpdateCompan
y Detail
CompanyMaster
8
DFD Level 1 (Inventory-Groups)
Delete group
Change group details
Delete group
Add new
Fetch all details
Change group detail
Insert group
Create new group
Display Page with links
Display links
& details
Inventory
Groups
Create Groups
Show Groups
Adding
group detail
s
Delete
group
Update
group detail
s
Display
Group details
Groups
9
DFD Level 1 (Inventory-Items)
Delete item
Change item details
Delete item
Add new
Fetch all details
Change item detail
Insert item
Create new item
Display Page with links
Display links
& details
Inventory
Items
Create Items
Show Items
Adding item detail
s
Delete item
Update item detail
s
Display
Group details
Items
10
DFD Level 1 (Vouchers)
Display selected
type vouchers
Fetch selected type vouchers
Display page
Insert details
Create Vouche
rVoucher
s
Vouchers
Display Voucher
s
11
Functional Requirements
• Access STOCKDOC
• Company Registration
• Authenticate users
• View and update company details
• Inventory module
▫ Create, update, delete, view groups and items
• Voucher module
▫ Create vouchers and view list of vouchers
12
Design and Code
• Design phase consists of webpage designs like forms
and database designs.
• Coding phase consists of programming, the flow of
process.
• What actions are taken after submitting the forms.
• Also checking client as well as server side validations.
• After checking all inputs as per the action database is
effected.
13
Form Design
14
Database design
Table Company_master
Table items
Table Groups
Table Vouchers
15
Normalization
1. First normal form (1NF)
• The term first normal form (1NF) describes the tabular format in
which:
▫ All the key attributes are defined.
▫ There are no repeating groups in the table.
▫ All attribute are dependent on the primary key.
Company_ID Company name Address Phone number Email id
Dependency Diagram of table Company_master
16
2. Second normal form (2NF)
• A table in 2NF if:
▫ It is in 1NF.
▫ It includes no partial dependencies; that is, no attribute
is dependent on only a portion of the primary key.
Group_ID Company_ID
Dependency Diagram of table Groups
17
3. Third normal form (3NF)
• A table in 3NF if:▫It is in 2NF.▫It contains no transitive dependencies.
Company_ID Company
name
Address Phone
number
Email id
Group_ID Company_ID Group name Under Group
Item_ID Company_ID Group_ID Item name Quantity Created date
Voucher_ID Company_ID Voucher no Party name Group_ID Item_ID Quantity
Dependency Diagram of tables
18
Form validation
• Name of company, group, items
• Phone number
• Email validation
• Valid Username
• Password validation
• Quantity check
• Email verification
19
Password validation
20
Report of stock
21
System Testing
•Black box Testing (Functional Testing)
•White box Testing
•Unit Testing
•Integration Testing
•Performance Testing
22
Checks and Controls
• Using validation, form inputs are checked
and according to the error message user
have to input the data.
• Password management includes creating,
changing and resetting them. Provide
unique identity of user using the unique
username for each user.
23
Checks and Controls
• While creating the company will check for
availability of username
• Encryption of password stored in database.
24
Conclusion
• Managing products group wise therefore according to the
group we can show the products items and easily modify
or remove from the list.
• STOCKDOC is applicable in cross browser.
• User friendly designs, errors messages therefore any user
can understand what to do when alert or error messages
occurs.
25
Conclusion
• In Future development includes
▫ In Vouchers many types will be included like raw
material in-out, advertising products in-out and
production level inventory and final stock on
particular date.
▫ Company develop a complete accounting system
online that starts from creating company till balance
sheet generation.
26
References• Book “PHP Reference: Beginner to Intermediate PHP5” By Mario
Lurig. 2008. ISBN: 978-1-4357-1590-5.
• For online help search engine - http://www.google.com
• For design - http://www.w3schools.com_by_Luis
• For php help - http://www.php.net
• For General programming concept -
http://www.deniweb.com/web-development/php
• For solve coding problems - http://www.stackoverflow.com
• For password management - https://www.newthinktank.com
• For Testing guidelines - http://www.Guru99.com