You are on page 1of 12

DATA FLOW DIAGRAM

LEVEL 0 CONTEXT FLOW DIAGRAMS

CUST CUST
OMER OMER
DETAILS DETAILS REPORT

SUPPL
IER SUPPLIER
DETAILS EXPORT DETAILS
REPORT
INFORMATION
ORDER
DETAILS SYSTEM ORDER
DETAILS REPORT

` PURCHASE
DETAILS PURCHASE
DETAILS
REPORT

QUAL
ITY CHECKING
DETAILS QUALITY
CHECKING
DETAILS
REPORT

EXPORT
DETAILS
EXPORT
DETAILS
REPORT

PAYMENT
DETAILS
PAYMENT
DETAILS
REPORT
Design Notations
Data Flow Diagram
The Data Flow Diagram is a graphical representation which depicts the
information regarding the flow of control and the transformation of the data from the
input to the output. The DFD may be used to represent the system or software at any
level of abstraction. In fact DFD’s may be partitioned into levels. A Level 0 DFD,
also called a context model, represents the entire software element as a single bubble
with input and output arrows. DFD is a graphical tool used for requirement analysis.
DFD depicts information flow without explicit representation procedural logic. DFD
also depicts real time systems with the help of some extended notation.

Basic DFD Notations

- Source (or)
Designation

- Process

- Data Storage

- Data Flow
LEVEL 1

Supplier

Receive
order

Order details

Process
the
order

Purchase details
Purchas
e goods

Check
Quality checking
for
details
quality

Provide
Report Report
LEVEL -2

Customer

Custome
r details

Customer details

Place
order
Cust order details

Process
order

Export details
Export
Item

Provide
report

Report
ER DIAGRAM

E-R Model has some means of describing the physical database model, it is
basically useful in the design & communication of the logical database model. In this
model, objects of similar structure are collected into an entity set. The relationship
between entity sets is requested by a named E-R relationship. The database structure
employing the E-R model is usually shown pictorially using entity – relationship (E-
R) diagrams.

- Entity

- Relationship

- Attribute

- Link
ENTITY RELATIONSHIP DIAGRAM
Qty
Name
Cusna Addre
Price
mee ssnn
Mcode
Phno
Cusid
mad
Customer Purchase
e
N
1
1
N

gets u
req
est
1

Custorder
1

obta
Payment
in
1
1 Amoun
Orno
t
Chec
ks Payno date
qty
Date am
cash
1 oun
s chque
e t
n
d Export
Quality checking s

Damag Item
1
eqty

Wareqty Qty Amount


Roll qty

Design Custorder
TABLES
Table Name: Customer details
Primary key: Cust_code

FIELD NAME FIELD TYPE & SIZE DESCRIPTION

Cust_code Int Customer code


Custname Varchar(20) Customer Name
address Varchar(20) Customer Address
Phone Int Phone Number
EMailid Varchar(20) Customer Mail id
Table Name: CustOrder
Primary key: Ord_no
Foreign key: Cust_code
FIELD NAME FIELD TYPE& SIZE DESCRIPTION

OrdNo Varchar(20) Order No

Ord _dt DateTime Order date


Designing Varchar(20) Designing Type
No of pieces Int Ordered Quantity
Price Money 1 Unit Price
Totamt Money Total Amount
Deldt DateTime Delivery date
Cust_code Int Customer Code
Custname Varchar(20) Customer Name
Address Varchar(20) Customer Address
Phone Int Phone Number

Table Name: Purchase


Primary Key: Pur_No
FIELD NAME FIELD TYPE& SIZE DESCRIPTION

Pur_No Int Purchase Number


Item Varchar(20) Item
Variety Varchar(20) Variety
Qty Int Quantity
Price Money 1 Unit Price
Total Money Total Price
Comp Varchar(20) Company Name
Address Varchar(20) Address Of the Company

Table Name: Checking details


Primary key: Chk_no
Foreign Key: Item
FIELD NAME FIELD TYPE& SIZE DESCRIPTION

Chk_no Int Checking Number


Item Varchar(20) Item Type
Variety Varchar(20) Variety of material
BatchNo Int Batch no
RollQty Int Total Quantity
Damageqty Int Damaged Quantity
WareHouseQty Int Warehouse Quantity
Design Varchar(20) Design Type

Table Name: EXPORT


Primary key: Inv_no
Foreign key: Cust_code
FIELD NAME FIELD TYPE DESCRIPTION

Inv_no Int Invoice Number


Invdate DateTime Invoice Date
Cust_code Int Customer Code
Custname Varchar(20) Customer Name
Address Varchar(20) Customer address
Designing Varchar(20) Design Type
Noofpieces Int Total Pieces
Price Money 1 unit Price
Totamt Money Total Amount
Orddt DateTime Order date
Ordno Int Order No

Table Name: Payment details


Primary key: Payment no

Column Name Field Type & Size Description


Payment no Int Payment number
PDate DateTime Payment date
Payment mode Varchar(20) Mode of Payment
Cheque no Int Cheque No details
Ch date DateTime Cheque date
Cust_code Int Customer code
Amount Money Amount

You might also like