Professional Documents
Culture Documents
PROJECT REPORT
ON
COURIER SERVICES
SUBMITTED IN THE PARTIAL FULFILLMENT OF THE
REQUIREMENT FOR THE AWARD OF THE DEGREE
OF
BACHELOR OF COMPUTER APPLICATION
(2003-2006)
SUBMITTED TO:
SUBMITTED BY:
DHANANJAI SINGH
R.NO.: 9357028
BCA-VI SEM.
INSTITUTE OF MANAGEMENT
STUDIES
ACKNOWLEDGMENT
A project always is a result of collaborative efforts. This one has been
especially so. I am indebted to many people who have made this
happen. It is the right time to speak out the word of thanks for them. I
sincerely admit that without their efforts & blessings, this project
would not have taken its presence.
I am also thank to Miss Taru Varshney ( Project Guide BCA) for her guided
us in this project idea.
DHANANJAI SINGH
BCA-VI SEM.
INDEX
1. ACKNOWLEDGEMENT
2. CERTIFICATE OF ORIGINALITY
3. INTRODUCTION
4. HARDWARE REQUIREMENT
5. SOFWARE REQUIREMENT
6. INVESTIGATION INFORMATION REQUIRED
7. SOFTWARE DEVELOPMENT LIFE CYCLE
8. FORM & CODING
9. BIBLIOGRAPHY
Introduction
INTRODUCTION
PURPOSE :
The project on Intranet Module shall be a useful product for managing the courier
services within a organization. It facilitates the users to send the couriers to other person
and to receive from others.
SCOPE:
This project provides the facility to all users to send and receive the courier. They can also
update and delete the courier, and also get the information of the status of the courier.
DOCUMENT CONVENTIONS:
The conventions shall be used to design the system are given below in the
following table so that the user can easily understand the system -
Abbreviation
D.I.M.
S/W
H/W
Meaning
Development of
the Intranet
Module
Software
Hardware
INTENDED AUDIENCE AND READING SUGGESTIONS :The document is mainly meant for the following people which shall
involve to design this system and to make the system more
interactive :-
4) Project Members
The rest of the document have very less number of abbreviation and
easy to understand as it is written in simple English language. The
document
contain
mainly
description
of
product
,hardware
Mastering in VB
System Features
3. System Features
3.1 Administrator
3.2 Working
3.3 Dispatching
3.4 Enquiry
3.1 Administrator : This department have all right to provide or restrict to any department or employee to the
functionality of the project.
3.1.1 Add Employee:Only the administrator will add the employee information and provide the login id
and password when any new employee will recruite into the enterprise of the courier
services.
3.1.2 Create alias:The administrator will provide the aliase of password of the employee who want to
go on the leaves. This feature will provide the working by another employee in place of
regular employee without knowing their password.
3.1.3 Attendance Sheet :The presentation or absent of the employee will be handled by the administrator.
Any employee can not get their proxy attendance by the change of system date or any
other type.
3.1.4 Courier information:Administrator has the right to get any information about the courier at any time
without any permission of regarding department.
3.1.5 Employee information:-
The employee database can be updated by the administrator department and the
administrator can get the any information about the employee working status.
3.1.6 Update calculation table:Only the administrator have right to change the Calculation table as per the changes
in the transportation cost.
3.2 Working department:3.2.1 New courier entry:Only the working department will enter the information of the new courier into the
data base.
3.2.2 Update courier :The working department employee can change the information about the courier as
per the request of the user with in the fix time.
3.2.3 Delete Courier :
The working department employee can cancel the courier as per the request of the
user with in the fix time.
3.3 Dispatching department :3.3.1 Update courier:It updates the status of the courier where the courier is at the current time.
3.2.1
Courier information :The dispatching department employees can get the information of the courier.
3.4 Enquiry:3.4.1 Enquiry of Charges:This feature will facilitate to make calculation of the amount for sending a courier
on the basis of the destination, weight & rate/gm.
3.4.2 About Employee:Through this feature the employee can retrieve the information about the other
employees.
3.4.3 About Courier:When the user is needed the information about the courier then employee can tell the
current status of the courier by this feature.
External
Interface
Requirements
user interface.
MDAC or ODBC is a S/W that acts as an interface between Oracle and VB forms. In
case of Intranet/LAN workstations, where same data is shared among many users,
global data area is used.
4.4. Communication Interfaces
Since our proposed system shall be net-enabled so, communication interface
is Required . Proposed system contains four sites working concurrently. In the
proposed system, single database which is common to all four sites will be available
on server and all sites will be attached to server actively. In case of intranetworking,
Windows NT protocols are already in use. In case of mailing to developers for
further query, Microsoft Outlook Express is by default used by the Windows OS.
Other
Nonfunctional
Requirements
5.
5.3.Security Requirements
Security of the system shall definitely be maintained through the password system.
The system is devided in the four security module concern. These are administrator,
enquiry department, working department, dispatching department. Each and every
employee of every department will be authenticated with a login id and password.
Any employee can not change the system date to make proxy presentation of
yourself.
Portability: -- this product shall perfectly portable since it shall easy to install this
product normally on any systems with minimum hardware and software
requirements.
Reusability: -- this product shall not for just single time useable. User shall reuse
this product many time as he or she wants.
Robustness: -- this product shall have less robustness .
Reliability: -- the reliability of this product shall be dependent upon maintenance of
the database.
Other
Requirements
6. Other Requirements
Till this time, any further requirement is not visible. If in case, the need arises, thatll
be specified afterwards.
Appendix A: Glossary
As this is just a single project and the terms and language used in this project are
easy to interpret, and the abbreviations have already been described . The need
of building a separate Glossary is not viewed.
Design
Database Design
Table Name: c_emp
Field Name
Emp_id
emp_name
emp_address
Emp_phone
Constraint
Primary key
Data Type
Number(3)
Varchar(15)
Varchar(20)
Number(11)
Constraint
Primary Key
Check
Foreign Key
Data Type
Varchar(8)
Varchar(10)
Varchar(13)
Varchar(10)
Number(3)
Varchar(8)
Varchar(10)
Constraint
Foreign key
Check
Check
Data Type
Varchar(8)
Varchar(3)
Date
Constraint
Foreign Key
Check
Data Type
Varchar(8)
Date
Varchar(3)
Date
Date
Varchar(8)
Varchar(10)
Constraint
Primary Key
Check
Foreign key
Data Type
Number(4)
Varchar(15)
Varchar(20)
Number(11)
Varchar(15)
Varchar(20)
Number(11)
Varchar(3)
Varchar(10)
Number(3)
Number(3)
Constraint
Primary Key
Data Type
Varchar(15)
Number(2)
Constraint
Data Type
Varchar(8)
date
DFDS
Enter
Login
Administrator
And
Password
Validate for
login &
password
emp_login
add Employee
C_emp
Attendence
sheet
attendence
Administrator
Create aliase
performance
Update
calculation table
calculation
Courier
Informatio
n
Courier_details
Password
emp_login
New Courier
Entry
courier_details
Update
Courier
courier_details
Delete
Courier
courier_details
Validate login
& Password
Dispatching
Department
Update
Courier
emp_login
Courier
Information
Courier_details
Courier_details
Enter Login
Enquiry
Department
& Password
About Charges
About
Employee
calculation
c_emp
emp_login
About
Courier
courier_details
System Analysis
and
Design
suitable for tightly specified systems such as compilers or operating system but breaks
down when applied to highly interactive projects such as graphical end user applications.
The spiral model represents a considerable evolution of the waterfall model by offering
a risk driven approach that emphasizes the activities of prototyping and the evaluation of
alternatives against initial hypotheses. This model also recognizes the applicability of
existing development model to particular tasks and as such can accommodate them as
special cases of the spiral model. the spiral model considers the development process as a
number of successive progressions through each of the models stages, each time at a
greater level of elaboration, thus providing an incremental approach to both software
development and maintenance. This approach is graphically represented as a continuous
spiral traversal through each of the models stages. Another advantages over the waterfall
model is that depending on specific project objectives and constraints, and the outcome of
the risk analysis phase, different development approaches or particular combinations will
prove to be more suitable than others. Thus for any given application, not all of the
models stages will be equally important, followed in the same sequence, or iterated
through the same number of times. However, despite the fact that it represents a
significant improvement over the waterfall model, the spiral model does not adequately
address the sufficient emphasis on the problem domain or the behavioral aspects of
system development.
To understand the structure and working of the SDLC, well examine each phase in turn.
The Preliminary Investigation
The preliminary Investigation Phase may begin with a phone call from a customer, a
memorandum from a vice president to the Director of the system development, a letter
from a customer to discuss a perceived problem or deficiency, or a request for something
new in an existing system. The purpose of the preliminary Investigation is not to develop
a system, but to verify that a problem or deficiency really exist, or to pass judgment on
the new requirement. This phase is typically very short, usually not more then a day or
two for a big project, and in some instances it can be as little as two hours. The end result,
to the letter. Any deviations would usually have to be approved either by the project
leader or by the customer. The development phase can be split into two sections, that of
Prototyping and Production ready Application Creation. Protyping is the stage of the
development phase that produces a pseudo-complete application, which for all intents and
purpose appears to be a fully functional. Developers use this stage to demo the
application to the customer as another check that the final software solution answers the
problem posed. When they are given the OK from the customer, the final version code is
written into this shell to complete this phase.
Implementation
In the implementation phase, the project reaches fruition. After the development phase of
the SDLC is complete, the system is implemented. Any hardware that has been purchased
will be delivered and installed. Software, which was designed in phase 3, and
programmed in phase 4 of the SDLC, will be installed on any PCs that require it. Any
persons that will be using the program will also be trained during this phase of the SDLC.
The system development life cycle during the implementation phase, both the hardware
and the software is tested. Although the programmer will find fix many problems, almost
invariably, the user will uncover problems that the developer ha been unable to simulate.
This leads on the sixth and final stage.
Audit and Maintenance
Phase 6 of the SDLC is the Audit and Maintenance Phase. In this phase someone (usually
the client, but sometimes a third party such as an auditor) studies the implemented system
to ensure that it actually fulfills the requirement statement. Most important, the system
should have solved the problems or deficiency, or satisfied the desire that was identified
in phase 1 of the SDLC the preliminary investigation. More than a few programs and
systems have been fully developed that, for one reason or another, simply never met the
original requirements. The maintenance portion of this phase deals with any changes that
need to be made to the system. Changes are sometime the result of the system not
completely fulfilling its original requirements, but they could also be the result of
customer satisfaction. Sometimes the customer is so happy with what they have got that
they want more. Changes can also be forced upon the system because
Form
and
Coding
error_lable:
MsgBox " Not a correct login name ", 0, "alert"
Text1.Text = objrs("alias_name")
Text2.Text = objrs("alias_password")
End Sub
Private Sub Command2_Click()
On Error GoTo DeleteErr
commandstring = "update emp_login set alias_name = " & "'" &
Text1.Text & "'" & ",alias_password =" & "'" & Text2.Text & "'" & "where
login_name = " & "'" & T_login_name.Text & "'"
With objconn
.Execute (commandstring)
End With
empty_text_fields 'call to procedure
Exit Sub
DeleteErr:
MsgBox Err.Description
End Sub
Private Sub empty_text_fields()
T_login_name.Text = ""
Text1.Text = ""
Text2.Text = ""
End Sub
error_lable:
MsgBox " Not a correct LOGIN NAME ", 0, "alert"
End Sub
'error_lable:
'
End Sub
Private Sub attach_textfields_to_emplogin_tablefields()
Set objrs = New ADODB.Recordset
objrs.Open "select * from emp_login " & " where login_name = " & "'" &
T_LOGIN_NAME.Text & "' ", objconn, adOpenDynamic,
adLockOptimistic
Text9.Text = objrs("designation")
Text8.Text = objrs("login_password")
Text5.Text = objrs("standby_password")
On Error GoTo err_alias
Text7.Text = objrs("alias_name")
Text6.Text = objrs("alias_password")
Exit Sub
err_alias:
MsgBox "ALIAS FOR USER DOESN'T EXIST", vbOKOnly
Text7.Text = ""
Text6.Text = ""
End Sub
Private Sub attach_textfields_to_empdetails_tablefields()
Set objrs1 = New ADODB.Recordset
objrs1.Open "select * from c_emp,emp_login where c_emp.emp_id =
emp_login.emp_id and emp_login.login_name = " & "'" &
mbDataChanged = False
End Sub
End If
Case vbKeyDown, vbKeyPageDown
If Shift = vbCtrlMask Then
cmdLast_Click
Else
cmdNext_Click
End If
End Select
End Sub
Exit Sub
GoPrevError:
MsgBox Err.Description
End Sub
mbDataChanged = False
End Sub
adoPrimaryRS.MoveFirst
mbDataChanged = False
Exit Sub
GoFirstError:
MsgBox Err.Description
End Sub
adoPrimaryRS.MoveLast
mbDataChanged = False
Exit Sub
GoLastError:
MsgBox Err.Description
End Sub
Exit Sub
GoPrevError:
MsgBox Err.Description
End Sub
End Sub
'error_lable:
End Sub
End Sub
Private Sub empty_text_fields()
t_courier_id.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
End Sub
Private Sub connectivity_for_info()
Set objconn = New ADODB.Connection
With objconn
.Provider = "msdaora"
.ConnectionString = "user id=scott;password=tiger"
.Open
End With
On Error GoTo error_lable
Set objrs = New ADODB.Recordset
objrs.Open "select * from courier_details " & " where courier_id = " & "'" &
t_courier_id.Text & "' ", objconn, adOpenDynamic, adLockOptimistic
attach_textfields_to_tablefields 'call to procedure
Text4.Text = objrs("s_phone")
Text5.Text = objrs("r_name")
Text6.Text = objrs("r_address")
Text7.Text = objrs("r_phone")
Text8.Text = objrs("updatable")
Text9.Text = objrs("status")
Text10.Text = objrs("AMOUNT")
End Sub
'error_lable:
'
Option Explicit
Dim objconn As ADODB.Connection
Dim objrs As ADODB.Recordset
Dim objconn1 As ADODB.Connection
Dim objrs1 As ADODB.Recordset
Dim date_value As Variant
Dim l_name As String
Dim l_password As String
Dim l_des As String
Dim l_name1 As String
Dim l_password1 As String
Dim l_des1 As String
Dim l_attendence As String 'this uses seprate connection and recordset
Dim o_des_value As String
Private Sub Command1_Click()
d_connection
d_connection_for_attendence
If l_attendence <> "yes" Then
If o_ady_emp.Value = False Then
Exit Sub
End If
End If
data_validation
End Sub
End With
On Error GoTo error_lable
Set objrs1 = New ADODB.Recordset
If o_ady_emp.Value = False Then ' not going to check attendence for
administrator
objrs1.Open "select * from attendece " & " where login_name = " & "'"
& T_login_name.Text & "'" & "and" & " a_date = " & "'" & date_value &
"'", objconn, adOpenDynamic, adLockOptimistic
End If
l_attendence = objrs1("present")
If o_ady_emp.Value = True Then
l_attendence = "yes" ' for administrator
End If
Exit Sub
error_lable:
If o_ady_emp.Value = True Then
l_attendence = "yes" ' for administrator
Else
MsgBox " CHECK WITH ADMINISTRATOR FOR UR
ATTENDENCE OR UR SYSTEM DATE IS NOT CORRECT", 0, "alert"
End If
End Sub
ADD_RECORD
End If
COLOR_OF_TEXTFIELD_TO_BLACK
DISABLE_THE_TEXTFIELD
LOCK_THE_TEXTFIELD
empty_text_fields
C_NEXT.Visible = False
C_INFO.Visible = False
C_OK.Enabled = True
C_DELETE.Enabled = False
C_SUBMIT.Enabled = False
C_BACK.Enabled = False
O_DELETE_COURIER.Visible = True
O_NEW_COURIER.Visible = True
O_UPDATE_COURIER.Visible = True
O_INFO_COURIER.Visible = True
End If
End Sub
Private Sub C_DELETE_Click()
If O_DELETE_COURIER.Visible = True Then
reply = MsgBox("ARE YOU SURE YOU WANT TO DELETE???", 1,
"COFIRMING YOUR DELETE")
End If
error_lable:
BIBLIOGRAPHY
Mastering Visual Basic 6
Author(s) : Evangelos Petroutsos
Publisher : BPB Publications
Software Engineering A Practitioners Approach (fifth edition)
Author(s) : Roger S. Pressman
Publisher : Tata McGraw-Hill
Fundamentals Of Software Engineering
Author(s) : Carlo Ghezzi, Mehdi Jazayeri, and Dino Mandrioli
Publisher : Prentice Hall of India