data flow diagramming solutions to in-class exercises
TRANSCRIPT
Data Flow Diagramming
Solutions toIn-Class Exercises
In-Class Exercise: Precision Tools
Precision Tools sells a line of high-quality woodworking tools. When customers place orders on the company’s Web site, the system checks to see if the items are in stock, issues a status message to the customer, and generates a shipping order to the warehouse, which fills the order. When the order is shipped, the customer is billed. The system also produces various reports.
1. Draw a Context Diagram for the order system.2. Draw a Level-0 DFD for the order system.
Precision Tools Context Diagram
0
ORDERSYSTEM
CUSTOMER WAREHOUSE
ACCOUNTINGDEPARTMENT
ORDER
STATUSMESSAGE
SHIPPING ORDER
IN-STOCKREQUEST
INVENTORYREPORTS
INVOICE
PAYMENT
SHIPPING CONFIRMATION
Precision Tools Level-0 Diagram
ORDER
PAYMENT
STATUSMESSAGE
SHIPPINGORDER
IN-STOCK REQUEST
ACCOUNTINGDEPARTMENT
INVOICE
1
CHECKSTATUS
2
ISSUEMESSAGES
3
GENERATESHIPPING
ORDER
4
PRODUCEREPORTS
5
MANAGEACCOUNTS
RECEIVABLE
CUSTOMER
WAREHOUSE
D1 PENDINGORDERS
ACCOUNTINGDATA
D3 ACCOUNTSRECEIVABLE
DATA
ACCOUNTSRECEIVABLE DATA
INVENTORYREPORTS
STATUSDATA
ORDER DATA
ORDERDATA
ORDER DATA
SHIPPING CONFIRMATION
In-Class Exercise: Evergreen Nurseries• Sells plants and gardening supplies wholesale
• Sales representative takes customer order via phone– verifies customer’s credit– determines if items are in stock– notifies customer of product(s) availability– informs customer of special discounts and total cost
• Order is processed– customer account updated– product inventory adjusted– ordered items pulled from stock and packed– order shipped to customer with packing slip
• Billing– monthly billing statement sent to customer– customer has 30 days to remit payment
• Monthly reports produced for manager
OrderSystem
NurseryManager
WholesaleCustomer
Order
MonthlyStatement
Paymenton Account
ProductAvailability
MonthlyReports
Context Diagram for theEvergreen Nurseries Order System
CreditApproval / Disapproval
Order Discounts& Cost
Shipment Packing Slip
Order
ReceiveOrder
1.0
3.0
AdjustInventory
OrderD3
FilledOrder
4.0
GenerateReports
Product
Order Data
Order Discounts & Cost
D2
Customer Data
UpdateCustomerAccount
2.0
Availabilityof Item
Credit Approval /Disapproval
CreditCheck
CustomerCharge
UpdatedBalance
QuantityCheck
PlacedOrder
CustomerD1
Credit Status
SoldItem
Shipment Packing Slip
Product Availability
ProductData
MonthlyStatement
Paymenton Account
CurrentBalance
MonthlyReports
Level-0 DFD for theEvergreen Nurseries Order System
WholesaleCustomer
NurseryManager
2.1
WholesaleCustomer
Paymenton Account
CustomerCharge
CreateMonthly
Statement
2.2
MonthlyStatement
CustomerD1
UpdatedBalance
CurrentBalance
ApplyCustomer
Transaction
Level-1 DFD for the Evergreen NurseriesOrder System Update Customer Account Process
ReceiveOrder
1.0