Académique Documents
Professionnel Documents
Culture Documents
SYNOPSIS
First we will collect all the product’s details. Both MS (petrol) and
HSD (diesel) stock information will be collected from underground tanks.
We will maintain this information in tables. After updating the stock details
we will enter the customer’s Indents into the table. At last we search our
stock for the customer’s indents. If stock is available then we will deliver
necessary stock (petrol or diesel). While delivering the stock we will charge
some charges like License fee, sales tax. And we subtract dealer commission
from that amount which is calculated after adding the charges.
While dealing with the Engine oils we have several products. So,
based on that product we have to enter the stock details into the table. Then
we will enter customer’s Indent into the table. We will check whether
particular grade is available are not. If it is available we will deliver.
HARDWARE SPECIFICATION
SOFTWARE SPECIFICATION
The user interface is what someone actually sees when you program is
running. Every program has a use in one form or another. A form is nothing
more than a window that appears on the screen. Every visual basic program
has at least one form although most have several. Objects are items that
appear in the form such as command buttons, scrollbars and option buttons.
An object lets the user give commands to your program.
CRYSTAL REPORTS
Crystal Reports is a powerful Windows report writer that can be used
to design nearly endless variety of custom reports. Using Crystal Reports,
we can design the reports that can be called from the application of the user.
MS-ACCESS
DATABASE
A database is a collection of information related to a particular subject
or purpose, such a s tracking customer orders or maintaining a music
collection. If your database isn’t stored to a computer, or only parts of it are
to be stored, you may be tracking information for a variety of sources that
you have to coordinate and organize yourself.
Before you see Microsoft Access to actually build the tables, forms,
and other objects that will make up you database, it is important to take time
to design your database. A good database design is the keystone to creating a
database that does what you want to do effectively, accurately and
efficiently.
The performance Analyzer can analyze your entire database and make
recommendations and suggestions for improving it. The wizard can also
implement these recommendations and suggestions. For information on
using the performance Analyzer, click
SYSTEM ANALYSIS
SYSTEM DEFINITION:
TABLES
A table is a collection of data about a specific topic. Using a separate
table for each topic means you store that data only once, which makes your
database more efficient and reduces data entry errors. Tables organize data
into columns called fields, and rows called records.
3. Enter data directly into a blank data sheet. When you save the new data
sheet, Microsoft access will analyze you data and automatically assign
the appropriate data type land format for each field.
4. Use design view to specify all of your table details from search.
Regardless of which method you use to create a table, you can table
design view at any time to customize you table further, such as adding new
fields, settings default values or creating masks.
In this module we will maintain the entire Rates list like actual price,
Dealer commission, License fee, Sales tax. If the rates are changed then we
can update all the details with new rates.
2) Stock updating
3) Placing an Indent
This module is used to enter the customer Indent for MS & HSD. We
will maintain details like customer code, order date, delivery date, quantity.
4) Delivery
This module is used to maintain the stock and rates list for
various lubricant products. Whenever we find the rates are changed
then we can update product rates. Like wise we can update stock also.
This will give clear information like how many packets are available
for a case and how much quantity is available for a case.
2) Placing an Indent
3) Delivery of Lubricants
5. Reports
DATAFLOW DIAGRAM:
PROCESS
TO CHOOSE
ANY ONE
OF THE
DETAILS
CUSTOMER OWN
DETAILS USAGE BY
COMPANY
DFD FOR SELECTION
RATES TABLE
MHSTOCK TABLE
PROCESS
TO GET
DATA
FROM
INDENTS DELIVERY
RATES TABLE TABLE
STOCK TABLE
CUSTOMER
DFD FOR DELIVERING STOCK
SOURCE CODE
FRMLOGIN
Option Explicit
Public LoginSucceeded As Boolean
Dim d As Date
Dim d1 As String
Dim n As Integer
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim opt, rpointer As Integer
Dim t1 As Double
Dim t2 As Double
Dim tt1 As Double
Dim tt2 As Double
Dim ch
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim rs2 As Recordset
Dim rs3 As Recordset
Dim opt As Integer
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
rs(6) = "NO"
rs.Update
MsgBox "Record Saved"
Command2.Caption = "Update"
Call clear
opt = 0
Else
If (Text3.Text = "") Or (Text4.Text = "") Or (Text5.Text = "") Or
(Text6.Text = "") Then
MsgBox "Please Enter all the details"
Exit Sub
End If
rs1.Edit
rs1(2) = Text3.Text
rs1(3) = Text4.Text
rs1(4) = Text5.Text
rs1(5) = Text6.Text
rs1.Update
MsgBox "Record Modified"
Call clear
End If
End Sub
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim rs2 As Recordset
Dim rs3 As Recordset
Dim rs4 As Recordset
Dim rs5 As Recordset
Dim rs6 As Recordset
Dim rs7 As Recordset
Dim todaydate As Date
Dim opt As Integer
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Else
Call clear
MsgBox "Record Not found"
End If
End Sub
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim opt As Integer
Dim rpointer As Integer
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim opt As Integer
Dim i As Integer
Dim t1 As Double
rs(0) = Text1.Text
rs(1) = Text2.Text
rs(2) = Text3.Text
rs(3) = Text4.Text
rs(4) = Text5.Text
rs(5) = Text6.Text
List1.AddItem Text1.Text
rs.Update
opt = 0
Combo1.AddItem Combo1.Text
MsgBox "New Product added (Record Saved)"
Command2.Caption = "Update"
Call clear
Else
If (Text2.Text = "") Or (Text3.Text = "") Or (Text4.Text = "") Or
(Text5.Text = "") Or (Text6.Text = "") Then
MsgBox "Please Enter all the details"
Exit Sub
End If
rs1.Edit
'There is no chance to change Product name
'If u want to change delete that name and add with new name
rs1(1) = Text2.Text
t1 = t1 + Val(Text3.Text)
rs1(2) = t1
rs1(3) = Text4.Text
rs1(4) = Text5.Text
rs1(5) = Text6.Text
rs1.Update
MsgBox "Record Modified"
Text3.Text = t1
End If
End Sub
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim rs2 As Recordset
Dim rs3 As Recordset
Dim rs4 As Recordset
Dim rs5 As Recordset
Dim rs6 As Recordset
Dim rs7 As Recordset
Dim rpointer As Integer
Dim opt As Integer
Dim temp As Double
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim opt As Integer
Dim ch As Integer
Dim rpointer As Integer
rs1.Edit
rs1(0) = Combo1.Text
rs1(1) = Text1.Text
rs1(2) = Text2.Text
rs1(3) = Text3.Text
rs1(4) = Text4.Text
rs1.Update
MsgBox "Record Modified"
End If
End Sub
Combo2.Text = ""
Call clear
End If
End If
End Sub
Dim db As Database
Dim rs As Recordset
Dim rs1 As Recordset
Dim rs2 As Recordset
Else
Call clear
MsgBox "Record Not found"
End If
End Sub
DATABASE DESIGN:
♦ MHRATES
♦ MHSTOCK
♦ MHINDENT
♦ DELIVERY
♦ LURATES
♦ LUINDENT
♦ LUDELIVERY
♦ TCUST
♦ OWNUSAGE
SCREENS:
REPORTS:
CONCLUSION
This project helps to the stock in-charge and supervisors to know the
available stock in the company. So that they can deliver the stock to the
required customers without delay.
- Nathan Gurewich
- Ori Gurewich
- SSI Press
- Curtis L. Smith
- Michael C. Amundsen
FUTURE ENHANCEMENTS