se dfd inventory system 160412
TRANSCRIPT
Slide 1
[email protected]: Simple Inventory System(A Book-store Management System)
by: Bharat V. ChawdaComputer Engineering Department,BBIT, VVNagar
1
[email protected] FunctionsContext DiagramLevel 1 DiagramDFDs for Manage Book DataDFDs for Manage SalesDFDs for Manage Purchase
[email protected] Book-store Mng System:DescriptionManages data regarding books, customers, employees, suppliers and other relevant purchase & sale related data.This system is managed by an Admin; has all the administrative rights to perform required functionalities.Admin keeps track on the quantity of books. Whenever required, he puts an order for purchasing new books to supplier. To support this task, minimum quantity (or reorder quantity) is managed for each book along with other data.
[email protected] Book-store Mng System:Description (cont.)Whenever supplier supplies order, stocks are updated and bill-data related to supplier is stored.Related to each sale, a computerized bill is generated for a customer. Based on selling, quantity is updated (subtracted) for sold books automatically.Whenever required, admin can search data related to some particular books, customers, employees or suppliers.
[email protected] FunctionsHigh-level Functions1. Manage Book Data2. Manage Customer Data3. Manage Employee Data4. Manage Supplier Data5. Manage Sales6. Manage Purchase7. Login (for admin)
[email protected] or Level 0 DiagramConcept:Main steps:Identify where data is captured from: SourceIdentify where data is distributed to: DestinationDescribe the overall processMap these out in a diagram using the correct symbolsLink them with data flows that are labelled
[email protected] or Level 0 Diagram
Book-store Management System0
ADMINSearch keywordNew Data/Modification
Detailed Data AcknowledgementSupplier Bill
CUSTOMER
Book Data Quantity
Customer Bill
SUPPLIER
Order
Supplier BillOrder DataUser ID, Password
[email protected] 1 DiagramConcept:Main steps:Identify and draw the processes that make up the Level 0 process: High level functionsAllocate descriptions to these processesLay out the sources/sinks and data flows from the Level 0 diagramDraw in any data stores used in the processLink the new processes and data stores with named data links: Data flows[Note: It should be balanced. (What is balanced DFD?)]
[email protected] 1 Diagram
1.0Manage Book Data
ADMIND1Book
Search Key Word New Data/Modifications
Detailed DataAcknowledgement
Data to be Stored/DeletedData to be Updated
Book Details
Similarly, represent other processes
2.0Manage Customer Data
3.0Manage Employee Data
4.0Manage Supplier Data
5.0Manage Sales
6.0Manage Purchase
7.0
LoginNote: For simplicity, details of all processes are not shown in this Level-1 diagram. Detailed diagrams of Process 5.0 and 6.0, Manage Sales and Manage Purchase, are given later.
[email protected]/Level n DiagramConcept:Main steps:Identify and draw the processes that make up the Level n-1 processAllocate descriptions to these processesLay out the all the data flows from the Level n-1 diagramDraw in any data stores used in the processLink the new processes and data stores with named data links: Data flows
[email protected] 2 Diagram: Mng Book Data
1.1Add BookD1Book
New Data
Data to be Stored
1.2ModifyBook
Modifications
Search Keywords
Acknowledgement
1.3RemoveBook
Search Keyword
AcknowledgementBook Details
1.4SearchBook
Search Keyword
Detailed DataBook DetailsBook DetailsData to be DeletedData to be Updated
[email protected] 3 Diagram: Add Book
1.1.1Read & Validate DataD1Book
New Data
Data to be Stored
1.1.2Insert Data
Valid Data
1.1Add Book
New DataD1Book
Data to be Stored
[email protected] 3 Diagram: Modify Book
1.2.2Read & Validate ModificationD1Book
Modifications
1.2.3Update Data & Acknow.
ValidModification
1.2.1SearchData
Search Keyword
Book DataData to be Updated
Book DetailsAcknowledgement
1.2ModifyBook
Modifications
Search Keywords
AcknowledgementD1Book
Book Details
Data to be Updated
[email protected] 3 Diagram: Remove Book
1.3.2Del Data & AcknowledgeD1Book
Acknowledgement
1.3.1SearchData
Search Keyword
Book DataData to be Deleted
Book Details
1.3RemoveBook
Search Keyword
AcknowledgementD1Book
Book Details
Data to be Deleted
[email protected] 1 Diagram: Manage SalesD5CBill
5.0Manage Sales
CUSTOMERD1Book
Book Data + Quantity
Customer Bill
Book DetailsD2CustomerCustomer DetailsStock Update Data
Customer Bill Data
[email protected] 2 Diagram: Manage Sales
5.1Receive Order
Book DataQuantityBook Data
5.2VerifyOrder
ReceivedOrderD1Book
5.3Prepare Bill
Verified OrderStock Update DataD2CustomerCustomer DetailsD5CBill
Customer Bill DataCustomer BillBook Data
[email protected] 3 Diagram: Prepare Bill
5.3.1Get Customer Details
CustomerData
Verified OrderCustomer BillDetailsD2CustomerCustomerDetailsD5CBill
Customer Bill Data
5.3.3Generate Bill
5.3.4StoreBillData
CustomerBill Data
5.3.5Print CustomerBillCustomer Bill
5.3.6Update StockCustomerBill DataD1Book
5.3.2Get Book DetailsBookDataBook DetailsStockUpdate Data
[email protected] 1 Diagram: Manage Purchase
6.0Manage Purchase
SUPPLIERD1Book
Order
Supplier Bill
Book DetailsD4SupplierSupplier DetailsStock Update Data
Supplier Bill Data
ADMIN
Supplier Bill
Order DataD7SBill
Supplier Order DataD6SOrder
[email protected] 2 Diagram: Manage Purchase
Ha, Ha, Ha
Try on Ur own!!!
20