neareastuniversity - near east university docsdocs.neu.edu.tr/library/6242656930.pdf ·...

44
NEAR EAST UNIVERSITY FA#ULTY OF E#ONOMI#S AND ADMINISTRATIVE S#IEN#ES DEPARTMENT OF #OMPUTER INFORMATION SYSTEMS 2008/2009 #IS 400 (GRADUATION PROJE#T) ELE#TRONI#S SHOP Submitted To : Department Of #omputer Information Systems Submitted By : Adil DEMİRYERİ Student Number : 20032903 Lefkosa, 2009

Upload: ngoduong

Post on 19-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

NEAR EAST UNIVERSITY

FACULTY OF ECONOMICS AND ADMINISTRATIVESCIENCES

DEPARTMENT OF COMPUTER INFORMATION SYSTEMS

2008/2009CIS 400

(GRADUATION PROJECT)

ELECTRONICS SHOP

Submitted To : Department Of Computer Information Systems

Submitted By : Adil DEMİRYERİ

Student Number : 20032903

Lefkosa,2009

CONTENTS

I.ACKNOWLEDGEMENTS .............................................1

II.ABSTRACT ............................................................... 2

III.INTRODUCTION ...................................................... 3

IV.DESIGN OF THE SYSTEM 5-Explanation :,

-Database Design 10

-Data Flow Diagram 12

V. USER MANUAL 19-User Guidless 19

-User Flow Charts 28

VI. REFERENCES 41

I. ACKNOWLEDGEMENTS

This project will be prepared by me, with advise of Asist.Prof.Dr. Yalçın

AKÇALI and Asist.Prof.Dr.Nadire Çavuş to be submitted to Department Of

Computer Information Systems.

Also I must thank to my best friends for helping me during my project process.

I have to thank my family for their support in my educational life in Near East

University.

1

II.ABSTRACT

Generally Electronics shop have a very big problem. This problem can be

II explained as "too much time spend in record of the transactions". Most

commonly feature of this project is easy transaction processing. I achieved this

purpose by providing minimum keyboard usage.

Another thing I have to focus; I plan to sell this software to the other companies

in the same sector. After the acceptance of this project the full version will be

sent again and will be marketed to all the electronics shops.

• 2

III.INTRODUCTION

The field of Information Technology is an exciting and ever-changing field. If

you are a life-long learner and want new challenges everyday, it's always a good

idea to think of the program you want to create in terms of its solution. In order

to do this, you must have a pretty solid understanding of the programming

language that you'll be working in and what you can do with it. Then you should

sort out what exactly you're trying to accomplish. What do you want your

program to do?

What problem is it solving? Next, divide the program into its vanous

components. Then decide how those components will fit together to execute the

program. Once all these have sorted out, you can write each part of the program

and put them together. This is the correct way to program.

I used Delphi Programming Language and the Microsoft Access Database to

prepare this project.

I used the Delphi language becouse I believe that languae of Delphi is more

useful and benefical and I'm good this language.

3

Processes

1. Customer ProcessesRegister customer subprocess (New customer registration)

Update customer subprocess (Existing customer update)

2. Sale ProcessProduct sale subprocess (Making order and confirming)

Cancel Sale subprocess (Cancelling the sales)

3. Stock ProcessStock query subprocess (Checking the available stocks)

Update stocks subprocess (Changing the stock information)

4. ReportsProcess

4.1 Sale reports subprocess (Total sales report)

4.2 Income reports subprocess (Balance of sales and payments)

4.3 Payments report subprocess (Payments list)

5. Supplier Process5.1 Register & Update Supplier subprocess (Registering and

changin supplier information)

5.2 Payments subprocess (Recording the payments to the

system)

4

V.DESIGN OF THE SYSTEM

EXPLANATION:

The minimum requirements of the system are as follows;

./ Intel Pentium IV processor 2.420

./ 533 Mhz

./ 512MB DDRRAM

./ 80 GB HDD

./ 14'' Monitor

./ Microsoft Windows XP

./ CD-ROM 52xmax

./ 256 MB Graphic Card

./ Modem

The recommended requirements of the system are as follows;

./ Intel Pentium IV processor 3.0

./ 800 Mhz

./ 1 GB DDR RAM

./ 120 GB HDD

./ 256 MB Graphic Card

5

./ 17" Monitor

./ Microsoft Windows XP Professional

./ CD-ROM 52xmax

./ Modem

In this project I used the Borland's Delphi as programming technology

because of the Delphi's easy Object-Oriented coding characteristic. And I

used Microsoft Access as database. Because Access's performance is very

good when used on a single computer.

1) PROJECT IDENTIFICATION AND SELECTION

THE AIM OF THE PROJECT :

The aim of the system is to record the daily processes easier and faster.

The system I have proposed will center on making the daily tasks of the

managers and the individual employees completely automated. This will

entail using modem hardware, software or external devices in order to give to

service the advantage and complete customer satisfaction.

THE PROJECT BOUNDRIES

1) System can work on a single PC.

6

. 2) System will not connect to internet so can not update itself

3) System can not communicate with the suppliers because of being

an offline system.

4) Microsoft Access doesn't support multiple users at the same time.

So the users of this system can not use the same tables.

RESOURCE LIMITS

1) System has to be able to scan bar codes for stock and purchase

processes. A bar code scanner is required but I don't have.

2) The project will have a special interface using flash extensions.

Program will start with a login screen and only the authorized user

may have the right to use program.

2) PROJECT INITIATION AND PLANNING

TECHNICAL FEASIBILITY

Necessary Hardwares :

- 1 computer for the manager (necessary)

7

- 1 computer for the repairer. (suggested)

- At least 1 printer (laser printer with coloured cartridge)

OPERATIONAL FEASIBILITY

The manager and the other employees who will use the system must have

at least low level computer using skill for being educated about the

system.

ECONOMICAL FEASIBILITY

System can replace an employee's work on like basic accounting, stock

controlling, statistical report preparing, etc.. So the owner can save at least

one employees' salary monthly. This system will cost for the owner about

1500 at total. This cost includes a computer, a bar code scanner, a printer

with coloured cartridge.

5) ANALYSIS

THE REQUIREMENT DETERMINATION

The requirements made by the owner as follows:

- To increase the speed of operations

- To provide easy and quick Access

- System security

(the users cannot be able to see each others password)

8

- Recording of the repairs daily

EXISTING SYSTEM'S CAPABILITIES

- The Electronics Shop existing system is based on manual.

- The Inventory is written on the ledger notebooks and the stock is being

calculated by using this notebook

- A customer card is held for Customer Relationship Management

NEW SYSTEM'S PROVIDENCES

- New system will help to the user easy and quick search of the

information about all the data.

- A worker can easily record repair informations.

- All the transactions by the customers will be stored in the database.

- Stocks and the sale reports (by graphic) will be prepared with one click

9

DATABASE TABLES

1. Customers :

All the customer knowledge will be stored here.

2. Orders:

The general order knowledge (like customer information and order date)

3. Order Details

The details of an order will be saved here (for example stock code, purchase

quantity, etc..)

4. Payments

The company's payments after purchase will be recorded to this table

5. Stocks

The products which company sells are recorded here part by part

6. Suppliers

The companies which we purchase our stocks are stored here

10

...:::::ı~:::, •...- ;;,ıo +-'o L(iıı:::,

r·"' - o •....I 11111 ...Q ::ıI 11111 l'IJ+.ı o t:.,-I I I ıı.ı ..a :;;;JıJQQ "'C

I I I rtJ oı2'ı1a ı:;:: +.ı='=' I ı:::;i .!!ıt. oE. IQ I E rı:::ı -a a •... .a·-~ ı::ı~

rdvı +.ı·- at c...Q l::J l'IJ .!!ıt.Of ..... ıı.ı Ilırtl ... -ıo :::, •... , ........ -§' -- ıı.ı Ilı • -C"'I .!!ıt. •••• •••• l'IJ ıJ'ı

vı. - ıı.ı tı +.ıx: N C: ...""C E °' E o ıı.ırı:::ı VI ıı.ı VI ·-.::; ..o •... o •... •... E ~ Q..8 ıı.ı . ı.ı (LI- - +.ı I um .._• .:: Lil "U -o >. n.""

.......oo ·c, ..c I]) :::, .._ •... l'IJ :::ı.-..., l'IJ o ~ıJJ ~ ifİ > lJ o o, V"IVI >-Llı

ıı.ıuu5 (O- ""t

C: nı .._ ... .rı:::ı i;ı •... .._ ... l'IJ ıJJ :..c ,ı:::ı rr:ı l'IJ ... (1J •... - -,...:ı rı:::ı l'C] - - -- - o :::ırı:::ı o :::ı - L. - ı:::,+.ı •...

E o (1J •... .... ~·.:::: r,. ~ (LI - m >. .::.t. '"O rı:::ıd~ ..c Cl.. o --ı].I ıJJ .... •... (1J cı, ~> rr:ı o o rı:::ı l1J~ ~

C: ~ (,/'I u, ~ V"I :::::ı ı..l'Ivı ...r-t V' ız C.:J~ ·=t: lf:rrl Jırıb lPP1 il ~ iN :,.. ..•,""O .~

~- ' I

CONTEXT DIAGRAM OF ELECTRONICS SHOP SYSTEM

-USER/MANAGER

' l Jl

I"'ro :@ "' ~"O ta3 "'

o~"'

a.~ ..,; Q)

a.

o.8 "O"' Q)Q) =- cıı.o ot1l C

= "'"' o>"'

.8"'cıı:ö..!!!(D>(ll

ccııE>,<tia.

ocıı"'"'s:~::ıa.

toa.~"'cıı(D

"'

ooiii2"'"Oa.

r

cııE8.5

t5cııs:o

ELECTRONICSSHOP

SYSTEM

.s+' "'~ "O

a3 .~~ a.

co oa.::ı

"'ro cıı "'"O "'ro Ü

co

"Os:

c::ı

o"O ~

cıı e a.

E a.>,"'a.• "'ro

"O

a3Eoiii::ıo

CUSTOMER SUPPLIER

12

f--~---eıep Ja!ıddns ~/

eıep ıorıpoıd :ı'e------eıep ıuawAedı--------><·

erUJ:::;o,o,:::ı

ı... ısn .ıapıoase4:ıJndt----+

er cnUJ Cl)

ıri ~ ~c..O:::ı erCl) o,

2UJI­C/)>­Cl)o,oICl)Cl)Üzoo::::I­Üuı....Iwu,o2~(!)~o....Iuı>UJ....Ia..oI-

J ıspıo

ııodsısıuaıuxed

•iı

ııodaısaıes-erUJ(!) •• ııodaıawe<(z<(~

.;- ısıı sxooıs aerUJCl):::ı

sıpoısıo Al

eıep.ıapıopaııa:ıu

_JOU!

qeııeııer----""

Cl) Cl)I- Cl)er uı

.,£00C..0ur erer o,

Cl) Cl)~ın-üuC') o o

ı- erCl) o,

qel!eııeıpa4

sspoıssıepdn ıes ıa:ıu

----JapJO•------------~

-----;,,:J!OIIU!------------..._

erUJ~~Cl):::ı()

e------eıep rauıoısno ..,_,

r--~---uo,ıewJO!U! sıusuıxed ~ IUJ....Ju::Cl)i­zUJ~~~----ısıı sıuawAedı--------"

---uoııewJO!U! pnpoJo

--uo,ıewJO!U! Ja!lddns

ıs!I soıes

UJ....J

--A.ı!nbu! :,poıs u::S!I :,pcllS Cl)~

()

_I

oI-Cl)

(/)

-"'o

*ıeuııoıınıpoısaıepdn - (/)

~ o

* (/)

i'i -"'.!!! Q) o

.9'<ii :ö (/)> ro 2ro '<ii

-"' > "'o ro 'OQ)

I

o.s: :::ı

II

UJ....Ju::Cl)UJ....J<(

---JapJo Jawoısn:ıpaıda:ı:ıe Cl)

uo

Cl)Cl) Cl)

. UJ wN ....J ()

<( ocn era,

c_ __ __.,BpaıMou~ Jawoısn:ı,------uı....Ju::Cl)erUJ~oti;:::ı(),L.------UO!)eWJO!U! rauıoısn

DETAILED DFD FOR SALE PROCESS

CUSTOMER USER/MANAGER

I

aı.9

u·ocıı>

"O·" w~o"O~ai

Io

"- C:aı

cıı~oo

2.1PRODUCT SALESUBPROCESS

2.2CANCEL SALESUBPROCESS

aıC)"Oaı~oC:

-"wE.8rn::::,(,)

İii~oL.aıE.8rn::::,o"O2o.§cıı

rn-"

1o.8rno

-" ~u 15~ .!ll

"cijaı >zs cıı.!ll -""<ii oaı> s:cıı o

updatestocks,-----

CUSTOMERS FILE SALES FILE STOCKS FILE

•• 15

DETAILED DFD FOR STOCK PROCESS

USER I MANAGER

I

"' ,n

I

7 3.1STOCK QUERYSUBPROCESS 3.2

STOCK QUERYSUBPROCESS

STOCKS FILE

16

DETAILED DFD FOR REPORTS PROCESS

USER/MANAGER~~~~~~~~~~ıpaymentsreport~~~~~~~~~~

t'.oCl.~(/)Q)ro(/)

t'.oCl.~Q)E8.s

LI4.1

SALEREPORTSPROCESS

4.2INCOME

REPORTSPROCESS

~(/)Q)ro(/)

SALES FILE

4.3PAYMENTREPORTSPROCESS

Ol"OQ)

~oC

-"'cQ) ..,E ~>,"' (/)Cl. c

Q)E>,"'Cl.

PAYMENTS FILE

17

DETAILED DFD FOR SUPPLIER PROCESS

Co~§.8_ç;.~o.o.:,(/)

Co~§.8.s"EQ)E>-"'o.

USER/MANAGER

SUPPLIER 1..ı purchaseorderlist----~

.l!!"'"O

.~o.o.:,(/)

.l!!"'"O

cQ)E>-"'o.

5.1REGISTER & UPDATE

SUPPLIERSUBPROCESS

~"O

t5:,"Oer

\5.2

PAYMENTSSUBPROCESS

C.Qciı§.8_ç;t5:,~o.

STOCKS FILE PAYMENTS FILE

18

••

SYSTEM BLOCK DIAGRAM

MAIN MENU

Sales Stocks CustomersPayıtents Reports

Iı ıMake Sale Cancel&Repair Sale&Repair

--'---Modify Delete

Confirm CancelI

Customers CustomersPayment ı PaymentModify DeleteStocks Stocks

Suppliers

Modify Delete

Suppliers Suppliers

Payment ReportsPurchaseStock

19

~~~~~~-----'--~~~~~~~~~~~~~~~---~~~~~

USER MANUAL

= Electronics Shop [Coded and Designed by Adil Demiryeri}

r,,ain r.ıenu Exit

Security Check

Usemame:

Password:

Clear I I OK

•• 20

= Electronics.Shop {Coded and Designed by Adil Demiryeri)

,~.,,;,~.,,-"-- -- Sales Stocks Customers Suppliers Payments Reports Exit

ı_ ------ - ---~~J

User Login Successful_

WelcomeAdil Derniryeri

Now you can use the menu on the left.

21

SALE

In this part same transactions were made about sales.= Electronics Shop (Coded and Designed by Adil Demiryeri)

Main Menu

Name

Sales Stocks Customers Suppliers Payments Reports Exit

B'·- ı l New CustonıerJ

ıı PlasmaTV__ ,_,

Owerı

____,,__,_ --- ,sa~L-t=1Pioneerır;;-~dire

ahmet

reyharı

serhat

adil

ayla

1 çavuş

özbek

gitmis

demiryeri

demiryeri

salla

Fridge Samsung

'lr Plasma Beka

c:o· LCD Samsung

•,ashing machine Beka

dolap Beko ~l---"

CitizenshipID : 7126371

Quantity CommonPrice Quantity Unit Price

1 ffi -Ö,oÖYTLII Add To List

7 2400 ,----~-- - - - - - - Customer~ -~ J

OrıierlD ProductlD UnitPrice Quantity Total Price

--- ~''' = : ....•.• :. fv---

~1000!. ı=r15 Fridge

2000 esin sollu~- ---'16 PlasmaTV

2650 2 5100 ayla salla

--·- _ f

-17 Owen

145Ci 3 4150 adil demiryeri

- -1B Plasma1V

3000 2 6000 ahrnet özbek

--- +

19 PlasmaTV t 1500 22 3'3000 ahmet özbek

- -20 40" LCD

1500 1 1500 reyhan gitmiş

+

21 40" LCD ı - 150 5 750 reyhan gitmiş--

22 washing machine I 100 ·1 100 ayla salla....; ,+ - -

23 Owen100 3 300 ahmet ö,zbek

22

CUSTOMERIn this part same transactions were made about customer.

:: Electronics Shop (Coded and Designed by Adil Demiryeri}

Main Menu Sales Stocks Customers Suppliers Payments

-- ------------ ----- -- ------- -----.--

Customer JD ?. Search Name

Harne Surname---------·-~ nadire çavu.ş

- ~----.ahmet ôzbek

reyhan gitmiş

serhat derniryerl

adil demrven

ayla salla

Surname----.---~·

çavuş

Address

City I lefkoşa ----_j

Phone

GSM8337102

7126371Citiz:enshi13 ID

24

Reports Exit

(

Main Menu Sales Stocks Customers Suppliers Payments Reports Exit

SUPPLIERIn this part same transactions were made about supplier.

= Electronics Shop {Coded and Designed by Adil Demiryeri}

Search - ~

Ahmet Hamdi

<feniz korkut

Supplier ID 2

Company Name '. Samsung~~~~~~~~---' CompanyUame

PioneerContact Name I deniz korkut

Contact Title~ Samsung

arçe adnan taniş

mustafaar,ç:e"''Address L- a rcezx mustafa

acadsas as-das

italya asca asda

Fax

12312

123123

scasdasd f{!Phonesunay vadet

[ill@[E

itli I D I D· I aı I o, I •==1 E:3ı r -- ct -ı Ga l B

25

PAYMENT

In this part same transactions were made about payment.

:: Electronics Shop (Coded and Designed by Adil Demiryeri)

Main Menu Sales Stocks Customers Suppliers Payments Reports Exit

Payment ID

PaymentType Cash

Description telefon bin

Amount 200,00 YTL

PaymentDate 13.01.2009 0'a I D I cı I a C=· I cı I

PaymentDate

13.01.2009

29.06.2007

30.11.2008

AmountPaymentlD PaymentTyı Description41 I C~h ,, t~efon bill

t;:•• ;,~-2 Cash Rent

3 Cre-d.it Car Electricitiy bill

200

1200

1000

26

REPORTS

In this part the report will be perp which is desired.

= Electronics Shop (Coded and Designed by Adil Demiryeri)

Main Menu Sales Stocks Customers Suppliers Payments Reports Exit- ----- ------ -----

Select dates

13.012009 C ~.01.2009 =-__oı

Sales

Istocks i

Payments I Customers lIncome Statement I I Suppliers I

-

•• 27

EXIT

This part was mad efor closing te program= Electronics Shop (Coded and Designed by Adil Oemiryeri)

Sales Customers PaymentsMain Menu Stocks Suppliers

Exit

--- -- --- -

Exit ]

28

I.lain Menu Sales Stocks Customers suppüers Payments Reports Exit

STOCK

In this part the report will be perp which is desired.

= Electronics Shop (Coded and Designed by Adil Demlryerf]

Product ID JSearch ProductNameProduct Name PlasmaTV

ProductNamel,;J! •• PlasmaıV---~-

UnitPrice UnitslnStock Reorderlevel

Supplier Samsung,.______

o

7

3

2

13

o13

38

o

ooo

Frıdge

3r Plasma

2400

1400

9SD

2000

Unit Price 2.400,00 YTL

7

Owen

Units in Stock

Reorder Level .!O. LCD 2200

washing machine 800Purchase

dolap 130

fırın D

23

FLOWCHARTS

PASSWORD ENTRY

start

Enterpassword

Nend

y

~-- A

29

MAIN MENU

3.customers4.Suppliers

5. Payments6.Reports

SALE

1

Select Customer,

Select Product

Enter Price& Qantity

y Click OK

yN

Click Close

Enter stock data

Do youwant

to register

y

Click OKN

Click Close

Do you Ywant

to register

N

I

••

Do youwant

to register

y

Enter customer data

Do youwant

to register

y

Click OKN

Click Close

N

I

II

Do youy

Enter Supplier data

Do youy

wantto register

NClick OK

Click Close

wantto register

N

Enter payments data

Do youwant

to register

y

N

Click Close

Click OK

Do youwant

to register

N

y

REPORTS1.Sale

2. Stocks3.customers4.Suppliers

5. Payments

I

II

SALE REPORTS

y

N

Click OK

STOCKS REPORTS

Doyou "' Ywant

To seeStocks

Click OKN

I

CUSTOMER REPORTS

y

Click OKN

IIII

SUPPLERS REPORTS

Oic:kOKN

ıI

STOCKS REPORTS

y

Click OK

N

STOCKS REPORTS

Doyuu"' ywant

NClick OK

~

III

REFERENCES

BOOKS

Borland Delphi 7 - Balkan E.(Seçkin Yayımcılık)

Borland Delphi 7 -Karagülle İ(Türkmen Kitabevi)

Mastering delphi 7 -Cantu M.

SGL SERVER 2005 -Taylor A.G (2005)

Structure Desing -Yourdon E.(Fundamentals of a Discipline of Computer Program andSystem Desing)

WEBSITES

www .borland.com

www .delpikursu.com

www .delphiturkiye.com

www .marcocantu.com

www .delphifans.com