This document describes creating a data flow diagram (DFD) for a garment management system. It outlines the key processes which include user registration, order dealing, and quality checking. The DFD is broken down from a high-level context diagram (Level-0) to a more detailed level-1 diagram. The level-1 diagram shows 3 sub-processes that represent the major elements of receiving orders, distributing tasks to employees, and quality control checks.
2. Scenario
Consider a Garment system where foreign buyer gives some order to the
garment. The garment management receives the order and distributes the
work to its employees. After the completing the task employees send the
task to the QC department to check. QC checks the work quality and send
it back to employee for correction if there is any defect found. Employee
resolve the defects and re-send the corrected work to the QC again. QC
checks the corrected work and submit the final report to the management
(if the work pass the QC test). Management then deliver the shipment the
buyer (along with the QC report). All user need to log in the system to use
it.
Now prepare a complete Logical design for the system.
3. 3
DFD Level-0 (Context Diagram)
Garment
Management Process
DFD Level-0
Foreign Buyer
Employee QC
Garment
Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Employee Registration Information
Employee Registration Confirmation
Submit finished task to QC
Submit corrected work to QC (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
Receive Order
Deliver Shipment
Submit defects (if any)
QC Registration Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: Context Diagram of Garments Management System
Receive final QC clearance
By: A.J.M. Imtiajur Rahman
Receive Distributed task
Distribute task to the employee
4. 4
How process can be broken down to next level
Rules:
• Focus on the major incidents of the scenario
• Stakeholders relevance with the incidents
• Every sub-process along with its dataflow can create independent system.
Example:
Garment
Management Process
DFD Level-0
User Registration
Process
Order Dealing
Process
Quality Checking
Process
DFD 1.1
DFD 1.2
DFD 1.3
Level-1DFD
Figure-1: Process breakdown from upper level to lower level
By: A.J.M. Imtiajur Rahman
5. 5
DFD Level-1
DFD Level-1
Foreign Buyer
Employee
QC
Garment
Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Submit finished task to QC
Submit corrected QC work (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
DeliverShipment
Submit defects (if any)
QC Registration
Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: DFD Level-1 of Garments Management System
User Registration
Process
Order Dealing
Process
Quality Checking
Process
DFD 1.1
DFD 1.2
DFD 1.3
User List
Prod. List
ReceiveOrder
Emp. Registration Information
Emp. Registration
Confirmation
By: A.J.M. Imtiajur Rahman
Receive Final QC Report
Management distribute task
Emp. Receive distributed task