mis project full

Embed Size (px)

Citation preview

  • 8/21/2019 mis project full

    1/93

    A

    PROJECT REPORT

    ON

    FAST-FOOD MANAGEMENT SYSTEM

    Submitted In Partial Fulfillment of the Requirement

    Of Bachelor of Business Administration

    BATCH-(2010-2013)

    PROJECT SUPERVISOR: SUBMITTED BY:

    MISS.NEHA SABHARWA MOHD SHOUAIB

    E.N! " 1#312$01%10

    (Delhi Institute Of Rural Development, an!li Poona"

  • 8/21/2019 mis project full

    2/93

    (Affiliated to #uru #obind Sin!h Indraprastha $niversit%"

    DECARATION

    I hereb% declare that this Pro&ect Report titled 'FAST-FOOD

    MANAGEMENT SYSTEM& submitted b% me to Delhi Institute Of Rural

    Development, A#I POOA is a Bonafide )or* underta*en b% me and has not

    been submitted to an% other $niversit% or Institution for the a)ard of an% de!ree

    diploma + certificate or published an% time before

    _______________________

    MOHD SHOUAIB1#312$01%10Date: / / 2012

    _______________________

    MISS.NEHA SABHARWA

    P'!*+ G,Date: / / 2012

  • 8/21/2019 mis project full

    3/93

    Si!nature of the Student

    AC/NOWEDGEMENT

    First of all I )ill than* to our director sir 'Dr. NARENDER MOHAN&, )ho !ive

    me the valuable su!!estion for m% minor pro&ect

    -he success of this final report is the outcome of #uidance and .aluable

    su!!estions provided b% the all concerned )ithout )hich the report could not fide

    on the ri!ht bac*

    I e/press m% sense of deep !ratitude to Facult% 0oordinator MISS.NEHA

    SABHARWA1 for inclusions and timel% su!!estions in the preparation of this

    final report

    Finall% ,I )ill be failin! in m% dut%, if I do not than* m% parents, brother, friends

    and )ell )ishers for their enthusiastic support and )ho have directl% or indirectl%

    helped in some )a% or the other in ma*in! this final report a success

  • 8/21/2019 mis project full

    4/93

    ame2 3O4D S4OAIB

    BBA (!"

    567589:5;5:

    CONTENTS

    S.N! CONTENTS

    5 Declaration

    8 Ac*no)led!ement

    7 Introduction

    Requirement anal%sis

    Problem Definition

    Scope and Ob&ectives of the pro&ect

    9 S%stem 3ethodolo!% ( -estin!

  • 8/21/2019 mis project full

    5/93

    ? 0onclusion

    5: imitations

    55 Biblio!raph%

    OB@0-I.

    Ob&ective of this soft)are is to computerie an% FastCfood Restaurant, so

    that all the transactions become fast and there should not be an% error in

    transactions li*e calculation mista*e It replaces all the paper )or* It

    *eeps records of all the bills also, !iven to the customers, so that user

    could update his dail% accounts

  • 8/21/2019 mis project full

    6/93

    I-ROD$0-IO

    -his pro&ect is entitled PIEEA 4$- )hich is ver% famous spot for people of

    all a!e !roup Due to increasin! popularit% of Pia 4ut, it needs to !et all the

    )or* and procedures automated )hich eventuall% decreases the burden alon! )ith)hole lot of improvement in )or*in! manner 4ence, in order to accomplish this

    tas*, the soft)are is prepared to perform bul* amount data and sortin! procedures

    As the time ta*en in dealin! )ith the problem is quite lar!e, so, )e need to prepare

    soft)are to solve these problems

    -he soft)are for department of pia hut is developed in .isual Basic becauseof the fact that it is one of the leadin! pro!rammin! lan!ua!e as )ell as more

    po)erful, eas% to understand and userCfriendl% .isual Basics helps to desi!n

    database files as per requirement and specific format It also helps us to enter and

    mana!e data in database files

    -hus, )e use .B and A00SS to prepare our soft)are In this, a perfectreport is bein! prepared for those )ho have to pa% bills, for collection of orders for

    various items, to *eep trac* of customers arrival G departure alon! )ith their

    orders and to emplo%ees been )or*in! inChouse 0ollectivel%, )e need to maintain

    the records of sales per da%

  • 8/21/2019 mis project full

    7/93

    As )e *no) maintainin! records is quite tedious )or* and has to be madeand updated re!ularl% So to ensure the accurac%, feasibilit%, time consumption and

    maintenance

  • 8/21/2019 mis project full

    8/93

    V,4 B*

    .isual Basic )as derived from BASIC, and is an eventCdriven pro!rammin!

    lan!ua!e Pro!rammin! in .isual Basic is done visuall%, )hich means that as )e

    desi!n, )e )ill *no) ho) our application )ill loo* on e/ecution

  • 8/21/2019 mis project full

    9/93

    Active, #eat&res+ .isual Basic allo)s us to mi!rate applications to an

    ActiveH document, )hich enables the application to install and run from a

    )eb bro)ser

    V,4 B* D64!789+ E96'!989+

    It consists of the follo)in! items2

    M9, '2 -he menu bar is displa%ed directl% belo) the title bar and

    includes a list of options ach option has a dropCdo)n list that is related to

    the option chosen from the menu bar

    F!'82 A form is the main buildin! bloc* in a .isual Basic application $ser

    interacts )ith the controls on the home to obtain the desired result In the

    desi!n mode, )e can see a !rid of dots on the form -he !rid helps to line up

    the controls at the time of desi!n -he dots disappear at runtime PRO@0-

  • 8/21/2019 mis project full

    10/93

    T= 7'!7'+ !5 !94> !9 !*+ + +8.

    MS ACCESS

    3icrosoft access calls an%thin! that can have a name and ob&ect

  • 8/21/2019 mis project full

    11/93

    ?UERY

    Juer% in an ob&ect that provides a custom vie) of data from one or more table In

    Access, %ou can use the !raphical quer% b% e/ample (JB" facilit% or %ou can

    )rite SJ statements to create %our queries Kou can define queries to select,

    update, insert, or delete data Kou can also define queries that create ne) tables

    from data in one or more e/istin! table

    FORM

    An ob&ect desi!ned primaril% for data input or displa% or for control of application

    e/ecution Kou use forms to customie the presentation of data that %our

    application e/tracts for queries or tables Kou can also print forms Kou can desi!n

    a form to run a macro or a .isual Basic procedure in response to an% of a number

    of eventsC for e!, to run a procedure )hen the of data chan!es

    REPORT

    An ob&ect desi!ned for formattin!, calculatin!, printin! and summariin! selecteddata Kou can vie) a report on %our screen before %ou print it

  • 8/21/2019 mis project full

    12/93

    DATA ACCESS PAGE

    An ob&ect that includes an 4-3 file and supportin! files to provide custom

    access to %our data from 3icrosoft Internet /plorer Kou can publish these files

    on %our compan% internet to allo) other users on %our net)or* )ho also have

    office 8::: and internet e/plorer version = or later to vie), search, and edit %our

    data

    MACRO

    3acro is an ob&ect that is a structured definition of one or more action that %ou

    )ant Access to perform in response to a defined event For e!, %ou mi!ht desi!n a

    macro that opens a second form in response to the selection of an item on a main

    form Kou mi!ht have another macro that validate the content of a field )henever

    the value in the field chan!es Kou can include simple conditions in macros to

    specif% )hen one or more actions in the macro should be performed or s*ipped

    Kou can use macros to open and e/ecute queries, to open tables, or to print or vie)

    reports Kou can also run other macros or .isual Basic procedures from )ithin amacro

    MODUE

    it is an ob&ect containin! custom procedures that %ou code usin! .isual Basic

    3odules provide a discrete flo) of actions and allo) %ou to trap errors somethin!

    that %ou cant do )ith macros 3odules can be standCalone ob&ects containin!

    functions that can be called from an%)here in %our application, or the% can bedirectl% associated )ith a form or a report to respond to events on the associated

    form or report -able stores the data that %ou can e/tract )ith queries and displa%

    in reports and update in forms or data access pa!es otice that forms, reports, and

    data access pa!es can use data either directl% from tables or a filtered 'vie)1 of the

  • 8/21/2019 mis project full

    13/93

    data created b% usin! queries Access has also builtCin functions that allo) %ou to

    summarie and format %our data in queries

    EVENT

    vent is an% chan!e in state of an Access ob&ect

    For e!, %ou can )rite macros or .isual Basic procedures to respond to

    Openin! a form

    0losin! a form

    nterin! a ne) ro) on a form

    0han!in! data in the current record

    CONTRO

    0ontrol is an ob&ect on a form or report that contains data Kou can even use desi!n

    a macro or a .isual Basic procedure that responds to the user pressin! individual

    *e%s on the *e%board )hen enterin! data

  • 8/21/2019 mis project full

    14/93

  • 8/21/2019 mis project full

    15/93

    METHODOOGY

    -he methodolo!% used to develop the Pia 4ut or proposed s%stem is )aterfall

    model

  • 8/21/2019 mis project full

    16/93

    SAIENT FEATURES OF THE WATERFA MODE

    It bou!ht a definite to the process of the soft)are development, )hich )as a

    ma&or improvement over the previous code and fi/ culture

    ach phase is district and is mandator% for ever% pro&ect irrespective of

    pro&ect sie

    ver% phase has a )ellMdefined entr% and e/it criterion

    ver% phase has a provision for verification, validation and correction of

    errors and inconsistencies

    STRENGHTS OF WATERFA MODE

    -he )aterfall model redeems the soft)are development process of the code and

    fi/es problems Its ma&or stren!th lies in the fact that it emphasies the fact that the

    soft)are development process must be planned, disciplined, and )ell mana!ed

    It also ensures throu!h se!re!ation that implementation of a product

    happens onl% after all its development requirements have been met )ith Stren!th

    of )aterfall model is that it allo)s for communication bet)een customer and

    developer and specifies )hat )ill be delivered, )hen and at )hat cost

  • 8/21/2019 mis project full

    17/93

  • 8/21/2019 mis project full

    18/93

    RE?UIREMENT ANAYSIS

    R@,'89+ 94> in s%stems en!ineerin! and soft)are en!ineerin!,

    encompasses those tas*s that !o into determinin! the needs or conditions to meet

    for a ne) or altered product, ta*in! account of the possibl% conflictin!

    requirementsof the various sta*eholders, such as beneficiaries or users

    S>+8+* '@,'89+ 94> is also *no)n as requirements engineering.

    Requirements must be actionable, measurable, testable, related to identified

    business needs or opportunities, and defined to a level of detail sufficient for

    s%stem desi!n

    T=' ' +=' +>7 !5 '@,'89+: -

    5" U99!

  • 8/21/2019 mis project full

    19/93

    PROBEMS OCCURING IN THE MANUA DATABASE OF

    PIA HUT

    3anual s%stem suffers man% problems $sers found themselves in the

    perple/ed state )hile searchin! an% detail

    -he follo)in! limitations are encountered are2

    It becomes ver% difficult to maintain records related to stoc*

    Neepin! trac* of all the customers arrivin! and emplo%ees bein! )or*in!

    becomes reall% difficult

    ot of time is )asted )hile surfin! a particular record

    Addin! or removin! the record of particular emplo%ee becomes tedious

    It does not ensures securit% and accurac% to !reat e/tent

  • 8/21/2019 mis project full

    20/93

    SYSTEM RE?UIREMENTS

    Hard*are Re'&irement

    Pentium Processor or above

    0olor 3onitor

    Ne%board

    > #B 4ard Dis* or above

    78 3B RA3 or above

    599 3B Flopp% Dis* Drive

    So#t*are Re'&irement

    3icrosoft

  • 8/21/2019 mis project full

    21/93

    ANAYSIS

    Anal%sis is the first technical step in the process of an% soft)are development A

    careful anal%sis can help the soft)are desi!ner and pro!rammer to have a better

    insi!ht of the product to be created A careless anal%sis can result into incomplete

    or d%sfunctional soft)are -o avoid such a situation it is ver% important to properl%

    identif% the required soft)ares features and create an effective desi!n for it

    It is also important to anal%e and find out )hether the application bein! developed

    suits the current hard)are and soft)are platform available or not -he applicationshould be developed )ell )ithin time and should meet the specified requirements

    If the application is bein! developed for commercial purposes then a costCbenefit

    anal%sis becomes must to find out the real value of the soft)are product

    An Ob&ectCOriented approach )ill be follo)ed to develop the application because

    the data or information to be displa%ed and the user )ho )ill vie) that information

    are more important here than the process flo) of the s%stem -his methodolo!%

    )ill also ma*e the development process more efficient, effective and eas% -he

    application thus developed )ill be more user friendl% and can be easil% e/tended ormodified )henever required

  • 8/21/2019 mis project full

    22/93

    TECHNI?UES USED FOR ANAYSIS

    O9-S+ O'6+!9:

    -his is one of the main tools for !atherin! information It is a process of

    reco!niin! and noticin! people, ob&ects and occurrences to obtain information

    -he ma&or ob&ective of this tools is to !et as close as possible to the real s%stem

    bein! studies For this reason it is e/tensivel% used b% the s%stem anal%st durin!

    the development of a particular s%stem

    G,49 5!' !9+ !'6+!9:-

  • 8/21/2019 mis project full

    23/93

    O+',6 8+=!: An obtrusive observation ta*es place )hen the

    respondent *no)s he+she is bein! observed

    D'*+ 8+=!:A direct observation ta*es place )hen the anal%st actuall%

    observes the sub&ect or the s%stem at )or*

    S+',*+,' 9 U9+',*+,' 8+=!: In case of structured method, the

    observer loo*s for and records a specific action

  • 8/21/2019 mis project full

    24/93

    FEASIBIITY STUDY

    Feasibilit% Stud% is a step to)ards identification of the candidate s%stem as a

    feasible product First the studies often preCsuppose that )hen the feasibilit%

    document is bein! prepared, the anal%st is in a position to evaluate solutions

    Second, most studies tend to overloo* the confusion inherent in s%stem

    development L the constraints and the assumed attitudes

    If the feasibilit% stud% is to serve as a decision document, it must ans)er three

    questions2

    Is there a ne) and better )a% to do a &ob that )ill benefit the user

  • 8/21/2019 mis project full

    25/93

    E*!9!8* F4+>:

    conomic anal%sis is the most frequentl% used method for evaluatin! the

    effectiveness of the candidate s%stem -he pro&ect )as considered to be

    economicall% feasible becauseC

    -he cost involved in developin! the candidate s%stem )ell under the bud!et

    of the or!aniation

    -he 0ostCBenefit Anal%sis tells us that the value of the benefits offered b%

    the proposed s%stem is much hi!her than the cost

    T*=9*4 F4+>:

    -echnical feasibilit% centers around the e/istin! computer s%stem (4ard)are and

    Soft)are etc" and to )hat e/tend it support the proposed addition For e/ample, if

    the current computer is operatin! at >: percent capacit% C an arbitrar% ceilin! C then

    runnin! another application could overload the s%stem or require additional4ard)are -his involves financial considerations to accommodate technical

    enhancements So this proposed s%stem is technicall% feasible because all the

    necessar% hard)are and soft)are required for developin! and installin! the s%stem

    is available )ith the or!aniation

    O7'+!94 F4+>: -

    -his Application is ver% eas% to operate as it is made user friendl% )ith the help ofver% effective #$I tools 3ain consideration is users eas% access to all the

    functionalit% of the Application Another main consideration is here is that )hether

    user or!aniation is trained enou!h to use the ne)er application

  • 8/21/2019 mis project full

    26/93

    B=6!'4 F4+>:

    People are inherentl% resistant to chan!e, and computers have been *no)n tofacilitate chan!e An estimate should be made of ho) stron! a reaction the user

    staff is li*el% to have to)ard the development of a computeried s%stem -herefore

    it is understandable that the introduction of a candidate s%stem requires special

    efforts to educate and train the staff -he soft)are that is bein! developed is user

    friendl% and eas% to learn In this )a%, the developed soft)are is trul% efficient and

    can )or* on an% circumstances, tradition, locales

    Behavioral stud% strives on ensurin! that the equilibrium of the or!aniation and

    status quo in the or!aniation neither are nor disturbed and chan!es are readil%

    accepted b% the users

  • 8/21/2019 mis project full

    27/93

  • 8/21/2019 mis project full

    28/93

    E-R '8

    orders

    pa

    ys

    buys

    Item

    se

    lls

    Custom

    er

    Cust!na

    me

    Cust!ad

    d

    Cust!no

    Cust!id

    "mploy

    ee

    "mp!na

    me

    "mp!co

    de

    designat

    ion

    salary

    "mp!do

    #

    "mp!ad

    d

    quantit

    y

    Item!na

    me

    Item!pri

    ce

    $ill

    %ay!mo

    de

    $ill!no

    date

    time

    &dd!ta

    '

    a'!a

    mt

  • 8/21/2019 mis project full

    29/93

    D+ F4!< D'8

    1+ 64 DFD

    PIZZA HUT

    MANAGEM

    ENT

    SYSTEM

    Custome

    r

    ITEM MANAGER

    Report

    s

    DataBase

    %urc(ase items)

    Request *or Item menu

    %rint bills details)

    customer bills) item

    details) item menu)

    etc+

    Recei,e item

    Details

    &dd)modi*y)d

    elete

    items)calculates

    customerbills

    Recei,ebills

    reports

    Data-torage

    Data&ccess

  • 8/21/2019 mis project full

    30/93

    29 64 DFD

    .

    Reque

    st item

    menu

    2

    Customer

    Dat

    a

    Bas

    e

    Data

    -torage

    Data&ccess

    %rint

    PIZZA HUT

    AUTOMATI

    ON

    SYSTEM

    %urc(as

    e Item

    1

    Recei,

    e $ill

    Item

    ana

    ger

    Request

    %rint

    odi*y

    Item

    Delete

    Item

    Report

    s

    Calculate bill

    &dd Item

    3

  • 8/21/2019 mis project full

    31/93

    3' 64 DFD

    1 $ill

    Customer

    %rint

    Item

    anager

    Request

    %rint

    Reque

    st itemmenu

    2

    %urc(as

    e Item

    1

    Recei,

    e $ill

    odi*y

    Item

    Delete

    Item

    Report

    s

    .

    Calculate bill

    &dd Item

    3

    2 Item

    1 $ill

    2 Item

    1 $ill

    2 Item

    %rint

    %rint

    $illtrans

    $illtrans

    $illtrans

  • 8/21/2019 mis project full

    32/93

    DATA STRUCTURE

    Four tables have been used in this pro&ect2

    1. ITEM: /7 '*!' !5 5!! +8.

    Item0ode 2 -his is unique field and !enerated

    automaticall% b% the pro!ram

    ame 2 -his is name of the item

    Price 2 -his is price of the item

    2. BI: /7 '*!' !5 44.

    Item0ode 2 0ode no of the item

    Billo 2 Bill no of the bill, automaticall% !enerated b%

    the pro!ram

    DateofBill 2 Date of the Bill

    Price 2 Price per unit

    Juantit% 2 Juantit% purchased

    0ustame (0haracter" 2 ame of the 0ustomer

    Amount 2 -otal Bill amount

  • 8/21/2019 mis project full

    33/93

    3. BITRANS: /7 '*!' !5 96,4 +8 9 44.

    Item0ode 2 0ode no of the item

    Billo 2 Bill no of the bill, automaticall%

    !enerated b% the pro!ram

    Price 2 Price per unit

    Juantit% 2 Juantit% purchased

    Amount 2 -otal amount

    $. PASS: /7 '*!' !5 7

  • 8/21/2019 mis project full

    34/93

    WOR/ING OF THE PROJECT

  • 8/21/2019 mis project full

    35/93

    $ser can add ne) food items, modif% or delete and e/istin! food items from the

    tableC I-3, b% selectin! forms ADDI-3 and DI-I-3

    $ser can vie) list of food items b% selectin! option -ODAKS 3$ from the

    3AI form

    $ser can purchase items b% selectin! form SAS from the 3AI form, bill is

    calculated and printed automaticall% after selectin! items to purchase and storedin the tableC BI

    $ser can vie) list of bills at the end of the da% b% selectin! IS- OF BIS report

    the RPOR-S form

  • 8/21/2019 mis project full

    36/93

    STRUCTURE OF THE PROGRAM

    FORMS IN THE PROJECT:

    frme)Item 2 Adds ne) food item in the item table

    frm3odif%Item 2 3odif% the item records

    frmDelete 2 Delete the item records frmSales 2 Sale food items and add calculate bill

    frm-oda% 2 Displa% list of food items

    frmPrintBill 2 Prints the customers bill

    frm3ain 2 As* user to input pass)ord

    frm3enu 2 Displa% main menu

    frmFile3aintenance 2 Displa% edit menu (add, modif%, delete items"

    frmReports 2 Displa% reports menu

    frmDate

  • 8/21/2019 mis project full

    37/93

    Date

  • 8/21/2019 mis project full

    38/93

    OUTPUT REPORT GENERATION

    1+

  • 8/21/2019 mis project full

    39/93

    VAIDATION CHEC/S

    5 Item code is chec*ed )hether e/ist in the file or not )henever user input,

    )hile purchase, delete or modif%

    8 .alidation for quantit% is chec*ed, customer should not purchase above the

    available quantit%

  • 8/21/2019 mis project full

    40/93

  • 8/21/2019 mis project full

    41/93

    SCREENS AYOUT CODING

    M!,41

    Public con As e) ADODB0onnection

    1) F!'8 N8- 5'8M9

  • 8/21/2019 mis project full

    42/93

    C!9:-

    Private Sub cmdO*0lic*("

    Dim rsPass As e) ADODBRecordset

    rsPassOpen Qselect Pass)ord from PassQ, con, adOpenD%namic

    If ot rsPassOF -hen

    If (t/tPass)ord-e/t QQ And Isull(rsPass(QPass)ordQ""" Or

    (rsPass(QPass)ordQ" t/tPass)ord-e/t" -hen

    $nload 3e

    frm3enuSho) vb3odal

    lse

    3s!Bo/ QInvalid Pass)ordQ

    nd If

    lse

    $nload 3e

    frm3enuSho) vb3odal

    nd If

    rsPass0lose

    Set rsPass othin!

    nd Sub

    Private Sub cmd/it0lic*("

    $nload 3e

  • 8/21/2019 mis project full

    43/93

    nd Sub

    Private Sub Formoad("

    con0onnectionStrin! QProvider3icrosoft@etODB7=5Persist Securit%

    InfoFalseData SourceQ AppPath QTfastfoodmdbQ

    conOpen

    nd Sub

  • 8/21/2019 mis project full

    44/93

    2) F!'8 N8- 5'8M9,

  • 8/21/2019 mis project full

    45/93

    C!9:-

    Private Sub 0ommand50lic*("

    nd Sub

    Private Sub cmdFile0lic*("

    frmFile3aintainanceSho) vb3odal

    nd Sub

    Private Sub cmd4elp0lic*("

    0all Shell(Qotepade/e Q G AppPath G QTreadmet/tQ, 5"

    nd Sub

    Private Sub cmdJuit0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdReports0lic*("

    frmReportsSho) vb3odal

    nd Sub

    Private Sub cmdSales0lic*("

    frmSalesSho) vb3odal

    nd Sub

    Private Sub cmd-oda%0lic*("

    frm-oda%Sho) vb3odal

    nd Sub

  • 8/21/2019 mis project full

    46/93

    Private Sub Form3ouse3ove(Button As Inte!er, Shift As Inte!er, H As Sin!le, K

    As Sin!le"

    3eIma!e8Picture oadPicture(AppPath G QTmc5bmpQ"

    nd Sub

    Private Sub Ima!e83ouse3ove(Button As Inte!er, Shift As Inte!er, H As Sin!le,

    K As Sin!le"

    3eIma!e8Picture oadPicture(AppPath G QTmc8bmpQ"

    nd Sub

  • 8/21/2019 mis project full

    47/93

    3) F!'8 N8- 5'8C=9P

  • 8/21/2019 mis project full

    48/93

    C!9:-

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdO*0lic*("

    Dim rsPass As e) ADODBRecordset

    rsPassOpen Qselect Pass)ord from PassQ, con, adOpenD%namic

    If rsPass(QPass)ordQ" UV 3et/tOld-e/t -hen

    3s!Bo/ QInvalid Pass)ordQ

    3et/tOldSetFocus

    /it Sub

    lseIf 3et/te)-e/t UV 3et/t0onfirm-e/t -hen

    3s!Bo/ QInvalid Pass)ordQ

    3et/t0onfirmSetFocus

    /it Sub

    lse

    con/ecute Qupdate Pass set Pass)ord WQ G 3et/te)-e/t G QWQ

    3s!Bo/ QPass)ord 0han!edQ

    $nload 3e

    nd If

    nd Sub

  • 8/21/2019 mis project full

    49/93

    $) F!'8 N8- 5'8D+W

  • 8/21/2019 mis project full

    50/93

    C!9:-

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdPrevie)0lic*("

    If 3et/tFrom-e/t QQ -hen

    3s!Bo/ QInput DateQ

    3et/tFromSetFocus

    /it Sub

    nd If

    If ot IsDate(3et/tFrom" -hen

    3s!Bo/ QInvalid DateQ

    3et/tFromSetFocus

    /it Sub

    nd If

    If 3et/t-o-e/t QQ -hen

    3s!Bo/ QInput DateQ

    3et/t-oSetFocus

    /it Sub

    nd If

    If ot IsDate(3et/t-o" -hen

    3s!Bo/ QInvalid DateQ

  • 8/21/2019 mis project full

    51/93

    3et/t-oSetFocus

    /it Sub

    nd If

    WDim rsist As e) ADODBRecordset

    WrsistOpen Qselect X from istofBills )here DoB V cdate(WQ G 3et/tFrom-e/t

    G QW" and DoB U cdate(WQ G 3et/t-o-e/t G QW" order b% DoB,BilloQ, con,

    adOpenD%namic

    WSet repDate)iseBillistDataSource rsist

    WrepDate)iseBillistSho) vb3odal

    Wrsist0lose

    WSet rsist othin!

    Dim acApp As AccessApplication

    Set acApp e) AccessApplication

    acAppOpen0urrentDatabase AppPath G QTfastfoodmdbQ

    acAppDo0mdOpenReport QrepPrintBillQ, ac.ie)Previe), Qselect X fromPrintBill )here DoB V cdate(WQ G 3et/tFrom-e/t G QW" and DoB U cdate(WQ G

    3et/t-o-e/t G QW"Q

    acAppDo0md3a/imie

    acApp.isible -rue

    nd Sub

    Private Sub Formoad("

    3et/tFrom-e/t Date

    3et/t-o-e/t Date

    nd Sub

  • 8/21/2019 mis project full

    52/93

    ) F!'8 N8- 5'8D4+

  • 8/21/2019 mis project full

    53/93

    C!9:-

    Private Sub cmbItem0ode0lic*("

    Dim rsFill As e) ADODBRecordset

    rsFillOpen Qselect X from Item )here Item0ode Q G 3ecmbItem0ode-e/t,

    con, adOpenD%namic

    If ot rsFillOF -hen

    3et/tame-e/t rsFill(QameQ".alue

    3et/tPrice-e/t rsFill(QPriceQ".alue

    nd If

    rsFill0lose

    Set rsFill othin!

    nd Sub

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdDelete0lic*("

    con/ecute Qdelete from Item )here Item0ode Q G 3ecmbItem0ode-e/t

    3s!Bo/ QRecord DeletedQ

    3et/tame-e/t QQ

    3et/tPrice-e/t QQ

    3ecmbItem0odeRemoveItem (3ecmbItem0odeistInde/"

    If 3ecmbItem0odeist0ount UV : -hen

  • 8/21/2019 mis project full

    54/93

    3ecmbItem0odeistInde/ :

    nd If

    3ecmbItem0odeSetFocus

    nd Sub

    Private Sub Formoad("

    3et/tamenabled False

    3et/tPricenabled False

    Dim rsItem0ode As e) ADODBRecordset

    rsItem0odeOpen Qselect Item0ode,ame from Item order b% ItemcodeQ, con,

    adOpenD%namic

    Do

  • 8/21/2019 mis project full

    55/93

    #) F!'8 N8- 5'8F4M9+99*

  • 8/21/2019 mis project full

    56/93

    C!9:-

    Private Sub cmd0han!ePass)ord0lic*("

    frm0han!ePass)ordSho) vb3odal

    nd Sub

    Private Sub cmdDelete0lic*("

    frmDeleteSho) vb3odal

    nd Sub

    Private Sub cmd3odif%0lic*("

    frm3odif%ItemSho) vb3odal

    nd Sub

    Private Sub cmde)0lic*("

    frme)ItemSho) vb3odal

    nd Sub

    Private Sub cmdReturn0lic*("

    $nload 3e

    nd Sub

    Private Sub Ima!e83ouse3ove(Button As Inte!er, Shift As Inte!er, H As Sin!le,

    K As Sin!le"

    3eIma!e8Picture oadPicture(AppPath G QTmc8bmpQ"

    nd Sub

  • 8/21/2019 mis project full

    57/93

    %) F!'8 N8- 5'8M!5>I+8

  • 8/21/2019 mis project full

    58/93

    C!9:-

    Private Sub cmbItem0ode0lic*("

    Dim rsFill As e) ADODBRecordset

    rsFillOpen Qselect X from Item )here Item0ode Q G 3ecmbItem0ode-e/t,

    con, adOpenD%namic

    If ot rsFillOF -hen

    3et/tame-e/t rsFill(QameQ".alue

    3et/tPrice-e/t rsFill(QPriceQ".alue

    nd If

    rsFill0lose

    Set rsFill othin!

    nd Sub

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmd$pdate0lic*("

    If 3et/tame-e/t QQ -hen

    3s!Bo/ QPlease input Item ameQ

    3et/tameSetFocus

    /it Sub

    nd If

    If 3et/tPrice-e/t QQ -hen

  • 8/21/2019 mis project full

    59/93

    3s!Bo/ QPlease input Item PriceQ

    3et/tPriceSetFocus

    /it Sub

    nd If

    If ot Isumeric(3et/tPrice" -hen

    3s!Bo/ QPlease input umeric .alueQ

    3et/tPriceSetFocus

    /it Sub

    nd If

    con/ecute Qupdate Item set ameWQ G 3et/tame-e/t G QW, PriceQ G

    3et/tPrice-e/t G Q )here Item0ode Q G 3ecmbItem0ode-e/t

    3s!Bo/ QRecord $pdatedQ

    3ecmbItem0ode-e/t QQ

    3et/tame-e/t QQ

    3et/tPrice-e/t QQ

    3ecmbItem0odeSetFocus

    nd Sub

    Private Sub Formoad("

    Dim rsItem0ode As e) ADODBRecordset

    rsItem0odeOpen Qselect Item0ode,ame from Item order b% ItemcodeQ, con,adOpenD%namic

    Do

  • 8/21/2019 mis project full

    60/93

    rsItem0ode3ovee/t

    oop

    If 3ecmbItem0odeist0ount UV : -hen

    3ecmbItem0odeistInde/ :

    nd If

    rsItem0ode0lose

    Set rsItem0ode othin!

    nd Sub

  • 8/21/2019 mis project full

    61/93

    ) F!'8 N8- 5'8N

  • 8/21/2019 mis project full

    62/93

    C!9:-

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmde)0lic*("

    If 3ecmde)0aption QGe) ItemQ -hen

    3ecmde)0aption QG$pdateQ

    3et/tamenabled -rue

    3et/tPricenabled -rue

    Dim rsItem0ode As e) ADODBRecordset

    rsItem0odeOpen Qselect Item0ode from Item order b% Item0ode descQ, con,

    adOpenD%namic

    If ot rsItem0odeOF -hen

    3et/tItem0ode-e/t rsItem0ode(QItem0odeQ".alue 5

    lse

    3et/tItem0ode-e/t 5

    nd If

    rsItem0ode0lose

    Set rsItem0ode othin!

    3et/tameSetFocus

    lse

    If 3et/tame-e/t QQ -hen

  • 8/21/2019 mis project full

    63/93

    3s!Bo/ QPlease input Item ameQ

    3et/tameSetFocus

    /it Sub

    nd If

    If 3et/tPrice-e/t QQ -hen

    3s!Bo/ QPlease input Item PriceQ

    3et/tPriceSetFocus

    /it Sub

    nd If

    If ot Isumeric(3et/tPrice" -hen

    3s!Bo/ QPlease input umeric .alueQ

    3et/tPriceSetFocus

    /it Sub

    nd If con/ecute QInsert into Item(Item0ode,ame,Price" values(Q G

    3et/tItem0ode-e/t G Q,WQ G 3et/tame-e/t G QW,Q G 3et/tPrice-e/t G Q"Q

    3s!Bo/ QRecord SavedQ

    3et/tItem0ode-e/t QQ

    3et/tame-e/t QQ

    3et/tPrice-e/t QQ

    3et/tamenabled False

    3et/tPricenabled False

    3ecmde)0aption QGe) ItemQ

  • 8/21/2019 mis project full

    64/93

    nd If

    nd Sub

    Private Sub Formoad("

    3et/tItem0odenabled False

    3et/tamenabled False

    3et/tPricenabled False

    nd Sub

  • 8/21/2019 mis project full

    65/93

    ) F!'8 N8- 5'8P'9+B44

  • 8/21/2019 mis project full

    66/93

    P'9+ P'6

  • 8/21/2019 mis project full

    67/93

    C!9:-

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdPrevie)0lic*("

    WDim rsBill As e) ADODBRecordset

    WrsBillOpen Qselect distinct X from istofBills )here BilloQ G

    3ecmbBillo-e/t G Q order b% billnoQ, con, adOpenD%namic

    WSet repPrintBillDataSource rsBill

    WrepPrintBillSho) vb3odal

    WrsBill0lose

    WSet rsBill othin!

    Dim acApp As AccessApplication

    Set acApp e) AccessApplication

    acAppOpen0urrentDatabase AppPath G QTfastfoodmdbQ

    acAppDo0mdOpenReport QrepPrintBillQ, ac.ie)Previe), Qselect X from

    PrintBill )here BilloQ G 3ecmbBillo-e/t

    acAppDo0md3a/imie

    acApp.isible -rue

    nd Sub

    Private Sub Formoad("

    Dim rsBill0ode As e) ADODBRecordset

  • 8/21/2019 mis project full

    68/93

    rsBill0odeOpen Qselect Billo from istofBills order b% BilloQ, con,

    adOpenD%namic

    Do

  • 8/21/2019 mis project full

    69/93

    10) F!'8 N8- 5'8R7!'+

  • 8/21/2019 mis project full

    70/93

    C!9:-

    Private Sub cmdFile0lic*("

    WDim rsist As e) ADODBRecordset

    WrsistOpen Qselect X from istofBillsQ, con, adOpenD%namic

    WSet repAllBillsDataSource rsist

    WrepAllBillsSho) vb3odal

    Wrsist0lose

    WSet rsist othin!

    Dim acApp As AccessApplication

    Set acApp e) AccessApplication

    acAppOpen0urrentDatabase AppPath G QTfastfoodmdbQ

    acAppDo0mdOpenReport QrepPrintBillQ, ac.ie)Previe)

    acAppDo0md3a/imieacApp.isible -rue

    nd Sub

    Private Sub cmdJuit0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdReports0lic*("

    frmDate)iseSho) vb3odal

    nd Sub

  • 8/21/2019 mis project full

    71/93

    Private Sub cmdSales0lic*("

    Dim rsist As e) ADODBRecordset

    rsistOpen Qselect X from Item order b% Item0odeQ, con, adOpenD%namic

    Set repItemistDataSource rsist

    repItemistSho) vb3odal

    rsist0lose

    Set rsist othin!

    nd Sub

    Private Sub cmd-oda%0lic*("

    frmPrintBillSho) vb3odal

    nd Sub

  • 8/21/2019 mis project full

    72/93

    11) F!'8 N8- 5'8S4

  • 8/21/2019 mis project full

    73/93

    C!9:-

    Dim tmpPrice As Inte!er

    Private Sub cmbItem0ode0lic*("

    Dim rsFill As e) ADODBRecordset

    rsFillOpen Qselect X from Item )here Item0ode Q G 3ecmbItem0ode-e/t,

    con, adOpenD%namic

    If ot rsFillOF -hen

    3et/tame-e/t rsFill(QameQ".alue

    3et/tPrice-e/t rsFill(QPriceQ".alue

    tmpPrice rsFill(QPriceQ".alue

    nd If

    rsFill0lose

    Set rsFill othin!

    nd Sub

    Private Sub cmdAdd0lic*("

    If 3et/tJuantit%-e/t QQ -hen

    3s!Bo/ QPlease input quantit%Q

    3et/tJuantit%SetFocus

    /it Sub

    nd If

    If ot Isumeric(3et/tJuantit%-e/t" -hen

    3s!Bo/ QPlease input numeric dataQ

  • 8/21/2019 mis project full

    74/93

    3et/tJuantit%SetFocus

    /it Sub

    nd If

    3elstItem0odeAddItem 3ecmbItem0ode-e/t

    3elstJuantit%AddItem 3et/tJuantit%-e/t

    3elstPriceAddItem 3et/tPrice X 3et/tJuantit%-e/t

    t :

    For i : -o 3elstPriceist0ount C 5

    3elstPriceistInde/ i

    t t .al(3elstPrice-e/t"

    e/t

    3et/tAmount-e/t t

    3elstPriceistInde/ C5

    nd Sub

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub cmdPrintBill0lic*("

    WDim rsBill As e) ADODBRecordset

    WrsBillOpen Qselect X from istofBills )here BilloQ G 3et/tBillo-e/t, con,

    adOpenD%namic

    WSet repPrintBillDataSource rsBill

    WrepPrintBillSho) vb3odal

  • 8/21/2019 mis project full

    75/93

    WrsBill0lose

    WSet rsBill othin!

    Dim acApp As AccessApplication

    Set acApp e) AccessApplication

    acAppOpen0urrentDatabase AppPath G QTfastfoodmdbQ

    acAppDo0mdOpenReport QrepPrintBillQ, ac.ie)Previe), Qselect X from

    PrintBill )here BilloQ G 3et/tBillo-e/t

    acAppDo0md3a/imie

    acApp.isible -rue

    nd Sub

    Private Sub cmdRemove0lic*("

    If 3elstItem0odeistInde/ UV C5 -hen

    t 3elstItem0odeistInde/

    3elstItem0odeRemoveItem (t"

    3elstJuantit%RemoveItem (t"

    3elstPriceRemoveItem (t"

    t :

    For i : -o 3elstPriceist0ount C 5

    3elstPriceistInde/ i

    t t .al(3elstPrice-e/t"

    e/t

    3et/tAmount-e/t t

    3elstPriceistInde/ C5

  • 8/21/2019 mis project full

    76/93

    nd If

    nd Sub

    Private Sub cmdSaleItem0lic*("

    If 3ecmdSaleItem0aption QGe) SaleQ -hen

    3ecmdSaleItem0aption QGSale ItemQ

    3ecmdAddnabled -rue

    3ecmdPrintBillnabled False

    3ecmbItem0odenabled -rue

    3et/tDoBnabled -rue

    3et/t0ustamenabled -rue

    3et/tJuantit%nabled -rue

    3et/t0ustame-e/t QQ

    3et/tJuantit%-e/t QQ

    3et/tDoB-e/t Date

    3et/tAmount-e/t Q:Q

    3elstItem0ode0lear

    3elstPrice0lear

    3elstJuantit%0lear

    Dim rsBillo As e) ADODBRecordset

    rsBilloOpen Qselect Billo from Bill order b% Billo descQ, con,

    adOpenD%namic

    If ot rsBilloOF -hen

  • 8/21/2019 mis project full

    77/93

    3et/tBillo-e/t rsBillo(QBilloQ".alue 5

    lse

    3et/tBillo-e/t 5

    nd If

    rsBillo0lose

    Set rsBillo othin!

    If 3ecmbItem0odeist0ount UV : -hen

    3ecmbItem0odeistInde/ :

    nd If

    3ecmbItem0odeSetFocus

    lse

    If 3et/tDoB-e/t QQ -hen

    3s!Bo/ QPlease input DateQ

    3et/tDoBSetFocus /it Sub

    nd If

    If ot IsDate(3et/tDoB" -hen

    3s!Bo/ QPlease input valid dateQ

    3et/tDoBSetFocus

    /it Sub

    nd If

    If 3et/t0ustame-e/t QQ -hen

    3s!Bo/ QPlease input ame of the 0ustomerQ

  • 8/21/2019 mis project full

    78/93

    3et/t0ustameSetFocus

    /it Sub

    nd If

    If 3et/tJuantit%-e/t QQ -hen

    3s!Bo/ QPlease input Item Juantit%Q

    3et/tJuantit%SetFocus

    /it Sub

    nd If

    If ot Isumeric(3et/tJuantit%" -hen

    3s!Bo/ QPlease input umericQ

    3et/tJuantit%SetFocus

    /it Sub

    nd If

    con/ecute Qinsert intoBill(Billo,Item0ode,DoB,Juantit%,Price,Amount,0ustame" values(Q G

    3et/tBillo-e/t G Q,Q G 3ecmbItem0ode-e/t G Q,WQ G 3et/tDoB-e/t G QW,Q

    G 3et/tJuantit%-e/t G Q,Q G tmpPrice G Q,Q G 3et/tAmount-e/t G Q,WQ G

    3et/t0ustame-e/t G QW"Q

    For i : -o 3elstItem0odeist0ount C 5

    3elstItem0odeistInde/ i

    3elstPriceistInde/ i

    3elstJuantit%istInde/ i

    con/ecute Qinsert into Bill-rans(Billo,Item0ode,Juantit%,Amount,Price"

    values(Q G 3et/tBillo-e/t G Q,Q G 3elstItem0ode-e/t G Q,Q G

  • 8/21/2019 mis project full

    79/93

    3elstJuantit%-e/t G Q,Q G 3elstPrice-e/t G Q,Q G 3elstPrice-e/t +

    3elstJuantit%-e/t G Q"Q

    e/t

    3s!Bo/ QRecord InsertedQ

    3ecmdSaleItem0aption QGe) SaleQ

    3ecmdPrintBillnabled -rue

    3ecmdAddnabled False

    3ecmbItem0odenabled False

    3et/tDoBnabled False

    3et/t0ustamenabled False

    3et/tJuantit%nabled False

    3ecmdSaleItemSetFocus

    nd If

    nd Sub

    Private Sub cmd-oda%0lic*("

    frm-oda%Sho) vb3odal

    nd Sub

    Private Sub Formoad("

    3et/tAmount-e/t Q:Q

    3et/tamenabled False

    3et/tPricenabled False

    3et/tBillonabled False

    3et/tAmountnabled False

  • 8/21/2019 mis project full

    80/93

    3ecmbItem0odenabled False

    3et/tDoBnabled False

    3et/t0ustamenabled False

    3et/tJuantit%nabled False

    3ecmdPrintBillnabled False

    3ecmdAddnabled False

    Dim rsItem0ode As e) ADODBRecordset

    rsItem0odeOpen Qselect Item0ode,ame from Item order b% ItemcodeQ, con,

    adOpenD%namic

    Do

  • 8/21/2019 mis project full

    81/93

    12) F!'8 N8- 5'8T!>

  • 8/21/2019 mis project full

    82/93

    C!9:-

    Private Sub cmbItem0ode0lic*("

    Dim rsFill As e) ADODBRecordset

    rsFillOpen Qselect X from Item )here Item0ode Q G 3ecmbItem0ode-e/t,

    con, adOpenD%namic

    If ot rsFillOF -hen

    3elblame0aption rsFill(QameQ".alue

    3elblPrice0aption rsFill(QPriceQ".alue

    nd If

    rsFill0lose

    Set rsFill othin!

    nd Sub

    Private Sub cmd/it0lic*("

    $nload 3e

    nd Sub

    Private Sub Formoad("

    3elblamenabled False

    3elblPricenabled False

    Dim rsItem0ode As e) ADODBRecordset

    rsItem0odeOpen Qselect Item0ode,ame from Item order b% ItemcodeQ, con,

    adOpenD%namic

    Do

  • 8/21/2019 mis project full

    83/93

    3ecmbItem0odeAddItem rsItem0ode(QItem0odeQ".alue

    rsItem0ode3ovee/t

    oop

    If 3ecmbItem0odeist0ount UV : -hen

    3ecmbItem0odeistInde/ :

    nd If

    rsItem0ode0lose

    Set rsItem0ode othin!

    nd Sub

  • 8/21/2019 mis project full

    84/93

  • 8/21/2019 mis project full

    85/93

    TESTING

    -estin! is a ver% critical activit% that ensures the liabilit% of a particular soft)are

    product Durin! this activit% the soft)are to be tested is e/ecuted )ith a set of

    tests, and the output and functionin! of the pro!ram are evaluated It is done to

    ensure )hether the s%stem meets the specified requirements or not

    -estin! can brin! forth some aspects that have not been considered or covered b%

    the developers -estin! a lar!e pro!ram is a comple/ process that can be bro*en

    do)n into t)o parts2

    $nit testin!

    Inte!ration testin!

    S%stem testin!

    In the first case the different modules of the application are tested individuall% In

    case of s%stem testin! the soft)are is tested as a )hole -he s%stem under!oes

    several tests li*e2

    -ime tests

    Performance tests

    3emor% tests

    Input and output tests, etc

  • 8/21/2019 mis project full

    86/93

    -estin! can be done in the follo)in! three phases2

    P'!'88+* T+9- -his is done to determine )hether the application

    )or*s accordin! to the specifications 4ere it is chec*ed )hether the

    application is providin! all the required functionalities and features or not

    All the validations are chec*ed thorou!hl% All the lin*s are tested and the

    database functionalities are also chec*ed

    U' T+9- In this phase it is ascertained )hether the tar!et audience of

    the application can use the application easil% and effectivel% Is the soft)are

    s%stem is servin! their purpose and fits their requirements or not It is

    chec*ed )hether the% are satisfied )ith the information provided -he% are

    as*ed about the clarit%, attractiveness and the overall presentation of the

    screens and reports

    G!4 T+9- Finall% this test is performed to test )hether the application

    meets the !oals, )hich )ere set before developin! the application 4ere it

    must be ensured that the or!aniation is satisfied )ith the )or*in! and

    presentation of the application

  • 8/21/2019 mis project full

    87/93

    SUGGESTIONS

    PIEEA 4$- is lar!e !ro)in! fast food centre in India and other countries also, it

    becomes ver% difficult to *eep records for lar!e no of items and customers and

    calculatin! bills -his pro&ect is ver% useful in the fastCfood mana!ement

    $tmost care and bac*Cup procedures must be established to ensure 5::Y

    successful implementation of the computeried fastCfood s%stem In case of s%stem

    failure, the or!aniation should be in a position to process the transaction )ith

    another or!aniation or if the )orst comes to the )orst, it should be in a position to

    complete it manuall%

  • 8/21/2019 mis project full

    88/93

    M!' 69+ !5 += 7'!*+:

    Accurac% )ill be hi!hl% enhanced due to ne!li!ible chance of

    error in computer

    Data stora!e )ill become much easier and compact

    A lot of computational )ill be reduced

    -he s%stem bein! menuCdriven )ill be eas% to use as )e &ust

    need to clic* on the options )ith minute efforts

  • 8/21/2019 mis project full

    89/93

    8++!9:

    5 It does not ensure securit% of data to e/treme e/tent

    8 Onl% a sin!le user can access the data at a time

  • 8/21/2019 mis project full

    90/93

    CONCUSION

    -his pro&ect is desi!ned to meet the requirements of a Pia 4ut Automation

    S%stem It has been developed in .isual Basic and the database has been built in

    3SCSJSR.R onl%, *eepin! in mind the specifications of the s%stem Apart

    from 3SCSJSR.R )e could have also implemented other database soft)are

    li*e Oracle or 3sCAccess

    For desi!nin! the s%stem )e have used simple data flo) dia!rams and +R

    dia!rams

    Overall the pro&ect teaches us the essential s*ills li*e2

    5 $sin! s%stem anal%sis and desi!n techniques li*e data flo) dia!ram and +R

    dia!ram in desi!nin! the s%stem

    8 $nderstandin! pro!rammin! lo!ic and lan!ua!e alon! )ith utilities li*e

    reports, forms, queries etc in .isual Basic and 3SCSJ SR.R

  • 8/21/2019 mis project full

    91/93

  • 8/21/2019 mis project full

    92/93

  • 8/21/2019 mis project full

    93/93

    BIBIOGRAPHY

    V,4 *

    Blac* boo*

    Sumita Arora

    O'*4

    van Baross