You are on page 1of 2

Data Flow Diagram Example 1. Draw a context level DFD for the following order system.

Precision Tools Precision Tools sells a line of high-quality woodworking tools. When customers lace orders on the com any!s We" site# the system checks to see if the items are in stock# issues a status message to the customer# and generates a shi ing order to the warehouse# which fills the order. When the order is shi ed# the customer is "illed. The system also roduces various re orts. First: &econd. $dentify the central rocess% in this case# it is the Order System. $dentify 'xternal 'ntities ('') and Data Flows (DF)%

Precision Tools sells a line of high-quality woodworking tools. When customers *''+ lace orders *DF+ on the com any!s We" site# the system checks to see if the items are in stock# issues a status message *DF+ to the customer# and generates a shipping order *DF+ to the warehouse *''+# which fills the order. When the order is shi ed# the customer is billed *DF+. The system also roduces various reports *DF+. Note% Precision Tools# or more s ecifically the ,rder we"site# is the system "eing modelled# not an 'xternal 'ntity. A sample context diagram might look like this%
IN-STOCK REQUEST WAREHOUSE PAYMENT
0

ORDER CUSTOMER

STATUS MESSAGE

SHIPPING ORDER ORDER SYSTEM

SHIPPING CONFIRMATION

INVOICE INVENTORY REPORTS

ACCOUNTING DEPARTMENT

-.

Draw a diagram . DFD for the order system.

&o# how do we determine what su"- rocesses there are/ Data flows can give us some clues% for exam le# a &tatus 0essage cannot materiali1e from nowhere# it needs to "e issued "y a rocess. &imilarly# 2e orts must "e roduced and ,rders generated. What Data &tores to include will need a little thought. A sample diagram 0 might look like this:
SHIPPING CONFIRMATION
1

ORDER CHECK STATUS

IN-STOCK REQUEST ORDER DATA WAREHOUSE

CUSTOMER

STATUS MESSAGE

STATUS DATA

D1

PENDING ORDERS

INVOICE

PAYMENT ISSUE MESSAGES


5

ORDER DATA

MANAGE ACCOUNTS RECEIVABLE

GENERATE SHIPPING ORDER

SHIPPING ORDER

ACCOUNTING DATA
D3

ACCOUNTS RECEIVABLE DATA ACCOUNTS RECEIVABLE DATA


4

ORDER DATA PRODUCE REPORTS ACCOUNTING DEPARTMENT

INVENTORY REPORTS

You might also like