Académique Documents
Professionnel Documents
Culture Documents
CHAPTER # 1 INTRODUCTION
1
PIA RESERVATION SYSTEM
Introduction
The roots of PIA date to pre-partition, since it acquired Orient Airways, which was the
creation of Quaid-e-Azam, Mohammad Ali Jana. On the advice of the Quaid, who
realized partition of the Sub-continent was inevitable, Orient Airways, the First Muslim
owned airline, was founded in Calcutta, 1946 by Mr. Isphahani.
In 1951 the government realized that the Pakistan needed a National Flag carrier; it
ordered three Lockheed L-1049C Super Constellations that year and the concept of PIA
was established. PIA flew its first service from Karachi to Dacca (now Dhaka) on 07th
June 1954, linking the two wings of Eastern and Western Pakistan, the latter now being
Bangladesh.
Thirty three years ago, in Flight International's World Airline Survey, the publication had
summarized PIA as follows: -
2
PIA RESERVATION SYSTEM
As a company PIA had been founded in 1951 and its first operations were between East
and West Pakistan in June 1954. A service to London was begun in early 1955. The
Corporation is responsible for the operation of all services within Pakistan, including
airbus services and feeder services in East and West Pakistan and regional services to
Katmandu, Rangoon and Kabul. An eleven times-weekly service between Karachi and
London is operated via points in the Middle East and Europe, and via Moscow. PIA also
operates services to Bangkok, Canton and Shanghai and to Jeddah, Nairobi, Dubai, and
Doha and to Bahrain and Kuwait. Short takeoff and landing (STOL) aircraft are being
considered as a replacement for the helicopter services in East Pakistan.
Head Office:
PIA Building, Karachi Airport, Pakistan
Executives:
Employees
12,670
Fleet
In 1974 PIA contracted Negus and Negus of London to re-design a new more attractive
livery that would be more favorably attributed to the Airline. They came up with the
Green and Gold livery which had remained until the late 80s/Very Early 90s.
3
PIA RESERVATION SYSTEM
The 90s
PIA replaced its famous Green and Gold livery with a sportier one of Green, Moss Green
and Turquoise stripes. It is said by PIA, that this new theme is a sportier look,
representing the active participation and sponsorship of Pakistan's National Sports.
In 1999, PIA acquired five Ex-Cathay Pacific Boeing 747-367s to replace the older series
747s operating on Long-Haul International routes. Though some of the older 747s still
operate such as in mixed configuration.
PIA; Present Day
PIA is currently seeking New Aircraft to extend its fleet, interest lies in the Airbus A340,
More 747-367s or the Wide body 777. Whilst at the time of writing the exact purchase
plans have not been concreted, further evolution of the National Flag carrier will be
welcomed by many.
PROBLEM DEFINITOIN
The basic problems faced by them are to integrate records and the daily information
about the reservation due to the large number of seat reservation, and cancellation of
reserved seats, it’s difficult for them to maintain daily records of reservation, and
cancellation, so they require much operational staff to maintain the records of daily
reservation and cancellation to update records so that they can easily find out the current
reserved seats and available seats in different flights. Finally the total daily, monthly and
annual reservation records are kept but it is very costly.
Another problem is to keep the records of customers from which they can contact the any
specific customer in some special cases, like flight cancellation because of bad weather or
any government interference.
All the records are kept in hard copies. So to keep those hard copies they needed more
physical space to keep them safe. For this purpose they used cupboards and other
physical things.
The big problem is the duplicity in the records, for this reason if there is need to update
any record then they had to update it from different hard copies.
• System Analysis
• System Design
• System Development
• System Implementation
4
PIA RESERVATION SYSTEM
SYSTEM OBJECTIVES
5
PIA RESERVATION SYSTEM
FEASIBILITY REPORT
Database: MS ACCESS
Front End Tool: VB.NET
Repot: Seagate Crystal Report
PROPOSED SOLUTION:
The Solution proposed for development of project will go through a series of steps:
Database will be designed that will later populated with data.
Database will be handled using Ms Access.
All records will be later extract from populated database and linked with the
VB.NET forms.
Ongoing support will be provided from time to time.
We have defined the feasibility and determined when to perform a feasibility analysis.
Most analysts have agreed that three categories of feasibility test: those three tests, which
we apply at an analysis of the institute. They are as under:
1. OPERATIONAL FEASIBILITY
2. TECHNICAL FEASIBILITY
3. ECONOMIC FEASIBILITY
6
PIA RESERVATION SYSTEM
1. OPERATINAL FEASIBILITY
2. TECHNICAL FEASIBILITY
3. ECONOMIC FEASIBILITY
7
PIA RESERVATION SYSTEM
CHAPTER # 2
EXISTING SYSTEM
ANALYSIS
8
PIA RESERVATION SYSTEM
ANALYSIS
Analysis is the key to success of any kind of system development. It is very important to
first grasp the domain knowledge and then study the area to which the project belongs. It
is only then one can clearly identify the requirements of the system
1. Interview
Interviews are an important fact-finding technique and help in determining the mood of
the employees of any organization. An interview is a planned meeting during which
information from the employees is gathered, and the interviewer should be a skilled
person having all the know how of planning, conducting and documenting the interviews
properly.
In our analysis of the current system interview was very vital for gathering the necessary
information because there are many hidden aspects of the system that need to be
extracted from the top management and this can only be achieved through personal
meeting in the form of interviews.
2. Questionnaire
It is a commendable approach in terms of target of audience. It enables large number of
participants, from various departments to even various countries, to be involved in
systems investigation. With standardized questions and assurance of anonymity, the facts
gathered tend to be more reliable and often more honest responses.
In our analysis of the current system, questionnaire was a great help in determining the
general trend of doing things in the company and to find the core functionality of the
different subsystems.
3. Survey
Survey is a good tool in finding out about the system through personally knowing how
the system is working and what are the real problems that exist within the system and its
subsystems.
We explain above three different fact finding techniques but we used questionnaire and
interviews in this project.
9
PIA RESERVATION SYSTEM
QUESTIONNAIRES FOR
AIRLINE RESERVATION SYSTEM
1.Customer
1.Customer ask what when he talk to u first time.
It depends on the customer’s requirements. He/she would ask about reservation or to
buy a ticket.
2.If
2.If Customer asks about Domestic flight… what are the requirements?
PIA required nothing, but sometimes a NID (National Identity) card from customer
for his/her domestic traveling.
3.If
3.If Customer asks about International flight… what are the requirements?
PIA required valid Passport, visa and sometimes health documents from customer for
his/her International traveling.
4.What
4.What is the difference between Booking & Reservation?
There is no difference between Booking & Reservation.
5.How
How Customer reserves his/her seat.
seat.
Customer can reserve his/her seat by calling, and at the spot in office. But now a
day’s customer has facility to reserve his/her seat using internet (website).
6.What
6.What does u do on your side?
Duty officer (employee) just checks the customer requirements and fulfills them if
possible.
7.After
7.After that what you tell to the Customer?
Duty officer tells him what other possible ways.
8.What
8.What things are possible to happen, from buying the ticket to his departure?
Customer can cancel, postpone or re-schedule his/her seat. And flight can also be
delayed due to some problems.
9.What
9.What things can be modify, after when the Customer have bought a ticket.
Customer can re-schedule, cancel, and block his /her seat.
10.With
10.With out paying, Can a customer reserve his seat… if yes… what are the ways…
Yes, with certain time limit to buy ticket.
10
PIA RESERVATION SYSTEM
11.If
11.If a customer have bought the ticket, but he is not interesting to go… how much
amount you charge… (%)
It varies from time period to time period…
12.In
12.In what cases discount can be given on.
For Groups (journalists), for Students (students can get discount in both cases,
Domestic or International but in International they should have study visa).
13.How
13.How the ticket can Auto-Cancel.
After the expiry of time limit, the system will cancel the reservation.
14.What
14.What is PNR?
Passenger Name Record
15.What
15.What is APIS? (Advance Passenger Information System)
PIA is a signatory to APIS and accordingly is liable to electronically transmit all
passengers and crew data to US bound flights.
16.What
16.What is Pre-Reserved Seats?
Pre-Reserve facility is available on all International and Domestic flights.
17.What
17.What is Advance Boarding Facility at Check-in Counters?
Check-In Counters available at PIA booking offices at KHI, LHE, ISB, RWP, LYP,
MUX, UET and PEW. The facility is only available to passengers traveling on
Domestic flights without checked baggage.
18.How
18.How Customer asks u about his desired route, and then what do u does there.
He just places his requirements, which always varies from customer to customer. And
on our side we just tell him the possible routs which PIA is offering.
19.How
19.How and why you store your desired data/information.
All the data is saved in head office, which called Purge Record. Head Office is in
TURSA.
11
PIA RESERVATION SYSTEM
INTERVIEWS
Date: 10/09/2003
Duration: 2 hours
4. What are the standards and norms that are being followed in a seat reservation
processing?
The organization maintains certain standards for all the processes that take place
within its different departments. The sales department being a part of this scenario has to
work under these guidelines, and has set specific priorities while processing the orders.
12
PIA RESERVATION SYSTEM
They give special treatments to all the clients having high rank in the organizations
grading, and all the trips originating. The sales department demands its entire customer a
minimum processing time of two (2) weeks and accepts any replacement requests before
the passing of 48 hours from the departure time.
13
PIA RESERVATION SYSTEM
10. What information regarding a reservation do you share with other departments?
The sales department has quite a lot of information to share with other
departments of the organization. When a seat is booked with the reservation department,
they send a copy of that reservation to the inventory department, to determine if the
organization is able to honor its deal with the customer, and at what date. The inventory
department in turn shares information about its available resources with the sales people.
From the questionnaire we obtain the following information about the existing system.
In this system the whole procedure consists on two sides, one is customer (passenger) and
another is employee. Customer may need some information about availability of seats,
reservation, blocking, confirmation, rescheduling, cancellation and base price.
Duty officer ask the customer to tell the following details - class, one-way or round trip,
departure date and the number of adult passengers, children and senior citizens. ‘Class’
refers to business class, first class, club class, smoking, non smoking. This choice made
by the customer. The customer will get the choice of one-way, round trip. Departure date
refers to either a single date or a range of dates. Duty officer will not tell to the customer,
14
PIA RESERVATION SYSTEM
dates in the past or those dates that are too beyond in the future (as determined by the PIA
policy). In case, the trip is a round trip, the duty officer also asks the customer to tell the
departure date on the return trip. Having taken all the above information from the
customer, the duty officer checks for wrong information. In case of any incompatibility,
the duty officer informs the customer. Having taken all the information as listed above,
the duty officer check the flight schedule in the response about the request provided by
the customer.
The duty officer provide information to the customer - for each flight number - the flight
number, departure time in origin city, arrival time in destination city, the duration of the
flight and the number of seats available on that flight.
Reservation
Having taken all the information from customer, the duty officer proceeds to update the
reservation database. It decrement the number of available seats on the particular flight
for the particular class by the number of travelers being represented by the customer.
The duty officer now tells the price of the ticket. This will be the sum of the prices for all
the members of the travel party being represented by the customer.
If customer buys the ticket, the duty officer charges the price of the ticket. System
simultaneously generates a confirmation number. The ticket has been reserved.
Blocking
Blocking is the process to refer to the temporary holding of a seat(s) on a flight for a
specific period of time. The customer pays no cost for blocking a ticket, but must make a
decision at least two week earlier to the date of departure.
Confirmation
A customer who has earlier blocked a ticket, he is required either to confirm the ticket
before two weeks of the departure date or the ticket stands cancelled. If customer make
the ticket confirm, the duty officer issue him a confirmation number/letter.
Re-Scheduling
This process means that the customer is allowed only to postpone the travel date and he
has to pay the difference in fare. No other details can be changed through this process.
For example the number of passengers can’t be changed. The duty officer makes a new
confirmation number and issues it to the customer.
15
PIA RESERVATION SYSTEM
Cancellation
The customers also have a choice to cancel the confirmed ticket or a blocked ticket. The
duty officer also informs to customer any rules regarding the cancellation of tickets, what
percentage of the price will be refunded.
Base Price
This refers to the maximum price of a ticket, which usually is the price when the
purchase is made at the last minute. This is used in arriving at the discounted price which
depends on various factors like early booking etc.
Route
The customers also have a choice to chose their desired routes if PIA has the facility of
that particular route. Customer can ask about the longest possible route but in economical
fare. Customer can ask about shortest possible route but may be he would have to pay
more fare than normal. Customer can ask about neither too long nor short which would
be PIA’s regular flights of that particular destination.
After the origin and destination city’s airports are determined and assigned a code,
the Duty officer now accesses the flight schedule and checks if there is a direct
operational service between the two cities. If not, the Duty officer suggests possible
routes and transfer points. The customer now presented with a choice of either selecting
one of the routes.
BUSINESS RULES
16
PIA RESERVATION SYSTEM
PNR (Passenger Name Record) creation or 3 days prior to departure which ever is
earlier.
7Tickets can be booked maximum 1 year earlier.
The current system does not cost much during establishment but the running time
costs are very high. The time is wasted by extra load of work in the maintenance of
the current system also since it is semi computerized and not online.
2.Data Redundancy
The current system is based on files and several redundant files exist at many
different locations for different departments because computer is not provided to
every employee. The same data is stored at different localities which causes space and
time loss. There is no need for duplication of data for any organization. The PIA
wastes time and money on data redundancies.
17
PIA RESERVATION SYSTEM
3.Data Integrity
The redundancies of files create problems for the employees of PIA to change the
records for some files located at different places. This creates difficulties in the flow
of data and the output of information is almost negligible and incorrect.
To search data from files and registers is always slow and just a wastage of time and
space. The chances of errors are high.
There is no online facility for the customers of PIA. There is no such system by
which customers can place on-line orders. Therefore the old system does not provide
any attractive facility to the customer (passengers) of other cities or countries.
One can imagine how difficult it is to search data manually from registers and papers.
PIA current system is totally based on registers. If one has to search data, he has to go
through files of record written down in registers. Therefore, it is just wastage of time
and manpower.
7.No Backup
The current system has no backups available for the PIA because there is no
procedure of backup of important data as current system itself is based on files which
take too much time and working space and makes it impossible to recover data in
case of data loss or damage.
To handle the current system, the PIA requires more human resources for every
department and service areas. This cost much for PIA since more people are hired for
different purposes. Hence, the PIA has to pay much for hiring more employees.
18
PIA RESERVATION SYSTEM
The chances of errors and problems increase for PIA current system, in the form of
disinformation being delivered. This may even cause greater harm to the PIA due to
wrong planning and disinformation.
Any minor or major errors are not easily handled and fixed in the current system.
Sometimes it gets hectic and chaotic for the staff or employee to fix the errors. It
requires extra working hours and time that results in customer dissatisfaction.
The current system of PIA is file based. Any calamity can destroy the data and no
recovery of data lost, halting the complete operation of the PIA.
To store the registers / files in the current system, the PIA needs more storage place.
The staffs needs extra work to run the old system and it requires too much physical
space and results in large storage and office buildings, making the whole system
overburdened and overstrained.
19
PIA RESERVATION SYSTEM
Marketing
Customer
Payment
Block Flight
Shipment Handling
Check Available Seats
Charge
Check Out
20
PIA RESERVATION SYSTEM
Customer
Request to Reserve
Seat Block
Seat
AIR RESERVATION
SYSTEM
Employee
21
PIA RESERVATION SYSTEM
Employee
Base Price
Issue 4.0
Request for Blocking
Block
Seat 1.0 Available Seats
for
Information
Check
Available Seats for Available Seats
Information Available for
Request for
Seats Information
2.0
Block Seat
Conformed Seats
Information
Confirmation
3.0
Rescheduling
Change
Add Confirmed Reservation Date 5.0
Seat
Information DB Rescheduling
Check Next Flight
Return Information
Mileage
Cancel Seat Money
Customer
Balance Money
7.0
Cancel Price
Information
Cancellation Information
22
PIA RESERVATION SYSTEM
CHAPTER # 3
PROPOSED SYSTEM
Objectives
System Proposal
Main System Diagram
Benefits /Main Features of Proposed
System
23
PIA RESERVATION SYSTEM
• IMPROVED SERVICES
• BETTER PERFORMANCE
• EFFICIENT GUI
One of the objectives of the proposed system is to provide a user friendly GUI,
that will enable the user to work on clicks and make the information transfer
possible with the most common I/O devices.
• MORE INFORMATION
An objective of our proposed system is to develop a system that will eliminate the
problem of insufficient and incomplete information.
• DECISION SUPPORT
24
PIA RESERVATION SYSTEM
• STRONGER CONTROLS
The proposed system will have stronger controls. Controls like passwords, various
levels of user access and option will be added.
We are going to develop the proposed system with an objective to eliminate the
running cost by overcoming the continuous stationary expenses, manual storage
need, and extra staff in the information resource department of PIA.
SYSTEM PROPOSAL
25
PIA RESERVATION SYSTEM
TIME SCHEDULE
1 Engineering:
a) Analysis 2 weeks
b) Design 2 weeks
2 Construction & Release:
a) Development 3-4 weeks
b) Testing & Implementation 2 weeks
c) User Documentation 2 weeks
SYSTEM MAINTENANCE
In order to keep the software updated (modified) and to avoid any problems due to
computer viruses, power failures and system crashes we offer our services for
maintaining the software.
SYSTEM HARDWARE
The recommended system hardware for your system to run efficiently and smoothly
should be
Pentium P-III 700 MHz or above CPU with 64 MB or above
RAM
HP Laser Jet 1100 or wide carriage 132 column Epson LQ-2170
Windows XP OR NT Plate form.
Yours’ Sincerely
26
PIA RESERVATION SYSTEM
Issue Flight
Time Request for Schedule
Reserve Seat
1.0 Available Seats
for Information
Reserved Seat
Information Conformed Seats
Information
Confirmation
3.0
Change Rescheduling
Add Confirmed Reservation Date 4.0
Seat Information DB
Rescheduling
Cancel Seat
User Next Flight
Information
Cancel
Information
Cancellation
5.0 Request to cancel
27
PIA RESERVATION SYSTEM
Due to the above-mentioned facility, system will produce comparatively low expenses
and causes fast response time.
7- Robust screens will allow user to easily communicate with the system.
11- The proposed system gives much more security in terms of data by
providing administrator-level security and user access control with
username and password . Hence no one having, mischievous can easy
access the employee records.
28
PIA RESERVATION SYSTEM
Input Design
Output Design
Code Design
User Interface Design
29
PIA RESERVATION SYSTEM
INPUT DESIGN
30
PIA RESERVATION SYSTEM
31
PIA RESERVATION SYSTEM
32
PIA RESERVATION SYSTEM
SAMPLE CODE
Dim st As String
st = "provider=microsoft.jet.oledb.4.0;password='';user id=admin;data
source='d:\finalproject\dbf\pia.mdb'"
Try
dbcon.ConnectionString = st
dbcon.Open ()
cmd.Connection = dbcon
cmd1.Connection = dbcon
Catch ex As Exception
MsgBox (ex.ToString)
End Try
Frm1.ShowDialog ()
End Sub
END MODULE
End Sub
33
PIA RESERVATION SYSTEM
34
PIA RESERVATION SYSTEM
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.Text = "Flight Schedule"
'
'MenuItem4
'
Me.MenuItem4.Index = 2
Me.MenuItem4.Text = "Add Reservation"
'
'MenuItem5
'
Me.MenuItem5.Index = 3
Me.MenuItem5.Text = "Passenger Information"
'
'MenuItem17
'
Me.MenuItem17.Index = 4
Me.MenuItem17.Text = "Cancel Reservation"
'
'MenuItem6
'
Me.MenuItem6.Index = 1
Me.MenuItem6.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem7,
Me.MenuItem8, Me.MenuItem9, Me.MenuItem10})
Me.MenuItem6.Text = "Reports"
'
'MenuItem7
'
Me.MenuItem7.Index = 0
Me.MenuItem7.Text = "Plane"
'
'MenuItem8
'
Me.MenuItem8.Index = 1
Me.MenuItem8.Text = "Flight Schedule"
'
'MenuItem9
'
Me.MenuItem9.Index = 2
Me.MenuItem9.Text = "Reservation"
'
'MenuItem10
'
Me.MenuItem10.Index = 3
Me.MenuItem10.Text = "Passenger"
'
'MenuItem11
'
Me.MenuItem11.Index = 2
Me.MenuItem11.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem12,
Me.MenuItem13, Me.MenuItem14})
Me.MenuItem11.Text = "Utilities"
'
'MenuItem12
'
35
PIA RESERVATION SYSTEM
Me.MenuItem12.Index = 0
Me.MenuItem12.Text = "Login"
'
'MenuItem13
'
Me.MenuItem13.Index = 1
Me.MenuItem13.Text = "New User"
'
'MenuItem14
'
Me.MenuItem14.Index = 2
Me.MenuItem14.Text = "About- Credits"
'
'MenuItem15
'
Me.MenuItem15.Index = 3
Me.MenuItem15.Text = "Help"
'
'MenuItem16
'
Me.MenuItem16.Index = 4
Me.MenuItem16.Text = "Exit"
'
'frmmain
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.Color.Honeydew
Me.ClientSize = New System.Drawing.Size(760, 446)
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.Menu = Me.MainMenu1
Me.MinimizeBox = False
Me.Name = "frmmain"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "PIA Reservation System"
Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
End Sub
#End Region
End Sub
36
PIA RESERVATION SYSTEM
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
End Sub
37
PIA RESERVATION SYSTEM
End Sub
End Sub
End Sub
End Class
End Sub
38
PIA RESERVATION SYSTEM
39
PIA RESERVATION SYSTEM
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(224, 88)
Me.PictureBox2.TabIndex = 17
Me.PictureBox2.TabStop = False
'
'PictureBox1
'
Me.PictureBox1.BackColor = System.Drawing.Color.SeaGreen
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"),
System.Drawing.Bitmap)
Me.PictureBox1.Location = New System.Drawing.Point(224, -24)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(200, 112)
Me.PictureBox1.TabIndex = 18
Me.PictureBox1.TabStop = False
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label2.Location = New System.Drawing.Point(120, 280)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(104, 24)
Me.Label2.TabIndex = 20
Me.Label2.Text = "Flight Number"
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label3.Location = New System.Drawing.Point(120, 248)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(104, 24)
Me.Label3.TabIndex = 4
Me.Label3.Text = "Plane Name"
'
'Label4
'
Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label4.Location = New System.Drawing.Point(120, 312)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(120, 32)
Me.Label4.TabIndex = 22
Me.Label4.Text = "Seaing Capacity:"
'
'txtflno
'
Me.txtflno.BackColor = System.Drawing.SystemColors.HighlightText
Me.txtflno.Location = New System.Drawing.Point(248, 280)
Me.txtflno.Name = "txtflno"
Me.txtflno.Size = New System.Drawing.Size(96, 20)
Me.txtflno.TabIndex = 5
Me.txtflno.Text = ""
'
'txtpname
40
PIA RESERVATION SYSTEM
'
Me.txtpname.BackColor = System.Drawing.SystemColors.HighlightText
Me.txtpname.Location = New System.Drawing.Point(248, 248)
Me.txtpname.Name = "txtpname"
Me.txtpname.Size = New System.Drawing.Size(96, 20)
Me.txtpname.TabIndex = 3
Me.txtpname.Text = ""
'
'txtsc
'
Me.txtsc.Location = New System.Drawing.Point(248, 312)
Me.txtsc.Name = "txtsc"
Me.txtsc.Size = New System.Drawing.Size(96, 20)
Me.txtsc.TabIndex = 6
Me.txtsc.Text = ""
'
'btnsave
'
Me.btnsave.Image = CType(resources.GetObject("btnsave.Image"), System.Drawing.Bitmap)
Me.btnsave.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnsave.Location = New System.Drawing.Point(128, 144)
Me.btnsave.Name = "btnsave"
Me.btnsave.Size = New System.Drawing.Size(56, 56)
Me.btnsave.TabIndex = 7
Me.btnsave.Text = "&Save"
Me.btnsave.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnnew
'
Me.btnnew.Image = CType(resources.GetObject("btnnew.Image"), System.Drawing.Bitmap)
Me.btnnew.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnnew.Location = New System.Drawing.Point(48, 144)
Me.btnnew.Name = "btnnew"
Me.btnnew.Size = New System.Drawing.Size(80, 56)
Me.btnnew.TabIndex = 8
Me.btnnew.Text = "&New Plane"
Me.btnnew.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btndel
'
Me.btndel.Image = CType(resources.GetObject("btndel.Image"), System.Drawing.Bitmap)
Me.btndel.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btndel.Location = New System.Drawing.Point(304, 144)
Me.btndel.Name = "btndel"
Me.btndel.Size = New System.Drawing.Size(64, 56)
Me.btndel.TabIndex = 65
Me.btndel.Text = "Delete"
Me.btndel.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnsear
'
Me.btnsear.Image = CType(resources.GetObject("btnsear.Image"), System.Drawing.Bitmap)
Me.btnsear.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnsear.Location = New System.Drawing.Point(248, 144)
Me.btnsear.Name = "btnsear"
Me.btnsear.Size = New System.Drawing.Size(56, 56)
41
PIA RESERVATION SYSTEM
Me.btnsear.TabIndex = 64
Me.btnsear.Text = "Search"
Me.btnsear.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btnup
'
Me.btnup.Image = CType(resources.GetObject("btnup.Image"), System.Drawing.Bitmap)
Me.btnup.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnup.Location = New System.Drawing.Point(368, 144)
Me.btnup.Name = "btnup"
Me.btnup.Size = New System.Drawing.Size(56, 56)
Me.btnup.TabIndex = 63
Me.btnup.Text = "&Update"
Me.btnup.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'txtpnam1
'
Me.txtpnam1.BackColor = System.Drawing.SystemColors.HighlightText
Me.txtpnam1.Location = New System.Drawing.Point(248, 248)
Me.txtpnam1.Name = "txtpnam1"
Me.txtpnam1.Size = New System.Drawing.Size(96, 20)
Me.txtpnam1.TabIndex = 66
Me.txtpnam1.Text = ""
'
'txtpnam2
'
Me.txtpnam2.BackColor = System.Drawing.SystemColors.HighlightText
Me.txtpnam2.Location = New System.Drawing.Point(248, 248)
Me.txtpnam2.Name = "txtpnam2"
Me.txtpnam2.Size = New System.Drawing.Size(96, 20)
Me.txtpnam2.TabIndex = 67
Me.txtpnam2.Text = ""
'
'txtpnam3
'
Me.txtpnam3.BackColor = System.Drawing.SystemColors.HighlightText
Me.txtpnam3.Location = New System.Drawing.Point(248, 248)
Me.txtpnam3.Name = "txtpnam3"
Me.txtpnam3.Size = New System.Drawing.Size(96, 20)
Me.txtpnam3.TabIndex = 68
Me.txtpnam3.Text = ""
'
'btnref
'
Me.btnref.Image = CType(resources.GetObject("btnref.Image"), System.Drawing.Bitmap)
Me.btnref.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btnref.Location = New System.Drawing.Point(368, 144)
Me.btnref.Name = "btnref"
Me.btnref.Size = New System.Drawing.Size(56, 56)
Me.btnref.TabIndex = 69
Me.btnref.Text = "Refresh"
Me.btnref.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'btndisp
'
Me.btndisp.Image = CType(resources.GetObject("btndisp.Image"), System.Drawing.Bitmap)
42
PIA RESERVATION SYSTEM
Me.btndisp.ImageAlign = System.Drawing.ContentAlignment.TopCenter
Me.btndisp.Location = New System.Drawing.Point(184, 144)
Me.btndisp.Name = "btndisp"
Me.btndisp.Size = New System.Drawing.Size(64, 56)
Me.btndisp.TabIndex = 70
Me.btndisp.Text = "Display"
Me.btndisp.TextAlign = System.Drawing.ContentAlignment.BottomCenter
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("Arial Black", 14.25!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(120, 104)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(208, 24)
Me.Label1.TabIndex = 71
Me.Label1.Text = "Plane Information"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'frmplaneinfo
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.Color.Honeydew
Me.ClientSize = New System.Drawing.Size(472, 366)
Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label1, Me.btndisp, Me.btnref,
Me.txtpnam3, Me.txtpnam2, Me.txtpnam1, Me.btndel, Me.btnsear, Me.btnup, Me.btnnew, Me.btnsave,
Me.txtsc, Me.txtpname, Me.txtflno, Me.Label4, Me.Label3, Me.Label2, Me.PictureBox1, Me.PictureBox2,
Me.Label6})
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "frmplaneinfo"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "Add Plane Information"
Me.ResumeLayout(False)
End Sub
#End Region
43
PIA RESERVATION SYSTEM
cmd.CommandText = "select * from planeinfo where planenm='" & txtpnam1.Text & "'"
Try
Rd = cmd.ExecuteReader
If Rd.Read Then
txtflno.Text = Rd(1)
txtsc.Text = Rd(2)
sflag = True
Else
sflag = False
End If
Catch Ex As Exception
44
PIA RESERVATION SYSTEM
MsgBox(Ex.Message)
Finally
Rd.Close()
Rd = Nothing
End Try
End Sub
End Sub
45
PIA RESERVATION SYSTEM
End If
End Sub
End Sub
46
PIA RESERVATION SYSTEM
47
PIA RESERVATION SYSTEM
Me.btn2.ToolTipText = "Save"
'
'btn3
'
Me.btn3.ImageIndex = 2
Me.btn3.Text = "Delete User"
Me.btn3.ToolTipText = "Delete User"
'
'ImageList1
'
Me.ImageList1.ColorDepth =
System.Windows.Forms.ColorDepth.Depth8Bit
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
Me.ImageList1.ImageStream =
CType(resources.GetObject("ImageList1.ImageStream"),
System.Windows.Forms.ImageListStreamer)
Me.ImageList1.TransparentColor =
System.Drawing.Color.Transparent
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans
Serif", 9.75!, System.Drawing.FontStyle.Bold,
System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(56, 72)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(104, 24)
Me.Label1.TabIndex = 1
Me.Label1.Text = "User Name:"
'
'txtuser
'
Me.txtuser.Location = New System.Drawing.Point(96, 104)
Me.txtuser.Name = "txtuser"
Me.txtuser.Size = New System.Drawing.Size(120, 22)
Me.txtuser.TabIndex = 2
Me.txtuser.Text = ""
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("Microsoft Sans
Serif", 9.75!, System.Drawing.FontStyle.Bold,
System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label2.Location = New System.Drawing.Point(48, 136)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(104, 24)
Me.Label2.TabIndex = 3
Me.Label2.Text = "Password:"
'
'txtpasw
'
Me.txtpasw.Location = New System.Drawing.Point(96, 168)
Me.txtpasw.Name = "txtpasw"
Me.txtpasw.PasswordChar = Microsoft.VisualBasic.ChrW(42)
Me.txtpasw.Size = New System.Drawing.Size(120, 22)
Me.txtpasw.TabIndex = 4
Me.txtpasw.Text = ""
48
PIA RESERVATION SYSTEM
'
'cmdpre
'
Me.cmdpre.BackColor = System.Drawing.Color.Honeydew
Me.cmdpre.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdpre.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
Me.cmdpre.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdpre.Image = CType(resources.GetObject("cmdpre.Image"),
System.Drawing.Bitmap)
Me.cmdpre.Location = New System.Drawing.Point(208, 224)
Me.cmdpre.Name = "cmdpre"
Me.cmdpre.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdpre.Size = New System.Drawing.Size(27, 27)
Me.cmdpre.TabIndex = 10
Me.cmdpre.TextAlign =
System.Drawing.ContentAlignment.BottomCenter
'
'cmdnext
'
Me.cmdnext.BackColor = System.Drawing.Color.Honeydew
Me.cmdnext.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdnext.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
Me.cmdnext.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdnext.Image = CType(resources.GetObject("cmdnext.Image"),
System.Drawing.Bitmap)
Me.cmdnext.Location = New System.Drawing.Point(248, 224)
Me.cmdnext.Name = "cmdnext"
Me.cmdnext.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdnext.Size = New System.Drawing.Size(27, 27)
Me.cmdnext.TabIndex = 9
Me.cmdnext.TextAlign =
System.Drawing.ContentAlignment.BottomCenter
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.BackColor = System.Drawing.Color.Transparent
Me.Label3.Cursor = System.Windows.Forms.Cursors.Default
Me.Label3.Font = New System.Drawing.Font("Book Antiqua", 9.75!,
System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point,
CType(0, Byte))
Me.Label3.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label3.Location = New System.Drawing.Point(40, 232)
Me.Label3.Name = "Label3"
Me.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label3.Size = New System.Drawing.Size(81, 16)
Me.Label3.TabIndex = 7
Me.Label3.Text = "Total Users :"
'
'txtcount
'
Me.txtcount.Location = New System.Drawing.Point(136, 224)
Me.txtcount.Name = "txtcount"
49
PIA RESERVATION SYSTEM
End Sub
#End Region
Dim sflag = False
Dim dset As New DataSet()
Private Sub tbr1_ButtonClick(ByVal sender As System.Object, ByVal e
As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles
tbr1.ButtonClick
Select Case tbr1.Buttons.IndexOf(e.Button)
Case 0
txtusr1.Visible = False
txtuser.Visible = True
txtuser.Clear()
txtpasw.Clear()
Case 1
cmd.CommandText = "INSERT INTO usr values ('" &
txtuser.Text & "','" & txtpasw.Text & "' )"
Try
cmd.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.Message)
End Try
Case 2
txtuser.Visible = False
50
PIA RESERVATION SYSTEM
txtusr1.Visible = True
txtusr1.Clear()
txtpasw.Clear()
txtusr1.Focus()
End Select
End Sub
51
PIA RESERVATION SYSTEM
Try
Rd.Close()
Rd = Nothing
Catch
End Try
End Try
If sflag = False Then MsgBox("User Name Not Found ")
End If
End Sub
Try
txtuser.DataBindings.Add("text", dset, "usr.usr")
txtpasw.DataBindings.Add("Text", dset, "usr.pwd")
recnodisp()
Catch Ex As Exception
MsgBox(Ex.Message)
End Try
txtusr1.Visible = False
txtuser.Visible = True
End Sub
End Class
52
PIA RESERVATION SYSTEM
OUTPUT DESIGN
Major and important output of the system is in the form of reports.Following types of
reports have been designed:
1) AVAILABILITY REPORT
53
PIA RESERVATION SYSTEM
54
PIA RESERVATION SYSTEM
55
PIA RESERVATION SYSTEM
56
PIA RESERVATION SYSTEM
To illustrate the user interface design of this reservation system , we developed a formal
graphical prototype. In this regard, we designed the following user interface screens:
1) Process Control Screen
2) Data Entry Screen
57
PIA RESERVATION SYSTEM
DATABASE DESIGN
BACKGROUND
This project deals with the development of a Software
Requirements Specification (SRS) document that specifies what an airline reservation
system should and should not do. The SRS document is divided into five sections namely
1. System Objectives
This section lists all the goals and objectives of the system categorized based on
the viewpoint of the airline company and the customer (passenger). These are
higher-level goals which are somewhat broad in nature. They help in a top-down
development of the SRS.
2. System Context
This section clearly depicts the environment and boundaries of the Airline
Reservation System and the entities with which it interacts. It helps us see how
the system fits into the existing scheme of things. What the system will do by
itself and what it expects other entities to do is clearly delineated
3. Functional Requirements
This section is the bulk of the document and precisely states the functions of the
system – what it should do and what it should not. This section is split into
subsections modeled after the real world activities like reserving tickets,
rescheduling tickets etc. Freedom from ambiguity and navigability were kept in
mind while documentation. A consistent terminology has been followed
throughout and the terms are explained in the appendix. The subsections follow a
logical sequence that reflects the real world. For example, a customer cannot
reschedule a ticket unless he has bought one earlier and cannot buy one unless he
has checked its availability.
4. Non-functional Requirements
These are quality requirements that stipulate the performance levels required of
the system for various kinds of activities. Numerical lower and upper limits set
conditions on the response times, access times etc of the system. Sometimes,
tradeoffs are necessary among various non-functional requirements.
58
PIA RESERVATION SYSTEM
5. Future Requirements
These are the specifications which are not provided for now in the current version
of Airline Reservation System but which could be incorporated into future
versions. Some of these need advanced technologies and interfaces with other
systems. The Airline Reservation System could be designed in future to enhance
the existing capabilities or add entirely new ones.
The assumptions and limitations of the Airline Reservation System have been
interspersed in the SRS to present the same in their proper context.
1. System Objectives
59
PIA RESERVATION SYSTEM
1.3.2 Show all possible combinations and itineraries available for a pair of origin-
destination cities.
1.3.3 Reduce redundancy in the information required from the customers in order for
them to buy tickets, create user accounts etc.
1.3.4 Check the validity of input data and give a feedback to the user in case of errors
or inconsistency.
1.3.5 Provide flexible access modes to users – internet, telephone, PDA.
1.3.6 Protect customers’ privacy concerns.
1.3.7 Make it easy for travelers to check the ticket status or make changes to their trip.
2. SYSTEM CONTEXT
2.1 The Airline Reservation System will provide the following types of easy-to-use,
interactive, and intuitive graphical and telephonic interfaces.
2.1.1 The Airline Reservation System will provide an easy-to-use, intuitive Graphical
User Interface (GUI) as part of the Clerk/Administrator’s working desktop
environment.
2.1.3 The Airline Reservation System will also provide an easy-to-use, simple
telephonic user interface, which can be accessed by the customers through
telephone or cell phone from anywhere. This interface shall provide access, only
to the following functionalities, namely, check flight schedule and check ticket
status including any change in the flight timings. The functionality available
through this telephonic interface is limited because of security constraints.
3. FUNCTIONAL REQUIREMENTS
3.1 User Accounts
3.1.1 The passenger, who will henceforth be called the ‘user’, will be presented with 3
choices by the reservation system, as the first step in the interaction between them. A user
can choose one of these and his choice would be governed by whether he is a guest or a
registered user and whether he wants to check the availability of tickets or also block/buy
them. The terms ‘registered user’ and ‘guest’ are described below.
3.1.1.1 A user who has traveled by the airline earlier would have been given a user id and
a password. He would have his personal information stored in the database referred to
earlier in section 2 as ‘DB-user’. This ‘personal information’ would be henceforth
referred to as ‘profile’. Such a user with a profile in DB-user shall be called a ‘registered
user’. A registered user will be able to check the availability of tickets as well as
block/buy a ticket by logging into the system.
60
PIA RESERVATION SYSTEM
The system shall require a user to register, in order to carry out any transactions
with it except for checking the availability of tickets. It will ask the user for the
following information at the least – a user id, a password, first name, last name,
address, phone number, email address, sex, age, preferred credit card number. The
system will automatically create a ‘sky miles’ field and initialize it to zero in the
user’s profile.
3.3.1 After logging in a user (either a registered user or a guest), the system shall
request him to enter the following details – origin city and destination city. “City’
is a generic term and refers to a city or town as the case may be. The origin and
destination cities would be entered as text.
3.3.2 The system shall now refer to the flight schedule database, referred to as ‘DB-
geography’ in section 2, and check if there is any ambiguity with the names of the
cities. In case there are more than two cities with same name as entered by the
user, the system shall list all of them (with more qualifications) and ask the user to
select one of them. In case, either the origin or destination cities are not listed in
DB-geography as being directly serviced by the airline, the system shall suggest
the nearest city to which service is available, including the distance of the
destination city from this nearest city.
3.3.3 After the origin and destination cities are ascertained, the system shall now access
the flight schedule database, referred to as ‘DB-schedule’ in section 2, and checks
if there is a direct operational service between the two cities. If not, the system
shall suggest possible routes and transfer points using a ‘route selection
algorithm’. The user shall now be presented with a choice of either selecting one
of the routes. In case he selects a route, the system shall fill in the intermediate
stop over points and create a multiple trip itinerary for the user.
61
PIA RESERVATION SYSTEM
3.3.4 The system shall now ask the user to enter the following details - class, one-way or
round trip, departure date and the number of adult passengers, children and senior
citizens.
3.3.4.1 ‘Class’ refers to business class/first class/club class/smoking/non smoking. This
choice shall be made by the user through a drop down menu indicating all the
possible combinations of choices.
3.3.4.2 One-way/round trip shall be either a drop down menu or a check box selection.
‘Departure date’ refers to either a single date or a range of dates, entered through a
calendar-like menu. This menu shall not show dates in the past or those dates that
are too ahead in the future (as determined by the airline policy). In case, the trip is
a round trip, the system shall also ask the user to enter the departure date on the
return trip.
3.3.4.3 Having taken all the above input from the user, the system checks for any false
entries like the departure date on the return trip being earlier than the departure
date on the onward trip. In case of incompatibility, the system shall display a
suitable error message and prompt the user to enter the information correctly.
3.3.5 Having taken all of the information as laid out above in 3.3.1 and 3.3.4, the
system shall now access the flight schedule database ‘DB-schedule’ and queries it
using the input provided by the user.
3.3.6 The system queries the reservation database ‘DB-reservations’ to check which of
the flights on the schedule have seats available. The system displays the results in
a suitable form (a tabular form) with the following information depicted – for
each flight number – the flight number, departure time in origin city, arrival time
in destination city, the duration of the flight (taking into account the possibility of
a change of time zone) and the number of seats available on that flight.
3.3.6.1 There can be several flights between two cities and all of them will be listed for
the particular date that the user wants to depart from the Origin City. In case, the
user has entered a range of dates, the system shall display all the flights for all
those dates in the range.
3.3.6.2 If the user has requested a round trip, the system shall display two tables - one for
the onward trip and one for the return trip. There will be a check box in front of
each line in the table representing a flight with available seats.
3.3.6.3 The user is now asked to check one of the boxes reflecting a choice of a flight
number and time. In case of a round trip, the user is asked to check one box each
in the two tables.
3.3.7 The system shall now display the price of the ticket for the trip. This will be the
sum of the prices for all the members of the travel party being represented by the
user.
3.3.7.1 The system shall also list any rules regarding the cancellation of tickets – what
percentage of the price will be refunded within what date ranges. This will be
displayed as a table.
62
PIA RESERVATION SYSTEM
3.5.1 A user who has earlier blocked a ticket after going through the steps 3.2 through
3.4 is required to either confirm the ticket before two weeks of the departure date
or the ticket stands cancelled.
3.5.2 To let the user confirm a ticket, the system shall first log him on and ask for his
blocking number. Then it accesses DB-reservation and removes the check mark,
which so far represented a blocked seat. The seat is now confirmed and reserved
for the user.
3.5.3 The system accesses DB-user and charges the price of the ticket to the credit card
number of the user. It simultaneously generates a confirmation number and
displays it for the user to note down. The ticket has been reserved.
63
PIA RESERVATION SYSTEM
3.5.4 It adds the mileage of the trip (accounting for the number of travelers) to the sky
miles in his profile.
3.6.1 The system shall present the user with an option to re-schedule his travel party’s
trip. In order to do this, the system first logs on the user and requests his
confirmation number. It will not allow a user to reschedule a blocked ticket but
only a confirmed ticket. Using this, it queries DB-reservation and presents the
details of the trip to the user, including but not limited to origin city, destination
city, date of departure and date of arrival (in case the trip is a round trip).
3.6.2 The system shall now ask the user to select new dates from the calendar-menu. It
now goes through step 3.3.
3.6.2.1 In case, there are no available tickets for the dates entered, it displays a suitable
message informing him that rescheduling to that date is not possible.
3.6.2.2 In case there are tickets available, the system asks the user to select the flight
number for the trip (another for the return trip if the trip is a round trip) and
proceeds to update the database.
3.6.3 The system accesses DB-reservation and decrements the number of available
seats on the flight(s) by the number of members in the user’s travel party. It then
increments the entry for the previous flight by the same number to reflect an
increase in the available seats on it as a result of the rescheduling.
3.6.4 The system now checks if there is any difference in the prices of the tickets. If so,
it accesses DB-user and charges or credits the credit card as the case may be. The
system generates a new confirmation number and displays it to the user.
3.7 CANCELLATION
3.7.1 The system shall also give the user an option to cancel a confirmed ticket or a
blocked ticket.
3.7.1.1 The latter case is simpler and will be dealt with first – the system shall first log on
the user and request the blocking number. Then it accesses DB-reservation and
updates it by incrementing the number of available seats by the number of people
in the user’s travel party.
3.7.1.2 In the former case, i.e., for a confirmed ticket, it asks for the confirmation number
and accesses DB-reservation and presents the details of the trip as in step 3.6.1.
3.7.2 It then lists the applicable rules for cancellation of tickets and depending on the
system date and the departure date; it displays the % of the amount that would be
refunded if the user cancels the ticket.
3.7.3 After the user cancels the ticket, the system generates a cancellation number and
displays it for the user to note down. It accesses DB-reservation and updates it by
incrementing the number of available seats on that flight by the number of
64
PIA RESERVATION SYSTEM
travelers in the user’s party. It accesses DB-user and credits the refund amount to
his credit card number. The system then deducts the mileage of the trip (taking
into account the number of travelers in his party) from the sky miles in his profile.
The system shall allow any user (registered or none registered) to access the
details about the arrival and departure times of a flight by requesting the user to
input the flight number and date. The system accesses DB-schedule and presents
the time of arrival and departure.
4 NON-FUNCTIONAL REQUIREMENTS
4.1 PERFORMANCE
4.1.1 Response time of the Airline Reservation System should be less than 2 second
65
PIA RESERVATION SYSTEM
most of the time. Response time refers to the waiting time while the system
accesses, queries and retrieves the information from the databases (DB-user, DB-
schedule etc) (A local copy of flight schedule database is maintained as DB-
schedule to reduce this access time)
4.1.2 Airline Reservation System shall be able to handle at least 1000
transactions/inquiries per second.
4.1.3 Airline Reservation System shall show no visible deterioration in response time as
the number of users or flight schedule data increases.
4.2 RELIABILITY
4.3.1 USABILITY
4.3.2 Airline Reservation System shall provide an easy-to-use graphical interface
similar to other existing reservation system so that the users do not have to learn a
new style of interaction.
4.3.2 The web interface should be intuitive and easily navigable Users should be able to
understand the menu and options provided by Airline Reservation System.
4.3.3 Any notification or error messages generated by Airline Reservation System shall
be clear, succinct, polite and free of jargon.
4.4 Integrity
4.4.1 Only system administer has the right to change system parameters, such as pricing
policy etc. The system should be secure and must use encryption to protect the
databases.
4.4.2 Users need to be authenticated before having access to any personal
data.
66
PIA RESERVATION SYSTEM
4.5.1 INTEROPERABILITY
4.5.2 Airline Reservation System shall minimize the effort required to couple it to
another system, such as flight schedule database system.
5 Future Requirements
5.1 Support for waiting list functionality
5.1.1. Airline Reservation System shall be made more flexible in ticket reservation
handling, and shall accept waiting list for reservation.
5.1.2 The waiting list handling capability of Airline Reservation System shall be made
more advanced, by enabling it to send requests to the Flight Scheduler to schedule
extra flights, depending on the demand in a particular corridor, and providing the
wait listed passengers with a new flight.
5.2 The telephonic interface of the Airline Reservation System shall be improved to
support more functionality like allowing the customers to cancel a ticket etc., by
incorporating security measures.
5.3 Airline Reservation System shall be made more dynamic and helpful to the users
by enabling it to send instant messages to the passengers, of a cancelled or
rescheduled flight, through email, phone, fax etc., informing them about the
change, and providing them with other feasible alternatives.
5.4 Information about the kind of meals served in a flight and the type of
entertainment offered on a flight should be incorporated into the system.
5.5 Provide service integration with auto rental agencies and hotel chains.
5.6 Interface for the travel agents shall be provided in the future versions with
additional features like informing them of any availability of seats on a flight
which was earlier booked to capacity.
5.7 Choices like aisle or window seats shall be provided to the users.
5.8 The Airline Reservation System shall be able to handle the situation where flight
services are available to multiple airports in a single city.
67
PIA RESERVATION SYSTEM
A I RL IN E T I CK E T IN G R E S E RVAT I ON S Y S T E M
(E NT I TY R E L AT I ON S H I P D IA GR A M )
SCHEDULE PLANE
Flight Number Plane Name
Departure Date Flight Number
Departure Time Total Seats
Arrival Date Available Seats
Arrival Time
Origin
Destination
CUSTOMER
Customer Name
Father Name
NID
Age
Gender
Address
RESERVATION Contact Number
Customer Name Reservation Date
Father Name Origin
Flight Number Destination
Departure Date
Departure Time
Arrival Date
Arrival Time
Seat Number
Cancel Seat
68
PIA RESERVATION SYSTEM
APPENDIX
1. ER Diagram
• Blocking – This term refers to the temporary holding of a seat(s) on a flight for a
specific period of time. The user incurs no cost for blocking a ticket, but must
make a decision at least two weeks prior to the date of departure.
• Confirming – Process of changing a ticket from a Blocked status to a bought
status.
• Rescheduling – This process means that the user is allowed only to postpone the
travel date and he has to pay the difference in fare. No other details can be
changed through this process. For example the number of passengers can’t be
changed.
• Base Price – This refers to the maximum price of a ticket, which usually is the
price when the purchase is made at the last minute. This is used in arriving at the
discounted price which depends on various factors like early bird booking etc.
• Flight – This refers to a one-way trip made by an aircraft from a particular to a
particular destination at a particular time on a particular weekday.
• Flight Number – This uniquely identifies a flight.
Precondition
1. The user has logged into the system.
2. User has entered all the necessary input - details of the trip
3. Seats are available for the above request.
69
PIA RESERVATION SYSTEM
Post condition
1. The seat requested is reserved and a reservation number is issued to the
customer.
2. The available number of seats in the database DB- reservation is updated.
3. Sky miles are updated in the customer profile.
4. The Customer pays money is charged for the ticket fare.
Triggering Event
The user invokes the “Confirm Ticket” feature in the Airline Reservation
System user interface after the confirmation of the customer.
Precondition
1. The user is logged onto the Airline Reservation System.
2. The user has entered a blocking number.
3. The date of departure is at least two weeks into the future
Post condition
1. The ticket is reserved and a reservation number is generated and displayed.
2. The check mark indicating the blocked status in the DB reservation is
removed, and an updated database results.
3. The customer is charged money of the ticket fare.
70
PIA RESERVATION SYSTEM
71
PIA RESERVATION SYSTEM
72
PIA RESERVATION SYSTEM
SYSTEM IMPLEMENTATION
IMPLEMENTATION
1. Coding
2. Testing
3. Installation
4. Documentation
5. Training
6. Support
73
PIA RESERVATION SYSTEM
POST-IMPLEMANTION REVIEW
The post- implementation review usually takes place about a year after the system is
implemented.
MAINTENANCE
74
PIA RESERVATION SYSTEM
Testing Strategies
Code Testing
User Training
Conclusion
75
PIA RESERVATION SYSTEM
TESTING
The testing process can being and process can being and proceed in parallel with the
coding. As each program module is produced, it can be tested individually, then as part of
a larger program, and then as part of a large system .A main requirement of testing is that
it must be planned.
Testing involves using test data and scenarios to verify that each component and the
whole system work under normal and abnormal circumstances.
The purpose of testing is confirming that the system satisfies requirements, including
finding errors.
• UNIT TESTING
We have performed Unit Testing for the new Reservation System PIA Lahore by
dividing the whole system into Input/Output, Data Formates, Record Keys,
Calculations, Table Constructions, Logical Control Structures, Comparisons and Error
Processing Units.
• SYSTEM TESTING
System has been multiple times tested and evaluated to ensure that it is operating
according to the desired requirements by integrating all modules of the system.
76
PIA RESERVATION SYSTEM
• VOLUME TESTING
CODING
Coding is the process, whereby the physical designs specifications are created by the
analysis team are turned into working computer code by the programming team.
Different code modules have been tested using sampling approch and
conclusions have been derived from these tests. Due to the much bulky
and heavy code,we have aslo adopted heuristic approach.
USER TRAINING
Although the system is userfriendly and flexible enough to operate without any special
and tough training, we have provided a comprihensive user guide to communicate with
exeptional results. Following sources can be used for users training.
77
PIA RESERVATION SYSTEM
INSTALLATION
It is the process during which the current system is replaced/ supported by the new
system. This includes conversion of existing data, software, and documentation and work
procedures to those consistent with the new system.
DIRECT INSTALLATION
It is the changing over from the old information system to new one by turning off the old
system as the new one is turned on.
PARALLEL INSTALLATION
Running the old information system and the new one at the time until management
decides the old system can be turned off.
Trying out a new information system, at one site and using the experience to decide if and
how the new system should be deployed throughout the organization.
PHASED INSTALLATION
It is the changing over from the old information system to a new one incrementally,
starting with one or a few functional component and then gradually extending the
installation to cover the whole new system.
DOCUMENTATION
78
PIA RESERVATION SYSTEM
SYSTEM DOCUMENTATION
It is the detail information about a system’s design specification, its internal workings,
and its functionality.
INTERNAL DOCUMENTATION
The system documentation that is part of the program source code or is generated at
compile time.
EXTERNAL DOCUMENTATION
The system documentation that includes the outcome of such structured diagramming
techniques as data flow and entity-relational diagrams.
USER DOCUMENTATION
It is the written or other visual information about an application system, i. e; how it work,
and how to use it.
USER TRANNING
Training of the user like Database Administrator (DBA) and Data Entry Operator (DEO)
is vet essential for the successful operation of the computer based information system.
Different method that is used mostly for information System is categorized as follows:
1. Tutorial
2. Course
3. Computer
4. Interactive Training Manuals
5. Software Help Components
SUPPORT
Support of the system provides on-going educational and problem-solving assistance to
information system users. For in-house developed system, support materials and jobs will
have to be prepared or designed as part of the implementation process.
79
PIA RESERVATION SYSTEM
Once the information system is placed into operation i.e., implemented, the system
support phase of the project starts. This may include:
CONCLUSION
Under these circumstances mentioned in this project, the decision making is very difficult
for the Administration from the existing system can handle only a limited number of
employee records and their concerned information.
The proposed system compiles with all requirements of the PAKISTAN INTERNATIAL
AIRLINE. The system is developed using VB .NET, access and crystal report and has
been tested efficiently under window 2000 Professional Edition on 933 MHZ Pentium –
III computer Following are the salient feature of the new system
80
PIA RESERVATION SYSTEM
FUTURE EXTENTION
81
PIA RESERVATION SYSTEM
FUTUER EXTINSION
Our future extension is to develop or modify this project in advance level. We will try to
develop it in ASP. ASP, SQL server Centralized Database System in future.
System will work on Intranet Environment .Therefore the durability of the data increases
as the data can be stored on different hardware devices.
82
PIA RESERVATION SYSTEM
CHAPTER # 8
USER GUIDE
83
PIA RESERVATION SYSTEM
GETTING STARTED
Choose Reservation > go to add reservation > check the available seats.
84
PIA RESERVATION SYSTEM
SPLASH FORM
Choose Reservation > go to add reservation > check the available seats.
85
PIA RESERVATION SYSTEM
2) After entering the required and valid data, click the Save button
to save the record.
If you don't want to save the record and get the control out of the
Reservation Form, Then click the Cancel button.
86
PIA RESERVATION SYSTEM
System will show a confirmation message. Click ' Yes ' on the
message box to actally delete the existing record.
87
PIA RESERVATION SYSTEM
88
PIA RESERVATION SYSTEM
Different types of Seat Reservation Reports can be viewed from Report submenu.
Standard reports include:
89
PIA RESERVATION SYSTEM
90
PIA RESERVATION SYSTEM
USING TOOLS
91
PIA RESERVATION SYSTEM
In order to close the System windows and get the control out of the
System adopt one of the following ways:
1) Choose Exit
2) Press Alt + F4
3) Use the Close Button from the Control Box located on the right
top corner of the Main System Window.
92