se dfd inventory system 160412

Post on 16-Apr-2017

7.677 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Slide 1

bharat_mybooks@rediffmail.com1DFD: Simple Inventory System(A Book-store Management System)

by: Bharat V. ChawdaComputer Engineering Department,BBIT, VVNagar

1

bharat_mybooks@rediffmail.com2OverviewDescriptionHigh-level FunctionsContext DiagramLevel 1 DiagramDFDs for Manage Book DataDFDs for Manage SalesDFDs for Manage Purchase

bharat_mybooks@rediffmail.com3A 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.

bharat_mybooks@rediffmail.com4A 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.

bharat_mybooks@rediffmail.com5High-level FunctionsHigh-level Functions1. Manage Book Data2. Manage Customer Data3. Manage Employee Data4. Manage Supplier Data5. Manage Sales6. Manage Purchase7. Login (for admin)

bharat_mybooks@rediffmail.com6Context 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

bharat_mybooks@rediffmail.com7Context 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

bharat_mybooks@rediffmail.com8Level 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?)]

bharat_mybooks@rediffmail.com9Level 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.

bharat_mybooks@rediffmail.com10Decomposition/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

bharat_mybooks@rediffmail.com11Level 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

bharat_mybooks@rediffmail.com12Level 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

bharat_mybooks@rediffmail.com13Level 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

bharat_mybooks@rediffmail.com14Level 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

bharat_mybooks@rediffmail.com15Level 1 Diagram: Manage SalesD5CBill

5.0Manage Sales

CUSTOMERD1Book

Book Data + Quantity

Customer Bill

Book DetailsD2CustomerCustomer DetailsStock Update Data

Customer Bill Data

bharat_mybooks@rediffmail.com16Level 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

bharat_mybooks@rediffmail.com17Level 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

bharat_mybooks@rediffmail.com18Level 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

bharat_mybooks@rediffmail.com19Level 2 Diagram: Manage Purchase

Ha, Ha, Ha

Try on Ur own!!!

20

Thank-U!!!bharat_mybooks@rediffmail.com

top related