Stock Maintenance System Requirements

download Stock Maintenance System Requirements

of 5

Transcript of Stock Maintenance System Requirements

  • 7/29/2019 Stock Maintenance System Requirements

    1/5

    AIMTo develop the stock maintenance project. It can be used to maintain the details about a stock

    contained by some company.

    PROJECT DESCRIPTIONStock maintenance project mainly used to store the stock details and retrieve the data. Stock

    entry forms are used to update the databases. The sale form can be used to view the sales

    details. The company return form can be used to show the details of defective products. Item

    details can be used to show the current status of the stock. The exit buttons closes the forms of

    the project.

    HARDWARE REQUIREMENTSo Pentium IV Processoro Intel Motherboardo RAM (256 MB)o HARD DISK (20GB)

    SOFTWARE REQUIREMENTSo Rational Roseo Microsoft VB 6.0o MS-Access

    MODULESo Authenticationo Stock entryo Sales Detailso Order Detailso Item Details

    MODULE DESCRIPTION

    1) Authentication Get the username and password validate it accordingly.

    2) Stock EntryProduct purchased details are entered through this form. It can be used to enter the

    item code name, bought cost, company name and no. of items. The data is then stored

    in the database.

    3) Stock DetailsIn this module its used to store the sales product details and also show the sales

    details.

    4) Order DetailsOrder details form can be used to generate orders and view previous stored order

    details.

  • 7/29/2019 Stock Maintenance System Requirements

    2/5

    5) Item DetailsShow the current details of the stock details.

    6) NON FUNCTIONALITY SECURITYIt is a source project because it contains user id and password.

    7) MAINTAINABILITYAuthorized user only can access it, thus it is easily maintainable.

    8) AVAILABILITYIt is available for all type of companies (i.e.) large scale or small scale.

    9) FLEXIBILITYIt is a user friendly project. More modules can be easily added, thus it is quite flexible.

  • 7/29/2019 Stock Maintenance System Requirements

    3/5

    VB SOURCE CODE

    Form1.frm

    Private Sub Command1_Click()

    If (Text1.Text = "Ramesh" And Text2.Text = "sec") Then

    Unload Me

    Form11.Show

    Else

    MsgBox "Wrong Password"

    End If

    End Sub

    Private Sub Command2_Click()

    End

    End Sub

    Form11.frm

    Private Sub Command1_Click()

    Form111.Show

    Form11.Visible = False

    End Sub

    Private Sub Command2_Click()

    Form112.Show

    Form11.Visible = False

    End Sub

    Private Sub Command3_Click()

    Form113.Show

    Form11.Visible = False

    End Sub

    Private Sub Command4_Click()

    Form2.Show

    Form11.Visible = False

    End Sub

    Private Sub Command5_Click()

    Form8.Show

    Form2.Visible = False

    End Sub

    Form111.frm

    Private Sub Command1_Click()

    MsgBox ("ADD DATA")

    Data1.Recordset.MoveLast

    Data1.Recordset.AddNew

    Data1.Recordset.Fields(0) = Form111.Text1.Text

    Data1.Recordset.Fields(1) = Form111.Text2.Text

    Data1.Recordset.Fields(2) = Form111.Text3.Text

    Data1.Recordset.Fields(3) = Form111.Text4.Text

    Data1.Recordset.Fields(4) = Form111.Text5.Text

    Data1.Recordset.Update

    End Sub

    Private Sub Command2_Click()

    Data1.Recordset.Delete

    Data1.Recordset.MoveNext

    MsgBox ("DATA DELETED")

  • 7/29/2019 Stock Maintenance System Requirements

    4/5

    End Sub

    Private Sub Command3_Click()

    Data1.Refresh

    End Sub

    Private Sub Command4_Click()

    Data1.UpdateRecordData1.Recordset.Bookmark = Data1.Recordset.LastModified

    MsgBox ("DATA UPDATE")

    End Sub

    Private Sub Command5_Click()

    Form11.Show

    Form111.Hide

    End Sub

    Form112.frm

    Private Sub Command1_Click()

    MsgBox ("ADD DATA")

    Data1.Recordset.AddNewData1.Recordset.Fields(0) = Form112.Text1.Text

    Data1.Recordset.Fields(1) = Form112.Text2.Text

    Data1.Recordset.Fields(2) = Form112.Text3.Text

    Data1.Recordset.Fields(3) = Form112.Text4.Text

    Data1.Recordset.Fields(4) = Form112.Text5.Text

    Data1.Recordset.Update

    End Sub

    Private Sub Command2_Click()

    Form11.Show

    Me.Hide

    End SubPrivate Sub Command3_Click()

    Form112.Text1.Text = ""

    Form112.Text2.Text = ""

    Form112.Text3.Text = ""

    Form112.Text4.Text = ""

    Form112.Text5.Text = ""

    End Sub

    Form113.frm

    Private Sub Command2_Click()

    Data1.Recordset.Delete

    Data1.Recordset.MoveNextMsgBox ("DATA DELETED")

    End Sub

    Private Sub Command3_Click()

    Data1.Refresh

    End Sub

    Private Sub Command4_Click()

    Data1.UpdateRecord

    Data1.Recordset.Bookmark = Data1.Recordset.LastModified

    MsgBox ("DATA UPDATED")

    End Sub

    Private Sub Command5_Click()Form2.Show

  • 7/29/2019 Stock Maintenance System Requirements

    5/5

    Form1.Text1 = " "

    Form1.Text2 = " "

    End Sub

    Private Sub Command6_Click()

    MsgBox ("ADD DATA")

    Data1.Recordset.AddNewData1.Recordset.Fields(0) = Form113.Text1.Text

    Data1.Recordset.Fields(1) = Form113.Text2.Text

    Data1.Recordset.Fields(2) = Form113.Text3.Text

    Data1.Recordset.Fields(3) = Form113.Text4.Text

    Data1.Recordset.Fields(4) = Form113.Text5.Text

    Data1.Recordset.Fields(5) = Form113.Text6.Text

    Data1.Recordset.Fields(6) = Form113.Text7.Text

    Data1.Recordset.Update

    End Sub

    Form2.frm

    Private Sub Command1_Click()Form21.Show

    Form11.Hide

    End Sub

    Private Sub Command2_Click()

    Form22.Show

    Form11.Hide

    End Sub

    Private Sub Command3_Click()

    Form11.Show

    Form22.Hide

    End SubForm21.frm

    Private Sub Command1_Click()

    Data1.Recordset.MoveLast

    Data1.Recordset.AddNew

    Data1.Recordset.Fields(0) = Text1.Text

    Data1.Recordset.Fields(1) = Text2.Text

    Data1.Recordset.Fields(2) = Text3.Text

    Data1.Recordset.Fields(3) = Text4.Text

    Data1.Recordset.Fields(4) = Text5.Text

    Data1.Recordset.Update

    Data1.Recordset.MoveNextMsgBox "ordered"

    End Sub

    Private Sub Command2_Click()

    Form2.Show

    Form21.Hide

    End Sub

    Form22.frm

    Private Sub Command2_Click()

    Form2.Show

    Form22.Hide

    End Sub