Download - Dynamic Logistics Manila
-
7/29/2019 Dynamic Logistics Manila
1/82
1
ABSTRACT
-
7/29/2019 Dynamic Logistics Manila
2/82
2
ABSTRACT
1.INTRODUCTION
Dynamic Logistics Solutions
The software Dynamic Logistics Solutions is an integrated parcel collection
delivery system, which addresses the requirements of the parcel companies. The software
is powerful, flexible and easy to use and is designed and developed to deliver real
conceivable benefits to the transport companies.
The software is designed for a small transport company which has few branches
and provides up to date information about the booking, delivery, door delivery, branch,
employee details maintenance and with technology it provides effective decision making
for the company to inform about the current status of the customers parcels and also
about the vehicle details.
Need for the system
The world now is moving to a phase where in everything is being computerized
and time is very limited for the people to satisfy their needs. So computerizing has a
phenomenal effect over current economy.Dynamic Logistics Solutions is designed
for small scale transport companies , to cover a wide range of administrative activities
where speed and availability plays an important role for success in the logistics field.
1.2 Objectives
The system aims at the following objectives:
To eliminate the manual processes.
Increase the companys competitive power
-
7/29/2019 Dynamic Logistics Manila
3/82
3
13. OVERVIEW
In the project Dynamic Logistics solutions , input screens are user-friendly as
it is fully menu-driven. The input data entry is very easy. All the input screens take care
to filter the invalid data from becoming an operational data at each entry phase. This is
achieved by providing null checks and validation procedures in every form.
The modules that are in the project are:
1. Parcel Booking
2. Online Booking
3. Delivery
4. Store keeping
5. Transport
6. SMS transaction
7. Maintenance
8. Mapping
Parcel Booking module:
The Parcel booking module, the booking details are included. It has got two Sub
modules namely,
To Pay Booking
Paid Booking
In the case of to pay booking, the amount will be paid after the item reaches the
destination. In paid Booking, the amount is already paid at the time of booking itself. In
-
7/29/2019 Dynamic Logistics Manila
4/82
4
the Door Delivery booking, the booking is done for delivering item to the destination
address, not to the nearest branch.
Booking
Customer can book through online after purchasing items from the shop. The
company will identify and delivered items based on the pack id.
Delivery module:
The Delivery module keeps the delivery details of items from the company. The delivery
is of two types.
Door delivery
In the case of door delivery, the company delivers items to the destination
address
Ordinary delivery.
In ordinary delivery, the items will be delivered to the nearest branch.
Store Keeping module
In the store keeping module, the whole stock is maintained. The details include stock id,
date of stock, the items category, quantity of items, departure date etc. As items
delivered, the stock should be decreased
Transport module:
The Transport module keeps the transportation details.
Maintenance module
The Maintenance module has got three sub modules
Employee
Customers and
-
7/29/2019 Dynamic Logistics Manila
5/82
5
Branch
The Employees module keeps the personal and official details of all employees. The
information includes employee id, name, address of employees, branch information like
in which branch they are working etc.
The customer module keeps the details of customer who came for booking.
The branch module keeps the details of all branches of the company.
-
7/29/2019 Dynamic Logistics Manila
6/82
6
2. LITERATURE SURVEY
Logistics is part of storage of goods, services, and related information between
the point of origin and the point of consumption in order to meet customers
requirements. Logistics describes the entire process of materials and products moving
into, through, and out of firm.
The commonality of the recent definitions is that logistics is a process of moving
and handling goods and materials, from the beginning to the end of the production, sale
process and waste disposal, to satisfy customers and add business competitiveness.
interaction of the three main components in the logistics system is interpreted as follows.
Logistics services support the movement of materials and products from inputs through
production to consumers, as well as associated waste disposal and reverse flows. They
include activities undertaken in-house by the users of the services
-
7/29/2019 Dynamic Logistics Manila
7/82
7
SYSTEM REQUIREMENTS
-
7/29/2019 Dynamic Logistics Manila
8/82
8
3.1 SOFTWARE REQUIREMENTS
Operating System : Windows XP
Framework : DOT NET Framework 4.0
Front End : VB.NET
Back End : MS SQL Server 2005
3.2 HARDWARE REQUIREMENTS
Main processor : Pentium Dual Core
Memory RAM : 1 GB
Hard Disk Capacity : 40 GB
Mouse : Logitech (3-Buttons)
Keyboard : 104 KEYS
Monitor : LG COLOR DISPLAY
-
7/29/2019 Dynamic Logistics Manila
9/82
9
SYSTEM ANALYSIS
-
7/29/2019 Dynamic Logistics Manila
10/82
10
Existing System
After analyzing the whole system it has been understood that companies require a
good and fast programming language with high security level database. It has been noted
that the companies are not having any proper networking system, Because of this they are
forced to maintain separate books and files for all sections.
Limitations of Existing system:
The existing system is manual. Manual system has lot of limitations.
The customers are facing difficulty without knowing where their parcels
or goods have been reached, when it will be delivered to them etc.
The management has to spend a lot time for searching and selecting the
exact records and the particular details of each and every parcel item.
As everyone knows that today customer service is very important in
order to flourish in this competitive world. So there is a problem in order
to maintain records and satisfy the customer.
Proposed System
Speed and availability are the key factors for competitiveness in logistics and
transportation sector. There is a hard competition for attracting more customers and
keeping them is just as important. The best solution is if you apply a competitive
application to be successful and attractive to customers.
-
7/29/2019 Dynamic Logistics Manila
11/82
11
Features of proposed system:
The proposed system reduces the manual hazards and also very convenient in
accessing the information as computerized system is maintained here.
The system is completely menu driven and helps any User.
The reports are generated easily and an interactive environment is provided with
Proper message.
The software manipulates many databases simultaneously.
Documentation and retrieval of records will be fast and easy in proposed system.
SMS system is also introduced in the proposed system to make the customers
aware of their products and the time of delivery.
-
7/29/2019 Dynamic Logistics Manila
12/82
12
SYSTEM DESIGN
-
7/29/2019 Dynamic Logistics Manila
13/82
13
5.1 DATA FLOW DIAGRAM
Level 0
Reports
User
DynamicLogisticsSolution
-
7/29/2019 Dynamic Logistics Manila
14/82
14
Level 1
Administrator
Booking
Delivery
Storekeeping
Transport
Maintenance
Manager
Mapping
-
7/29/2019 Dynamic Logistics Manila
15/82
15
Level 2
Customer
Administrator
Delivery
Booking
To pay
Paid
booking
Door
delivery
Store
keeping
Transport Vehicle
Maintena
nce
Delivery
Pay
Paid
Door delivery
Store
Vehicle
Employee
Customer
Branch
Employee
Branch
booking
booking
-
7/29/2019 Dynamic Logistics Manila
16/82
16
6.IMPLEMENTATION & TESTING
6.1 IMPLEMENTATION
Implementation is the process of converting a new or revised system design into
an operational one. The Dynamic Logistics solutions consists of VB.net files, crystal
reports, SQL files. It is the most crucial stage in achieving a new successful system for
the clients that will work efficiently and effectively and will never show any type of
inefficiencies or problems faced in manual system. Given the architecture document from
the design phase and requirement document from the analysis phase, the user can build
exactly what has been requested.
The product is now ready to be delivered to the client. It delivers the results to the
user requests and works properly without any errors in a simulated environment like that
of the client. An SQL script is created and the script when run creates all necessary tables
and also inserts the meta-data into the appropriate tables.
Implementation stage is the stage where the theoretical design is converted into
working system. Implementation is the process of having systems personal check out and
put the system into use. The primary goal of implementation is to write source code and
internal documentation.
The implementation phase consists of:
Testing the development system with sample data.
Detection and correction of errors.
Making necessary changes in the system.
Installation of hardware and software utilities.
-
7/29/2019 Dynamic Logistics Manila
17/82
17
This involves careful planning, investigation of current system and its constraints
on implementation, design of methods to achieve the change over, training of staff in the
change over procedures and evaluation of change over methods. Once, the planning has
been completed, the system is tested so as to ensure that the programs in the system are
working properly. To achieve the objectives and benefits expected from the new system,
it is essential for the people who will be involved to be confident of their role in the new
system.
6.2 TESTING
Testing is a process of executing a program with the intent of finding an
error. A good test case is one that has a high probability of finding an as-yet discovered
error. A successful test is one that uncovers an as-yet undiscovered error. During the
development of a project, errors of various types can occur at any stage. At each phase,
different techniques are used to detect the errors. However, some error such as those that
occur while collecting requirements and some design errors have also to be removed and
the system tested for the successful working of the project.
Since the code is the only product that can be executed and whose actual behavior
observed, testing in the each phase is a process where on detected errors of the previous
phase is also detected and corrected. Hence, testing performs a very critical role for
quality assurance and for ensuring the reliability of the software. A Comprehensive and
efficient system is one that has taken into consideration all aspects of project area and is
free from errors or bugs.
6.1.1 Verification and Validation
-
7/29/2019 Dynamic Logistics Manila
18/82
18
Verification refers to the set of activities that ensure that system correctly
implements a specific function. Validation refers to a different set of activities that ensure
that the system has been built is traceable to customer requirements. Verification and
Validation encompass a wide array of software quality assurance (SQA) activities that
include formal reviews, quality and configuration audits, performance monitoring,
simulation, feasibility study, documentation review, database review, algorithm analysis,
development testing, qualification testing, installing testing.
6.1.2Unit Testing
Unit testing focuses verification effort on the smallest unit of software design
module. Using the procedural design description as a guide, important control paths are
tested to uncover errors within the boundary of the module. The relative complexity of
tests and uncovered errors is limited by the constrained scope established for unit testing.
Parcel Booking, Delivery, Transport and SMS Transaction modules are coded and
immediately tested for its consistency and syntax errors. This is done so that after
integrating all the modules, the working of the tool is ensured at the beginning stage
itself.
6.1.3 Integration Testing
Integration Testing is a systematic technique for constructing the program
structure while conducting tests to uncover errors associated with interfacing. The
objective is to take unit tested modules and build a program structure that has been
dictated by design. Modules are integrated by moving downward through the control
hierarchy, beginning with the parcel booking module. As integration testing is
-
7/29/2019 Dynamic Logistics Manila
19/82
19
conducted, the tester may identify critical modules. Thus in Dynamic Logistics
solutions all the interfaces in the modules are integrated and tested.
6.1.4 System Testing
System testing is a series of different tests whose primary purpose is to fully
exercise computer based system. Recovery testing is a test that forces the software to fail
in a variety of ways and verifies that recovery is properly performed. If recovery is
automatic, re-initialization, check pointing mechanisms, data recovery and restart are
each evaluated for correctness. Security testing attempts to verify that protection
mechanisms built into a system will in fact protect it from improper penetration.
In Dynamic Logistics Solutions, the system testing is done in various ways
say shutting down the system while testing the data into the form. The system seems to
be consistent once it restarts to the work.
6.1.5 Interface testing
Interface testing is performed to verify the correctness of interfaces between sub-
modules while performing integration, thus aiding master modules. In Dynamic
Logistics solutions the interface testing is performed to check for proper output on
combining sub-modules and to ensure that there is no effect on global data.
6.1.6 Black Box testing
In this approach of testing, test cases are prepared with the knowledge about the
function that the product is designed to perform. Tests are done to check if the product is
fully operational rather than checking each loops and conditions.
The following testing steps were carried out:
All the possible inputs are given and validated with corresponding outputs.
-
7/29/2019 Dynamic Logistics Manila
20/82
20
The complete integrity of data and files were checked.
6.1.7 White Box testing
This testing is just vice versa of the black box testing. In Black box testing, Users
do not watch the internal working of the system like control flow of the entire program.
But in white box testing, User watches the internal working of the system along with the
output. This will give a clear idea of what is going on during the execution of the system.
Dynamic Logistics solutions has been tested for all sorts of test cases and the system is
developed as an error-free application.
-
7/29/2019 Dynamic Logistics Manila
21/82
21
7. PERFORMANCE ANALYSIS
Our logistics team manage the movement, and delivery of material to ensure we
can meet our customers' exact demands of direct line feed and just in time delivery.
Working from our customer forecasts and with real time monitoring, we are able
to deliver directly to customers, even when requirements fluctuate on a day-to-day basis.
-
7/29/2019 Dynamic Logistics Manila
22/82
22
8.CONCLUSION
The software Dynamic logistics solutionsreduces considerable drawbacks
of existing system. It reduces complexity and a simplified version of existing system.
Programs are menu driven which help even a new comer to use the system with little
training. Users can handle the system more easily. The project was developed for Safe
Software and integrated solutions and so had an opportunity to work in real time
environment and to learn a lot. It has been a great experience for me in a short period of
time.
Testing has been done with actual data and system is much better than the
existing one. The system provides accuracy and updating facility to the users. Also the
system is flexible and any amendments can be made with minor modifications. This
software is designed and developed using VB.Net, and the back-end tool for this
application to store every event is MS-SQLServer.
The screens are informative and user friendly.
The relationship between the modem and the rest of the forms are effective.
It provides a good and effective computerized solution to the manual limitations.
-
7/29/2019 Dynamic Logistics Manila
23/82
23
9. FUTURE ENHANCEMENT
The new system has been developed and implemented successfully. The system is
very user friendly. The present system has been developed in such a way that it will be
flexible to add additional features to adapt the future requirements. For instance, we can
add more modules and more types of graphic designs and even Internet technologies can
also be added. And this system is efficient in future proof. Future extension in the system
can be made in order to produce more reports and to produce data backup security
facility. Online implementation is possible in the future .
This system has been developed for a parcel company having few branches. In the
future, The same software can be extended to a big transport company having a network
of many branches by providing little more extensions to the technology used here.
-
7/29/2019 Dynamic Logistics Manila
24/82
24
10.REFERENCES
Books:
STEPHEN MANDEL, VISUAL BASIC.NET AND .NET PLATFORM ,
MacGrawhill, Second Edition, 2002
ELIAS. M.AWAD SYSTEM ANALYSIS & DESIGN , Galgotia Publications
VISUALSTUDIO.NET, Robinson, Wrox publications
KORTH & SILBERSCHATZ, DATABASE SYSTEM CONCEPT , McGraw-Hill,
Fifth Edition, 2001.
Websites:
www.dotnetspider.com
www.vb.net/learn/dataaccess.com
www.knowledgehills.com
http://www.dotnetspider.com/http://www.dotnetspider.com/http://www.vb.net/learn/dataaccess.comhttp://www.vb.net/learn/dataaccess.comhttp://www.knowledgehills.com/http://www.knowledgehills.com/http://www.knowledgehills.com/http://www.vb.net/learn/dataaccess.comhttp://www.dotnetspider.com/ -
7/29/2019 Dynamic Logistics Manila
25/82
25
APPENDICES
SAMPLE CODES
Login
PublicClass Login
Inherits System.Windows.Forms.Form
PrivateSub ok_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles ok.Click
Ifcid.Text = "Administrator"And txtpwd.Text = "admin"Then
logistics.Show()
Else
MsgBox("Pls Check your password", MsgBoxStyle.Critical, "Warning")
EndIf
EndSub
PrivateSub Timer2_Tick(ByVal senderAsObject, ByVal e As System.EventArgs)
Handles Timer2.Tick
Dim mn AsNew logistics
Dim log AsNew Login()
log.Close()
Me.Hide()
mn.Show()
Timer2.Enabled = False
EndSub
PrivateSub cancel_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cancel.Click
End
EndSub
-
7/29/2019 Dynamic Logistics Manila
26/82
-
7/29/2019 Dynamic Logistics Manila
27/82
27
TextBox1.Text = ""
txtbranch.Text = ""
txtaddress.Text = ""
cmbtype.Text = ""
txtcharge.Text = ""
txtservice.Text = ""
txttotal.Text = ""
txtvalue.Text = ""
txtloading.Text = ""
txtunloading.Text = ""
EndSub
PrivateSub cmdnew_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cmdnew.Click
GroupBox1.Enabled = True
cmdsave.Enabled = True
cmdupdate.Enabled = False
cmddelete.Enabled = False
txtname.Focus()
clear()
-
7/29/2019 Dynamic Logistics Manila
28/82
28
'--------------------------------
'To generate autonumbers for delivery Id
Dim drAs OleDb.OleDbDataReader
Dim i AsInteger
i = 1
Dim emp As OleDb.OleDbCommand =New OleDb.OleDbCommand("select
max(bookingid),max(packid) from booking", conn.con)
dr = emp.ExecuteReader
Try
WhileNot IsDBNull(dr.Read)
cmbid.Text = dr.Item(0) + 1
txtpid.Text = dr.Item(1) + 1
i = 0
EndWhile
Catch
Ifi = 1 Then
cmbid.Text = 100001
txtpid.Text = 1001
EndIf
-
7/29/2019 Dynamic Logistics Manila
29/82
29
EndTry
cmbcat.Focus()
dr.Close()
'-----------------------------
'To get the Customer Id
Dim dr1 As OleDb.OleDbDataReader
Dim cust As OleDb.OleDbCommand =New OleDb.OleDbCommand("select * from
customer", conn.con)
dr1 = cust.ExecuteReader
cmbcustid.Items.Clear()
cmbcustid.Text = ""
DoWhile dr1.Read
cmbcustid.Items.Add(dr1.Item("customerid"))
Loop
dr1.Close()
EndSub
PrivateSub Booking_Load(ByVal senderAs System.Object, ByVal e As
System.EventArgs) HandlesMyBase.Load
cmdnew.Enabled = True
-
7/29/2019 Dynamic Logistics Manila
30/82
30
cmdsave.Enabled = False
cmdview.Enabled = True
cmdupdate.Enabled = False
cmddelete.Enabled = False
cmdexit.Enabled = True
GroupBox1.Enabled = False
EndSub
PrivateSub cmdsave_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cmdsave.Click
GroupBox1.Enabled = True
Ifcmbid.Text = ""Orcmbcat.Text = ""Ortxtitems.Text = ""Orcmbcustid.Text =
""Ortxtqty.Text = ""Ortxtvalue.Text = ""Ortxtpid.Text = ""Ortxtname.Text = ""Or
TextBox1.Text = ""Ortxtaddress.Text = ""Ortxtbranch.Text = ""Orcmbtype.Text = ""Ortxtcharge.Text = ""Ortxtservice.Text = ""Ortxtloading.Text = ""Or
txtunloading.Text = ""Ortxttotal.Text = ""Then
MsgBox("All Fields are not filled", MsgBoxStyle.Exclamation, "Null Check")
Else
Dim bookAsNew OleDb.OleDbCommand("insert into booking values('" &
Trim(cmbid.Text) & "','" & Trim(cmbcat.Text) & "','" & Trim(cmbcustid.Text) & "','" &
Trim(txtitems.Text) & "','" & Trim(txtqty.Text) & "','" & Trim(txtvalue.Text) & "','" &
DateValue(dtpdate.Value) & "','" & Trim(txtpid.Text) & "','" & Trim(txtname.Text) &
"','" & TextBox1.Text & "','" & txtaddress.Text & "','" & Trim(txtbranch.Text) & "','" &
Trim(cmbtype.Text) & "','" & Trim(txtcharge.Text) & "','" & Trim(txtservice.Text) & "','"
-
7/29/2019 Dynamic Logistics Manila
31/82
31
& Trim(txtloading.Text) & "','" & Trim(txtunloading.Text) & "','" & Trim(txttotal.Text)
& "')", conn.con)
book.ExecuteNonQuery()
MsgBox(" Record Inserted Successfully.", MsgBoxStyle.Information, "Insertion")
clear()
cmdsave.Enabled = False
EndIf
EndSub
PrivateSub cmdexit_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cmdexit.Click
Me.Close()
EndSub
PrivateSub cmdview_Click(ByVal senderAsObject, ByVal e As System.EventArgs)
Handles cmdview.Click
clear()
Dim drAs OleDb.OleDbDataReader
Dim bookAs OleDb.OleDbCommand =New OleDb.OleDbCommand("select *
from booking", conn.con)
dr = book.ExecuteReader
-
7/29/2019 Dynamic Logistics Manila
32/82
32
cmbid.Items.Clear()
cmbid.Text = ""
DoWhile dr.Read
cmbid.Items.Add(dr.Item("bookingid"))
Loop
dr.Close()
GroupBox1.Enabled = True
cmdnew.Enabled = True
cmdsave.Enabled = False
cmdupdate.Enabled = True
cmddelete.Enabled = True
clear()
EndSub
PrivateSub cmddelete_Click(ByVal senderAsObject, ByVal e As System.EventArgs)
Handles cmddelete.Click
Dim ans AsString
Ifcmbid.Text = ""Orcmbcat.Text = ""Ortxtitems.Text = ""Orcmbcustid.Text =
""Ortxtqty.Text = ""Ortxtvalue.Text = ""Ortxtpid.Text = ""Ortxtname.Text = ""Or
TextBox1.Text = ""Ortxtaddress.Text = ""Ortxtbranch.Text = ""Orcmbtype.Text = ""
Ortxtcharge.Text = ""Ortxtservice.Text = ""Ortxtloading.Text = ""Or
txtunloading.Text = ""Ortxttotal.Text = ""Then
-
7/29/2019 Dynamic Logistics Manila
33/82
33
MsgBox("All Fields are not filled", MsgBoxStyle.Exclamation, "Null Check")
Else
ans = MsgBox("Do You Want to delete the record ? ", MsgBoxStyle.YesNo +MsgBoxStyle.Question, "Deletion")
Ifans = vbYes Then
Dim bookAs OleDb.OleDbCommand =New OleDb.OleDbCommand("delete
from booking where bookingid='" & cmbid.Text & "'", conn.con)
book.ExecuteNonQuery()
MsgBox("Record Deleted", MsgBoxStyle.Information, "Deleted")
EndIf
clear()
EndIf
cmdnew.Enabled = True
cmddelete.Enabled = False
cmdupdate.Enabled = False
clear()
EndSub
PrivateSub cmbid_SelectedIndexChanged(ByVal senderAs System.Object, ByVal e
As System.EventArgs) Handles cmbid.SelectedIndexChanged
Dim drAs OleDb.OleDbDataReader
-
7/29/2019 Dynamic Logistics Manila
34/82
34
Dim bookAs OleDb.OleDbCommand =New OleDb.OleDbCommand("select *
from booking where bookingid='" & Trim(cmbid.Text) & "'", conn.con)
dr = book.ExecuteReader
DoWhile dr.Read
cmbcat.Text = dr.Item("category")
txtqty.Text = dr.Item("quantity")
cmbcustid.Text = dr.Item("customerid")
txtitems.Text = dr.Item("item")
dtpdate.Value = dr.Item("date")
txtpid.Text = dr.Item("packid")
txtname.Text = dr.Item("customername")
TextBox1.Text = dr.Item("origin")
txtbranch.Text = dr.Item("branch")
txtaddress.Text = dr.Item("destination")
cmbtype.Text = dr.Item("typebook")
txtcharge.Text = dr.Item("charge")
txtservice.Text = dr.Item("service")
txtloading.Text = dr.Item("loadingcharge")
txtunloading.Text = dr.Item("unloadingcharge")
-
7/29/2019 Dynamic Logistics Manila
35/82
35
txttotal.Text = dr.Item("total")
txtvalue.Text = dr.Item("value")
Loop
dr.Close()
EndSub
PrivateSub cmdupdate_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cmdupdate.Click
Dim aa AsString
Ifcmbid.Text = ""Orcmbcat.Text = ""Ortxtitems.Text = ""Orcmbcustid.Text =
""Ortxtqty.Text = ""Ortxtvalue.Text = ""Ortxtpid.Text = ""Ortxtname.Text = ""Or
TextBox1.Text = ""Ortxtaddress.Text = ""Ortxtbranch.Text = ""Orcmbtype.Text = ""
Ortxtcharge.Text = ""Ortxtservice.Text = ""Ortxtloading.Text = ""Or
txtunloading.Text = ""Ortxttotal.Text = ""Then
MsgBox("All Fields are not filled", MsgBoxStyle.Exclamation, "Null Check")
Else
aa = MsgBox("Do You Want to modify the record ? ", MsgBoxStyle.YesNo +
MsgBoxStyle.Question, "Modification")
Ifaa = vbYes Then
Dim bookAs OleDb.OleDbCommand =New OleDb.OleDbCommand("update
booking set category='" & Trim(cmbcat.Text) & "',quantity='" & Trim(txtqty.Text) &
"',customerid='" & Trim(cmbcustid.Text) & "',item='" & Trim(txtitems.Text) & "',date='"
& Trim(dtpdate.Value) & "',packid='" & Trim(txtpid.Text) & "',customername='" &
Trim(txtname.Text) & "',origin='" & Trim(TextBox1.Text) & "',branch='" &
-
7/29/2019 Dynamic Logistics Manila
36/82
36
Trim(txtbranch.Text) & "',destination='" & Trim(txtaddress.Text) & "',typebook='" &
Trim(cmbtype.Text) & "',charge='" & Trim(txtcharge.Text) & "',service='" &
Trim(txtservice.Text) & "',loadingcharge='" & Trim(txtloading.Text) &
"',unloadingcharge='" & Trim(txtunloading.Text) & "',total='" & Trim(txttotal.Text) &
"',value='" & Trim(txtvalue.Text) & "' where bookingid='" & Trim(cmbid.Text) & "'",
conn.con)
book.ExecuteNonQuery()
MsgBox("Record Modified", MsgBoxStyle.Information, "Modification")
EndIf
EndIf
cmdnew.Enabled = True
cmddelete.Enabled = False
cmdupdate.Enabled = False
clear()
EndSub
PrivateSub cmbcustid_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles cmbcustid.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub cmbcustid_SelectedIndexChanged(ByVal senderAs System.Object,
ByVal e As System.EventArgs) Handles cmbcustid.SelectedIndexChanged
Dim drAs OleDb.OleDbDataReader
-
7/29/2019 Dynamic Logistics Manila
37/82
-
7/29/2019 Dynamic Logistics Manila
38/82
38
EndIf
EndSub
PrivateSub txtqty_KeyPress(ByVal senderAsObject, ByVal e AsSystem.Windows.Forms.KeyPressEventArgs)
IfAsc(e.KeyChar) = 13 Then
txtqty.Focus()
Else
e.KeyChar = Validation.numcheckandChar(Asc(e.KeyChar))
EndIf
EndSub
PrivateSub cmbid_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles cmbid.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub txtaddress_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtaddress.KeyPress
e.KeyChar = Validation.emailcheck(Asc(e.KeyChar))
EndSub
PrivateSub txtcharge_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtcharge.KeyPress
-
7/29/2019 Dynamic Logistics Manila
39/82
39
IfAsc(e.KeyChar) = 13 Then
txtcharge.Focus()
Else
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndIf
EndSub
PrivateSub txtservice_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtservice.KeyPress
IfAsc(e.KeyChar) = 13 Then
txtservice.Focus()
Else
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndIf
EndSub
PrivateSub txttotal_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txttotal.KeyPress
IfAsc(e.KeyChar) = 13 Then
txttotal.Focus()
Else
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
-
7/29/2019 Dynamic Logistics Manila
40/82
40
EndIf
EndSub
PrivateSub txttotal_TextChanged(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles txttotal.TextChanged
EndSub
PrivateSub Button1_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs)
REPORT.Show()
EndSub
PrivateSub TextBox4_TextChanged(ByVal senderAs System.Object, ByVal e As
System.EventArgs)
EndSub
EndClass
Online Booking
-
7/29/2019 Dynamic Logistics Manila
41/82
41
-
7/29/2019 Dynamic Logistics Manila
42/82
42
Home
-
7/29/2019 Dynamic Logistics Manila
43/82
43
About us
Online Booking
Contact us
-
7/29/2019 Dynamic Logistics Manila
44/82
44
Contact Us
Online Booking
-
7/29/2019 Dynamic Logistics Manila
45/82
45
Please fill this form completely. Fields marked in * are mandatory
Pack ID *
:
-
7/29/2019 Dynamic Logistics Manila
46/82
46
Address*
:
Shop*
:
Customer Name
-
7/29/2019 Dynamic Logistics Manila
47/82
47
:
Customer
Address
:
Phone*
:
-
7/29/2019 Dynamic Logistics Manila
48/82
48
Email ID
*
:
Item
:
-
7/29/2019 Dynamic Logistics Manila
49/82
49
Quantity
:
Location
:
-
7/29/2019 Dynamic Logistics Manila
50/82
50
-
7/29/2019 Dynamic Logistics Manila
51/82
51
DELIVERY
PublicClass Delivery
-
7/29/2019 Dynamic Logistics Manila
52/82
52
Inherits System.Windows.Forms.Form
PublicSub clear()
cmbid.Text = ""
cmboid.Text = ""
cmbcat.Text = ""
txtitems.Text = ""
txtqty.Text = ""
txtpid.Text = ""
txtorigin.Text = ""
txtaddress.Text = ""
cmbtype.Text = ""
ComboBox1.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox6.Text = ""
EndSub
PrivateSub Delivery_Load(ByVal senderAs System.Object, ByVal e As
System.EventArgs) HandlesMyBase.Load
cmdnew.Enabled = True
-
7/29/2019 Dynamic Logistics Manila
53/82
53
cmdsave.Enabled = False
cmdview.Enabled = True
cmdupdate.Enabled = False
cmddelete.Enabled = False
cmdexit.Enabled = True
GroupBox1.Enabled = True
EndSub
PrivateSub cmdexit_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles cmdexit.Click
Me.Close()
EndSub
PrivateSub cmboid_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles cmboid.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub cmbcat_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles cmbcat.KeyPress
e.KeyChar = Validation.charcheck(Asc(e.KeyChar))
EndSub
-
7/29/2019 Dynamic Logistics Manila
54/82
54
PrivateSub txtitems_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtitems.KeyPress
e.KeyChar = Validation.Char_num(Asc(e.KeyChar))
EndSub
PrivateSub txtqty_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtqty.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub txtpid_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtpid.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub cmbtype_KeyPress(ByVal senderAsObject, ByVal e AsSystem.Windows.Forms.KeyPressEventArgs) Handles cmbtype.KeyPress
e.KeyChar = Validation.charcheck(Asc(e.KeyChar))
EndSub
PrivateSub txtaddress_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles txtaddress.KeyPress
e.KeyChar = Validation.Char_num(Asc(e.KeyChar))
EndSub
-
7/29/2019 Dynamic Logistics Manila
55/82
55
PrivateSub txtservice_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub txttransport_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub txttotal_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs)
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub Button3_Click(ByVal senderAs System.Object, ByVal e AsSystem.EventArgs) Handles Button3.Click
clear()
Dim drAs OleDb.OleDbDataReader
Dim del As OleDb.OleDbCommand =New OleDb.OleDbCommand("select * from
delivery", conn.con)
dr = del.ExecuteReader
cmbid.Items.Clear()
cmbid.Text = ""
-
7/29/2019 Dynamic Logistics Manila
56/82
56
DoWhile dr.Read
cmbid.Items.Add(dr.Item("deliveryid"))
Loop
dr.Close()
GroupBox1.Enabled = True
cmdnew.Enabled = True
cmdsave.Enabled = False
cmdupdate.Enabled = True
cmddelete.Enabled = True
clear()
EndSub
PrivateSub cmbid_KeyPress(ByVal senderAsObject, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles cmbid.KeyPress
e.KeyChar = Validation.numcheck(Asc(e.KeyChar))
EndSub
PrivateSub cmbid_SelectedIndexChanged(ByVal senderAs System.Object, ByVal e
As System.EventArgs) Handles cmbid.SelectedIndexChanged
Dim drAs OleDb.OleDbDataReader
Dim del As OleDb.OleDbCommand =New OleDb.OleDbCommand("select * from
delivery where deliveryid='" & Trim(cmbid.Text) & "'", conn.con)
-
7/29/2019 Dynamic Logistics Manila
57/82
57
dr = del.ExecuteReader
DoWhile dr.Read
cmboid.Text = dr.Item("bookingid")
cmbcat.Text = dr.Item("category")
txtitems.Text = dr.Item("item")
'dtpdate.Value = dr.Item("date")
txtpid.Text = dr.Item("packid")
cmbtype.Text = dr.Item("type")
txtorigin.Text = dr.Item("origin")
txtaddress.Text = dr.Item("address")
txtqty.Text = dr.Item("quantity")
ComboBox1.Text = dr.Item("customerid")
TextBox3.Text = dr.Item("customername")
TextBox4.Text = dr.Item("phone")
TextBox6.Text = dr.Item("status")
Loop
EndSub
PrivateSub Button6_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles Button6.Click
-
7/29/2019 Dynamic Logistics Manila
58/82
58
Me.Close()
EndSub
PrivateSub cmboid_SelectedIndexChanged(ByVal senderAs System.Object, ByVal eAs System.EventArgs) Handles cmboid.SelectedIndexChanged
Dim drAs OleDb.OleDbDataReader
Dim bookAs OleDb.OleDbCommand =New OleDb.OleDbCommand("select *
from booking where bookingid='" & Trim(cmboid.Text) & "'", conn.con)
dr = book.ExecuteReader
DoWhile dr.Read
txtpid.Text = dr.Item("packid")
cmbcat.Text = dr.Item("category")
cmbtype.Text = dr.Item("typebook")
txtitems.Text = dr.Item("item")
txtaddress.Text = dr.Item("destination")
txtqty.Text = dr.Item("quantity")
ComboBox1.Text = dr.Item("customerid")
txtorigin.Text = dr.Item("origin")
Loop
dr.Close()
-
7/29/2019 Dynamic Logistics Manila
59/82
-
7/29/2019 Dynamic Logistics Manila
60/82
60
TextBox4.Text = dr.Item("phone")
Loop
dr.Close()
EndSub
PrivateSub Button2_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
GroupBox1.Enabled = True
Ifcmbid.Text = ""Orcmboid.Text = ""Orcmbcat.Text = ""Ortxtitems.Text = ""
Ortxtqty.Text = ""Ortxtpid.Text = ""Ortxtaddress.Text = ""Orcmbtype.Text = ""Or
txtorigin.Text = ""OrComboBox1.Text = ""OrTextBox3.Text = ""OrTextBox4.Text
= ""OrTextBox6.Text = ""Then
MsgBox("All Fields are not filled", MsgBoxStyle.Exclamation, "Null Check")
Else
Dim del As OleDb.OleDbCommand =New OleDb.OleDbCommand("insert into
delivery values('" & Trim(cmbid.Text) & "','" & Trim(cmboid.Text) & "','" &
Trim(cmbcat.Text) & "','" & Trim(txtitems.Text) & "','" & Trim(txtqty.Text) & "','" &
DateValue(dtpdate.Value) & "','" & Trim(txtpid.Text) & "','" & Trim(cmbtype.Text) &
"','" & Trim(txtorigin.Text) & "','" & Trim(txtaddress.Text) & "','" &
Trim(ComboBox1.Text) & "','" & Trim(TextBox3.Text) & "','" & Trim(TextBox4.Text)
& "','" & Trim(TextBox6.Text) & "')", conn.con)
del.ExecuteNonQuery()
MsgBox(" Record Inserted Successfully.", MsgBoxStyle.Information, "Insertion")
clear()
-
7/29/2019 Dynamic Logistics Manila
61/82
61
cmdsave.Enabled = False
EndIf
EndSub
PrivateSub Button1_Click(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
GroupBox1.Enabled = True
cmdsave.Enabled = True
cmdupdate.Enabled = False
cmddelete.Enabled = False
cmboid.Focus()
clear()
'--------------------------------
'To generate autonumbers
Dim drAs OleDb.OleDbDataReader
Dim i AsInteger
i = 1
Dim emp As OleDb.OleDbCommand =New OleDb.OleDbCommand("select
max(deliveryid) from delivery", conn.con)
dr = emp.ExecuteReader
-
7/29/2019 Dynamic Logistics Manila
62/82
-
7/29/2019 Dynamic Logistics Manila
63/82
63
cmboid.Items.Add(dr11.Item("bookingid"))
Loop
dr11.Close()
Dim dr1 As OleDb.OleDbDataReader
Dim cust As OleDb.OleDbCommand =New OleDb.OleDbCommand("select * from
customer", conn.con)
dr1 = cust.ExecuteReader
ComboBox1.Items.Clear()
ComboBox1.Text = ""
DoWhile dr1.Read
ComboBox1.Items.Add(dr1.Item("customerid"))
Loop
dr1.Close()
EndSub
EndClass
MODEM(SERVER)
OptionStrictOff
OptionExplicitOn
-
7/29/2019 Dynamic Logistics Manila
64/82
-
7/29/2019 Dynamic Logistics Manila
65/82
65
Dim MsgDtls AsString
Dim MsgType AsString
Dim Accno AsString
Dim cnn AsNew SqlConnection
Dim cn AsNew SQLCommands
Dim rs As SqlDataReader
PrivateDeclareSub Sleep Lib"kernel32" (ByVal dwMilliseconds AsInteger)
PublicSub conn_open()
IfMSComm1.PortOpen = TrueThen MSComm1.PortOpen = False
MSComm1.Settings = "57600,n,8,1"
MSComm1.CommPort = CShort(vb.Right("COM13", 2))
MSComm1.PortOpen = True
MSComm1.Output = "AT+CMGF=1" & vbCr
MSComm1.Output = "AT+CNMI=2,2,0,0,0" & vbCr
EndSub
PrivateSub timeSend_Tick(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles timeSend.Tick
SendMsg()
EndSub
-
7/29/2019 Dynamic Logistics Manila
66/82
66
PublicSub SendMsg()
Try
rs = cn.sqlExecuteReader("Select * From SMSOutput_M_Tbl Where status='0'")
If(rs.Read) Then
PhoneNo = rs("Mb_No").ToString()
Message = rs("Out_Msg").ToString()
MSComm1.Output = "AT+CMGF=1" & vbCr'SMS Format -> TEXT
MSComm1.Output = "AT+CNMI=2,2,0,0,0" & vbCr'Chr(13)
MSComm1.Output = "AT+CMGS=" & PhoneNo & vbCr'Chr(13)
MSComm1.Output = Message & Chr(&H1AS) & vbCr'Chr(13)
Thread.Sleep(3600)
EndIf
rs.Close()
Str_Sql = "Update SMSOutput_M_Tbl set status='1' where status='0'"
cn.sqlNonquerry(Str_Sql)
Catch ex As Exception
MsgBox(ex.Message)
EndTry
EndSub
-
7/29/2019 Dynamic Logistics Manila
67/82
67
PrivateSub timeRec_Tick(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles timeRec.Tick
Get_Result()
EndSub
PrivateSub TmrRecvMsg_Tick(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles TmrRecvMsg.Tick
Dim sbuf, msg, phno, mdate AsString
Dim length1, length2 AsInteger
Dim ATCom AsString
Dim Curdate AsDate
Dim Msg_Str(9) AsString
Dim StrAsString
sbuf = MSComm1.Input
IfLen(sbuf) > 3 Then
length1 = InStr(1, sbuf, "CMT")
txtoutput.AppendText(sbuf)
If(length1 0) Then
length1 = InStr(1, sbuf, "" & Chr(34)) + 1
length2 = InStr(length1, sbuf, "" & Chr(34))
mdate = Mid$(sbuf, length2 + 3, 17) & vbCrLf.ToString
-
7/29/2019 Dynamic Logistics Manila
68/82
68
length2 = length2 - length1
phno = Mid$(sbuf, length1, length2) & vbCrLf
msg = Mid$(sbuf, InStr(sbuf, "" & vbCrLf), Len(sbuf))
msg = Trim(msg)
Str_InMsg = "Insert Into SMSInput_M_Tbl Values( '" & phno & "','" & msg &
"','" & mdate & "',1,1)"
cn.sqlNonquerry(Str_InMsg)
EndIf
EndIf
EndSub
PublicSub Get_Result()
Dim drAs SqlDataReader
Dim str_sql AsString
Dim str_sql1 AsString
Dim str_sql2 AsString
Dim Bal AsString
Dim dr1 As SqlDataReader
Dim temp AsString
Dim i AsInteger= 0
-
7/29/2019 Dynamic Logistics Manila
69/82
69
Dim Mb_Message AsString
Dim Mb_No AsString
Dim Split_Msg As Array
Dim Msg1 AsString
Dim Msg2, msg3 AsString
Dim V_Loc AsString
Dim S_Loc AsString
Dim len AsInteger
str_sql = "select phno, msg from SMSInput_M_Tbl where status='" & 1 & "'"
dr = cn.sqlExecuteReader(str_sql)
Ifdr.Read Then
Mb_No = dr.Item("phno").ToString
Mb_Message = Trim(dr.Item("msg")).ToString
Split_Msg = Split(Mb_Message, " ")
Msg1 = Split_Msg(0)
Msg1 = Mid$(Msg1, 3)
Msg2 = Split_Msg(1)
' len = Msg2.Length
-
7/29/2019 Dynamic Logistics Manila
70/82
70
Msg2 = Mid(Msg2, 1, 4)
msg3 = Split_Msg(2)
msg3 = Mid(msg3, 1)
dr.Close()
Dim Out_Msg AsString
SelectCase Msg1
Case"VLOC"
str_sql1 = "select * from vehicle where vehicleid='" & Msg2 & "'"
dr1 = cn.sqlExecuteReader(str_sql1)
Ifdr1.Read Then
V_Loc = dr1.Item("branch")
Out_Msg = "The Vehicle Current Location Is :" & V_Loc
EndIf
dr1.Close()
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
Case"PLOC"
str_sql1 = "select * from despach where packid='" & Msg2 & "'"
-
7/29/2019 Dynamic Logistics Manila
71/82
71
dr1 = cn.sqlExecuteReader(str_sql1)
Ifdr1.Read Then
V_Loc = dr1.Item("sloc")
Out_Msg = "The Product Current Location Is :" & V_Loc
EndIf
dr1.Close()
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
Case"UPLOC"
str_sql1 = "update despach set sloc='" & msg3 & "' where packid='" & Msg2
& "'"
'where mobile='" & Mb_No & "'"
cn.sqlNonquerry(str_sql1)
' dr1 = cn.sqlExecuteReader(str_sql1)
Out_Msg = " Product Location has been updated ,Current Location Is :" &
msg3
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
-
7/29/2019 Dynamic Logistics Manila
72/82
72
Case"UVLOC"
str_sql1 = "update vehicle set branch='" & msg3 & "'where vehicleid='" &
Msg2 & "'"
cn.sqlNonquerry(str_sql1)
' dr1 = cn.sqlExecuteReader(str_sql1)
Out_Msg = " Vehicle Location has been updated ,Current Location Is :" &
msg3
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
Case"UPSTS"
str_sql1 = "update delivery set status='" & msg3 & "'where packid='" &
Msg2 & "'"
cn.sqlNonquerry(str_sql1)
' dr1 = cn.sqlExecuteReader(str_sql1)
Out_Msg = " product status is updated as :" & msg3
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
CaseElse
Out_Msg = "Wrong Search Code Try Again"
-
7/29/2019 Dynamic Logistics Manila
73/82
73
str_sql2 = "insert into SMSOutput_M_Tbl values('" & Out_Msg & "','" & 0
& "','" & Mb_No & "')"
cn.sqlNonquerry(str_sql2)
EndSelect
EndIf
dr.Close()
Dim str_strAsString
str_str = "Delete from SMSInput_M_tbl"
cn.sqlNonquerry(str_str)
EndSub
PrivateSub Server_Load(ByVal senderAsObject, ByVal e As System.EventArgs)
HandlesMe.Load
conn_open()
cn.EstrablishConnection()
EndSub
PrivateSub txtoutput_TextChanged(ByVal senderAs System.Object, ByVal e As
System.EventArgs) Handles txtoutput.TextChanged
EndSub
EndClass
-
7/29/2019 Dynamic Logistics Manila
74/82
74
SCREEN SHOTS
Login
-
7/29/2019 Dynamic Logistics Manila
75/82
75
MDI
Booking
-
7/29/2019 Dynamic Logistics Manila
76/82
76
-
7/29/2019 Dynamic Logistics Manila
77/82
77
Onling Booking
-
7/29/2019 Dynamic Logistics Manila
78/82
78
Branch
Customer
-
7/29/2019 Dynamic Logistics Manila
79/82
79
Stock
Employee
-
7/29/2019 Dynamic Logistics Manila
80/82
80
Delivery Details
-
7/29/2019 Dynamic Logistics Manila
81/82
81
Door Delivery
-
7/29/2019 Dynamic Logistics Manila
82/82
82
Vehicle