08 Description of Method Solution
-
Upload
1smartbutton -
Category
Documents
-
view
221 -
download
0
Transcript of 08 Description of Method Solution
-
8/11/2019 08 Description of Method Solution
1/18
Computer Project IGCSE 2013 Design
Description of Method Solution
This stage is the most important stage ofsystem development life cycle. Thisnew system is designed in such a way that the programmer can write the
programming codes for the new system, with the drawings of the data capture
and data output methods are given. This stage also includes the database
design. The hierarchy is also included in this stage. So overall, this stage is
meant for the programmer who will write the programs to realize a fully
functioning system.
Tasks which will be involved for the success of this stage are:
1. Table and its structure along with thevalidation rules.
2. Description of the validation rules.
3. Layout of input/output forms.
4.
Navigation hierarchy of input/output forms.5. Description of routine tasks.
6. Algorithm.
7. Flowcharts.
-
8/11/2019 08 Description of Method Solution
2/18
Kaish !ussain "a#$i 1%
Computer Project IGCSE 2013 Design
! Table and its structure along with validation rules:Table name: Stock Master
Purpose: to record the details of all the stock present in the warehouse of theshop.
&a'le structure(
Sl no Field name Type Widt Purpose
h
1 Part number Number ! "d#number of the spare part
2 Part name Te$t %! Name of the spare part
3 &ake Te$t % 'rand of the car
4 &odel Number ( )ear of manufacture
5 *uantity in stock Number ( *uantity in stock
6 +nit price Number +nit price of the spare part
+nit Te$t +nit of measurement
! -e#order level Te$t ! *ty at which new purchase order
is placed
" ot size Te$t /! *uantity for purchase order
1# 0endor name Te$t %! Name of the vendor
11 0endor address Te$t1Number ! 2ddress of the vendor
12 3ate of last purchase 3ate ! 3ate when the purchase order arrived
13 ocation Te$t ( Shelf where the part is placed
14 Status Te$t "t would be set to yes if purchased order is already
placed and no if the purchasedorder arrived.
-
8/11/2019 08 Description of Method Solution
3/18
Kaish !ussain "a#$i 1)
Computer Project IGCSE 2013 Design
2* "alidation rules:
Sl no Field name $alidation rules
1 Part number Should not be more than ! digits
2 Part name "t4s a must field
3 &ake 5rom the list of the make of all 6apanese cars
4 &odel ( year digit no between %!!!#%!/
5 *uantity in stock Should only be in digits
6 +nit price ##########
+nit 5rom the list 7dozen, piece, bo$8
! -e#order level Should be in the range of !#!!
" ot size 9nly digits
1# 0endor name ########
11 0endor address ########
12 3ate of last purchase Should not be today4s or future date
13 ocation #########
14 Status #########
-
8/11/2019 08 Description of Method Solution
4/18
Kaish !ussain "a#$i 1+
Computer Project IGCSE 2013 Design
#! Layout of input and output forms:
,orm 1- Main form
Japanese auto
spare part shop
Stoc. in$entor/ s/stem
Insert
Editupdate
PictureSearch
Delete
Eit
,orm 2 - Insertin
-
8/11/2019 08 Description of Method Solution
5/18
Kaish !ussain "a#$i 20
Computer Project IGCSE 2013 Design
,orm 3
,orm 4 - search
-
8/11/2019 08 Description of Method Solution
6/18
Kaish !ussain "a#$i 21
Computer Project IGCSE 2013 Design
,orm 5 Delete
Kawishs SoftwareSolutions
Stoc. Manaement S/stem
,or
Japanese Auto Spare PartShop
,orm 6 -7elcome
-
8/11/2019 08 Description of Method Solution
7/18
Clic. to continue
-
8/11/2019 08 Description of Method Solution
8/18
Kaish !ussain "a#$i 22
Computer Project IGCSE 2013 Design
$! Navigation of hierarchy input/output forms
7elcome ,orm
Main ,orm
Insert Editupdate Search Delete
-
8/11/2019 08 Description of Method Solution
9/18
Kaish !ussain "a#$i 23
Computer Project IGCSE 2013 Design
%! Description of routine tasks:
"n this new system the first this task is to assign each spare part aspecial identification number called the part number;. 2 new number would
be generated the purchase of each new spare part, these number would be
generated in series to avoid inconsistency. The part number would be printed
and pasted on the bo$ of each spare part before it is placed in the shelf of the
warehouse.
1) ach and every year a new model of each car is launched, so new
spare parts are needed which did not e$ist in the shop before, in order
to do that a purchase order is placed, upon the arrival of the stock thepart numbers are generated along with the location and are then printed
and stuck o the bo$ of the spare part, then they are entered in the Stock
Master File 7through form no#%8. This process is known asInsert
Process.
4)
-
8/11/2019 08 Description of Method Solution
10/18
Kaish !ussain "a#$i 24
Computer Project IGCSE 2013 Design
6) Algorithms&
These tasks are further elaborated with algorithms and flow charts for the ease of the
programmer, the programmer can have a better and more logical perception of these tasks.
1. &o insert a ne item(
1.New "tems4 Purchase order arrives.
2. "ts Part Name1&ake1&odel is searched in the Stock Table.
3. "f it is there T?>N4. -eport >rror
5. >lse
6. @enerate the "tem Aode7. >nter the details in the Stock &aster
8. Print the sticker
9.Endif
10. "f anymore "tem in the "nvoice T?>N @9T9 step number %
11. ?and over the stock and the stickers to the clerk.
12. ST9P.
2. &o update the Stoc. Master at purchase(
1. Purchase order arrives
2. 5irst Part Name1 &ake1 &odel is searched in the Stock Table3. "f it is available TE!
4. Print the sticker5. 2dd =uantity purchased to =uantity in stock
".Else7. -eport the error
8.Endif
9. "f anymore item in the purchase invoice T?>N @9T9 step number %.
10. ST9P
-
8/11/2019 08 Description of Method Solution
11/18
Kaish !ussain "a#$i 25
Computer Project IGCSE 2013 Design
3. &o 8pdate the Stoc. Master upon sale(
1. Austomer asks for a part
2. Part name1 &ake1 &odel is searched in the stock table
3.If it is availableTE!4. "ts location is given to counter boy
5. ?e fetches the part
6. If customer wishes to take itTE!
7. 2n invoice is raised
8. Stock is updated by subtracting the =uantitysold the =uantity in stock
9. Else
10. Part is sent back
11. Endif
12.Else
13. Austomer is informed about non#availability
14.Endif.ST9P
4. &o delete an item
1. @et the id of the part to be deleted.
2. Search it in the Stock &aster3. "f found 78 T?>N
4. Aonfirm the deletion
5. "f confirmed 78 T?>N
6. 3elete the record7. >ndif
8. >lse
9. -eport >rror
10. >ndif
.ST9P
5. &o search an item(
1. @et the id of the part to be searched 7name, make, model, etc8
2. Select the appropriate field in the Stock &aster 7by clicking inthat bo$ of the search form8
3. "f found 78 T?>N
4. 5urnish the details
5. >lse6. -eport the Non#2vailability
7. >ndif
8. ST9P
-
8/11/2019 08 Description of Method Solution
12/18
Kaish !ussain "a#$i 26
Computer Project IGCSE 2013 Design
7) 'rogram Flow charts
9. To insert an item:
Insert
Purchase order arrives
Open stock master
Search part name/ make model
Found?
"
9
Generate part no
Enter details in
stock master
Paste the sticker
9More
items:
Close stock master
-
8/11/2019 08 Description of Method Solution
13/18
Stop
Kaish !ussain "a#$i 2%
Computer Project IGCSE 2013 Design
35. To update stock master at sales
start
Get the part
Open stock master
Search partname/make/ model
Found? R" e
9
Item info is displayed
Sold
Stock master is updated
25 oreitems:
Close master
-
8/11/2019 08 Description of Method Solution
14/18
Stop
Kaish !ussain "a#$i 2)
Computer Project IGCSE 2013 Design
61. stock update stock master at purchase
Start
Purchase order arrives
Open stock master
Search part name/make/model
Found?
9
Print the sticker
!dd "ty purchased to "ty in stock
9
ore items?
"
-
8/11/2019 08 Description of Method Solution
15/18
Stop
Kaish !ussain "a#$i 2+
Computer Project IGCSE 2013 Design
IV. To delete an item
Start
Search the I#
Found?
9
Confirm
9
#elete record
Start
"
"
-
8/11/2019 08 Description of Method Solution
16/18
-
8/11/2019 08 Description of Method Solution
17/18
Kaish !ussain "a#$i 30
Computer Project IGCSE 2013 Design
22) To search an item
Start
Get searchin$ strin$
Select field to search
"
Found?
9
Inform customer
Furnish details
Stop
-
8/11/2019 08 Description of Method Solution
18/18
Kaish !ussain "a#$i 31