This action might not be possible to undo. Are you sure you want to continue?
“Sales and Inventory Management System”
For M.C.A (Master of Computer Application) Semester V
Guided by Prof. ______________
Submitted to Computer Department
Sinhagad Institute of Management Vadgaon (Bk)
Sinhagad Technical Education Society’s
SINHGAD INSTITUTE OF MANAGEMENT
44/1, Vadgaon (Budruk), Off Sinhgad Road, Pune 411 041. Telefax: 020-2435 4721. Email: firstname.lastname@example.org, Registrar.email@example.com
This is to certify that Ms. ______has successfully completed her project work entitled “SALES AND INVENTORY MANAGEMENT SYSTEM” in partial fulfillment of Masters of Computer Applications program for the year 2009 – 2010. She has worked under our guidance and direction.
(Director SIOM – MCA)
I would like to take this opportunity to express my gratitude towards all the people who have in various ways, helped in the successful completion of my project. I must convey my gratitude to Prof. Navnath Shete for giving me the constant source of inspiration and help in preparing the project, personally correcting my work and providing encouragement throughout the project. I also thank all my faculty members for steering me through the tough as well as easy phases of the project in a result oriented manner with concern attention.
Thanking You, ________________
I, Ms ____________hereby declare that this project is the record of authentic work carried out by me during the academic year 2009 – 2010 and has not been submitted to any other University or Institute towards the award of any degree.
Signature of the student
You can significantly improve inventory turns. and transfer postings. visibility. picking and packing.System Introduction For optimal sales and inventory management processes. Additional benefits of inventory management include improved cash flow. you need robust functionality for managing your logistics facilities. Employees can plan. enter. and shorten routes within your warehouse or distribution center. and decision making. and document warehouse and internal stock movements by managing goods receipts. This software is user friendly and hence easy to use. and material handling – while improving customer service. . Using this software we can reduce costs for warehousing. Warehouse inventory management functions cover internal warehouse movements and storage. Support for inventory management helps you record and track materials on the basis of both quantity and value. order fulfillment. physical stock transfers. optimize the flow of goods. transportation. goods issues. storage.
Not user friendly environment . Lot of paper work 5. Slow data processing 6. Less efficient 4.time consuming and less efficient and accurate in comparison to the computerized system. Less accurate 3. Time consuming 2. So following are some disadvantages of the old system: 1.Problems In existing system As we know manual system are quite tedious .
Difficult to keep old records .7.
Each record can be retrieved and can be verified for the future transactions. This system is developed in such a way that even a naïve user can also operate the system easily. . This system helps in tracking records so that past records can be verified through them and one can make decisions based on the past records. This system provides user friendly interface resulting in knowing each and every usability features of the system.Scope of Proposed System The scope of this system is to provide user efficient working environment and more output can be generated through this. This system completes the work in a very less time resulting in less time consumption and high level of efficiency. Also this system provides high level of security for data leaking as only admin people can access the database no changes can be made in it until it verifies the user login id and password. Limited access is available to the operator. The calculations are made very quickly and the records are directly saved into databases and the databases can be maintained for a longer period of time. We also have operator login through which operator can take orders but can’t make changes in the database.
Operational Feasibility: The new solution is feasible in all sense but operationally it is not. 10 Lacks PA as a operating cost. the company is still saving Rs 15 Lacs PA. It requires apprx. AC and networking etc. With the above details our system is technically feasible as after investing 14 Lacs in a year. . so we need a onetime investment of Rs 4 Lacs for the purchase of 6 computers. a laser printer. We will consider 3 types of feasibility study they are technical feasibility. As our existing system is purely manual. It creates an environment of joblessness and fear among the employees. So the management must take corrective actions prior in advance in order to start the further proceedings. 5 invoice printers. It can lead to an indefinite strike in the company also. operational feasibility and economical feasibility. Technical Feasibility: This new system requires 6 fully trained people to run the system perfectly.Feasibility Study As we know each and every project needs to have a feasibility study for the complete understandability of the project. The new system demands the expulsion of at least 15 people from the company. 1 admin person to maintain database n other 5 to handle the system interface and order making things.
telephone etc. But with the new system this reoccurring cost comes out to be about 20 Lacks P. stationary. electricity. This cost comprises salary of 25 people.A. Hence the new system is economically feasible. water.Economic Feasibility: With the manual system the operating cost of the system is about 60 Lacks P.A. . building rent.
MS Access 2003 .Certified Distribution of WINDOWS Visual Basic 2005 Express Edition Database(Backend) .Operating Environment – Hardware and Software HARDWARE REQUIREMENTS Processor: Pentium 4 or more for optimum performance RAM: Recommended 256MB Hard Disk: Minimum 20GB SOFTWARE REQUIREMENTS Operating System .
Proposed System .
visibility. perform physical inventory. • For warehouse management. you can track quantity and value of all your materials. • It improves cash flow. and decision making. and optimize your warehouse resources . • It support for inventory management helps you record and track materials on the basis of both quantity and value.Objectives • The main objective of this system is to keep records of the complete inventory.
3. order status B. 2. date of transaction. System shall have a form to accept the customer details. date of order. System should maintain the details about placing order/dispatch or order i. System shall display transaction details. 4. System shall have a form to accept the Plant details. INPUT/OUTPUT 1. Should report any data type mismatches any field on the forms.e. 2. Should report any errors on duplicate primary keys. System should provide facility for change in address/name. transaction amount. 5. date of order dispatch. credit card no etc. Order Placed. 2. ERROR HANDLING 1. System should inform the pending order and make changes if the order is dispatched. 6. System shall provide search facility on customer name. C. . System should automatically generate the bill.User Requirements FUNCTIONAL REQUIREMENTS A. PROCESSING 1. Should report any ‘Out of Range’ values on numeric fields 3.
Should report any Invalid Login errors NON-FUNCTIONAL REQUIREMENTS 1. There will be backup procedure to maintain records.4. Transaction should be completed within 1/5th of second 4. 3. Should report on any ‘Invalid dates’ 5. Should report any violation of authorization of rights 6. . Application should support 5 simultaneous users. All user manuals should be provided in the necessary format 2.
ANALYSIS & DESIGN .
Use case Diagram for Supplier Login Id and Pwd Checks Inventories <<include>> Tracks Order Supplier Dispatch order on time Customer Sends Invoice Updates Records .
Use Case Diagram for Customer Studies Requirements Make list of requirements Places the Order Makes payment Customer Clerk Invoice Send GRN .
Class Diagram for a customer order Customer Cust_Id Name Addr1 Addr2 Cust_city Pincode Addcust() Updatecust() Getcustdet() Order Order_no Ordercredate Order_status Shipment_dat e Challan Payment Amount Payment date Makepayme nt() Getinvoice() calcBilltotal() calctotalweig ht() Ordetdetail Orderno Materialqty Materialvalue Caclsubtotal calcweight Credit Number Type Expirydate validating Cheque Chqno Bankname Bankid validating Material Materialcode Plantcode Stckqty Getpriceforqty() GRN Recivedqty Damaged Rejected Rejectgood() Description() .
Sequence diagram for Supplier Supplier Log In Validate Tracks order Transaction Customer Invoice Places order Takes customr details Fill Order details Makes Payment Dispatch Order Send order details Add new entry Log Out Send GNR Send Invoice .
Input Screens .
Splash Screen Login Form .
Main Form .
Transaction screen .
Order Enquiry .
Material Details .
Plant Details About .
State Details Order Details .
Customer Details .
Order Status Add Plant .
Add Customer Search Customer .
Update customer Add material .
Edit material .
Table specifications .
UID_PASS (Login Table) Column Name USER_NAME PASSWORD Data Type Text Text Size 50 50 Description User name of the ADMIN/OPERATOR Password of the ADMIN/OPERATOR customer_master (Customer Details Table) Column Name Data Type cust_slno (PK) cust_name cust_add1 cust_add2 Cust_add3 cust_pincode cust_city contact_person _name contact_person _number State_code (FK) Num Text Char Char Char Num Char Char Num Char Size 6 50 40 40 40 6 15 30 10 2 Description Customer identification Name of the customer Address line one of the customer Address line two of the customer Address line three of the customer Pin code of the customer address City of the customer Name of the person responsible for order making Phone number for the person who made the order Initials of the state derived from state details table state_master (State Details table) Column Name Data Type state_code char Size 2 50 Description Code Of the state eg. state_descriptio char n . MH -maharashtra Description of the code.
material_master (Material Detail Table)
Column Name Data Type cust_slno (PK) material_code material_descri ption shipping_plant material_price Num char Char Char Num Size 6 10 20 4 10 Description Customer identification Code of the material Describing the material specification It gives detail of shipping plant n is linked with plant master table Price of the material
Values Like : COMP001 Computer – Pentium IV PMP1 – Pune Plant – Unit I PMP2 – Pune Plant – Unit II PMP3 – Pune Plant - Unit III Material_price - 5000
plant_master (Plant Details Table)
Column Name Data Type plant_code plant_name material_descri ption shipping_plant material_price Plant_add Plant_city Num char Char Char Num Char Char Size 6 10 20 4 10 40 15 Code of the material Describing the material specification It gives detail of shipping plant n is linked with plant master table Price of the material Address of plant City of plant Description
Code of plant
status_master (Order Status Master)
Column Name Data Type order_status description char char Size 4 50 Description Status of order in short Description of the plant.
Order Status Code & Values OED OCHKD CLRD SCHD SHIPDIS INVG MACI PYMR Order Entry done Order checked Order cleared Order scheduled Order Shipped by dispatch section Invoice generated by accounts department Machine installed by installation group Payment Received from customer
TRANSACTIONAL TABLES TO BE CREATED
ORDER_HEADER(ORDER Header Information Table
Column Name order_no (pk) order_creation_da te order_status customer_ref_no customer_ref_dat e Order_value material_required _date customer_slno (FK) delivery_challan_ no shipment_date invoice_number invoice_date transporter_name plant_code (FK) machine_installed _by cheque_no bank_name Data Type Num Date char char date Num Date Num num Date num date char char char num char 8 40 4 40 20 15 6 8 Size 8 4 20 11 Number of order Date of the order placement Status of order Reference number of the customer date on which customer referred Value of each order Date on which customer needs the delivery Customer identification number Delivery challan number Date on which material dispatched Number of invoice Date of invoice Name of the transporter Code of the plant Name of the person who installed the machine Number of cheque Name of the bank Description
ORDER_DETAIL(Order Detail Information Table line item wise )
Column Name Data Type order_no(FK) material_code (FK) item_qty item_value Num Num num Num Size 8 8 6 11 Number of order Code of material Quantity of the item Value of item Description
stock_master(Item Stock Master Table)
Column Name Data Type material_code (FK) plant_code(FK ) stock_qty Num char Num Size 8 4 6 Code of material Code of plant Stock of item quantity Description
Column Name Data Type order_no (FK) order_status creation_date Num char date Size 8 4 Number of order Description of item status Date on which order was created Description
Test Procedures and Implementation .
data collected as testing is conducted provide a good indication of software reliability and some indication of software quality as a whole. the engineer attempts to build software from an abstract concept to a tangible product. it can show Only that software errors and defects are present. Testing requires that the developer discard preconceived notions of the “correctness” of software just developed and overcome a conflict of interest that occurs when errors are uncovered. In fact. testing is the one step in the software process that could be viewed (psychologically. . Software engineers are by their nature constructive people.Introduction Testing presents an interesting anomaly for the software engineer. it will uncover errors in the software. In addition. It is important to keep this (rather gloomy) statement in mind as testing is being conducted. If testing is conducted successfully (according to the objectives stated previously). that behavioral and performance requirements appear to have been met. As a secondary benefit. Now comes testing. testing demonstrates that software functions appear to be working according to specification. But testing cannot show the absence of errors and defects. During earlier software engineering activities. The engineer creates a series of test cases that are intended to “demolish” the software that has been built. at least) as destructive rather than constructive.
These methods provide the developer with a systematic approach to testing. More important. a software engineer must understand the basic principle that guide software testing: All tests should be traceable to customer requirements Tests should be planned long before testing begins 80 percent of all errors uncovered during testing will likely be traceable to 20 percent of all program components. methods provide a mechanism that can help to ensure the completeness of tests and provide the highest likelihood for uncovering errors in software. Testing should being “in the small” and progress toward testing “in the large”. Any engineered product (and most other things) can be tested in one of two ways: Knowing the specified function that a product has been designed to perform. (2) knowing the internal . of course. The problem. Exhaustive testing is not possible To be most effective an independent third party should conduct testing A rich variety of test case design methods have evolved for software.Testing principles Before applying methods to design effective test cases. tests can be conducted that demonstrate each function is fully operational While at the same time searching for errors in each function. is to isolate these suspect components and to thoroughly test them.
Working of a product. The first test approach is called black box testing and the second. tests can be conducted to ensure that “all gears mesh. internal operations are performed according to specifications and all internal components have been adequately exercised. white-box testing.” that is. Testing performed were: UNIT TESTING INTEGRATION TESTING DATABASE TESTING RECOVERY TESTING FUNCTIONALITY TESTING SMOKE TEST SANITY TEST COMPATIBILITY TESTING LOAD TESTING SYSTEM TESTING PERFORMANCE TESTING USER ACCEPTANCE TESTING .
the software engineer can derive test cases that (1) guarantee that all independent paths within a module have been exercised at least once. (3) execute all loops at their boundaries and within their operational bounds. Providing test cases that exercise specific sets of conditions and/or loops tests logical paths through the software. Using white-box testing methods. If wrong data was provided then what it is throwing error or accepting. White-box testing of software is predicated on close examination of procedural detail. and (4) exercise internal data structures to ensure their validity. (2) exercise all logical decisions on their true and false sides. Test cases derived to exercise the basis set are guaranteed to execute every statement in the program at least one time during testing. . The “status of the program” may be examined at various points to determine if the expected or asserted status corresponds to the actual status. In this system. The basis path method enables the test case designer to derive a logical complexity measure of a procedural design and use this measure as a guide for defining a basis set of execution paths. Basis path testing is a white-box testing technique first proposed by Tom McCabe.White box testing Sometimes called glass-box testing is a test case design method that uses the control structure of the procedural design to derive test cases. the system was tested for the calculation matters were the data provided for giving the right output or not.
by a count that is greater than one. Rather. and 5. we derive a set of test cases that satisfy the following criteria: a. A black-box test examines some fundamental aspect of a system with a little regard for the internal logical structure of the software. When computer software is considered. black box testing enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program. Interface errors. black box testing alludes to tests that are conducted at the software interface. Black box testing is not an alternative to white-box techniques. That is. focuses on the functional requirements of the software. 2. Initialization and termination errors. Errors in data structures or external database access. it is a complementary approach that is likely to uncover a different class of error than white-box methods. black-box tests are used to demonstrate that software functions are operational. Although they are designed to uncover errors.Black box testing Also called behavioral testing. 4. Incorrect or missing functions. that input is Properly accepted and output is correctly produced and that the integrity of external information is maintained. By applying back-box techniques. 3. Black-box testing attempts to find errors in the following categories: 1. Behavior or performance errors. the number of additional test cases that must be designed to achieve reasonable testing . and Test cases that reduce.
White-box testing should not.e.b. however. The attributes of both black and white box testing can be combined to provide an approach that validates the software interface and selectively ensures that the internal workings of the software are correct. be dismissed as impractical. the system is working properly in each case or no. Black box testing for this system was done to check the internal testing i. Test cases that tell us something about the presence or absence of classes of errors. rather than an error associated only with the specific test at hand. . A limited number of important logical paths can be selected and exercised. What kind of errors are there in database design. Important data structures can be probed for validity.
Testing Process The testing process can be shown as: Levels of testing Test Plan Test Procedures Test Case Specification Yes Test Case Execution Is Error Uncovered ? No Test Case Analysis Test Report .
Menu Tree .
Main Page File View Tools Calcul ator Master Controls Help Logout Exit Transaction Screen Toolbar Customer System Requirement s Reports Status Bar Notepad Plant About Exit Material State Project Code report .
USER MANUAL .
3.oder creation date and order status are auto generated search cust_code by clicking search button and retrieve rest of the customer details. The 1st tab is “order entry” this screen will be disabled initially to make an order operator has to click on order entry button at the right hand side of the screen Order Entry 2. The first menu item of the System screen is transaction screen this screen is the main screen it has all the menu items which help to take order and maintain it in database.Menu Explanation Start Up screen 1.. Once that button is clicked the screen is activated and orderno. To add all details in transaction screen refresh button should be clicked . Once customer details are retrieved click calculate order value button this this will take to the order detail screen where order no is auto generated material code is selected and item qty is to be filled and by clicking on calculate the total is calculated n thus the order is placed 4. If the customer is new then administrator has to add new customer into database which is only accessed by admin person operator are not given those rights.
Next screen is machine installation here the engineer who gonna install the machine is to be given. Accounts dept is also auto filled admin has to verify all the details and make order date according to convenience Machine Installation 8. Customer ref number is also have to be filled by operator/admin n then to go on the next screen click on verified Shipment Details 6. The shipment details are already auto filled by the system operator has to provide the transporter name only Accounts Department 7. In commercial group screen all the payment details are to be filled accordingly once customer makes the payment . Commercial Group 9.5.
In the next tab we can see the order status. Order Enquiry 11.10. .Thus the records has been created.
So all customer databases and material database and all master tables are to be handled by the admin person only. 3. These screens are detailed screens so no specific description is needed for the same. Handling databases is in the power of the admin person only 2. .Admin authority 1.
Proposed Enhancements .
Future Scope: The scope of the project includes that what all future enhancements can be done in this system to make it more feasible to use • Databases for different products range and storage can be provided. • More graphics can be added to make it more user-friendly and understandable. • Manage & backup versions of documents online. . • Multilingual support can be provided so that it can be understandable by the person of any language.
Benefits • Manages Track sales • Manages contacts • Manages accounts • Manages opportunities • Track product issues • Manage issue priority • Track product features • Manage product life cycle .
Graphs could have been added in order to get the records more clearly. .Drawbacks And Limitations 1. Some keywords in system are difficult to understand so the admin n operator person should understand them thoroughly to use the system accurately. The system is not capable of handling more than 6 users at a time. 2. 3.
techniques and resources – that would generate a proper System While making the system. as cost-effective and as flexible as possible. The project is still under modification. .Conclusion While developing the system a conscious effort has been made to create and develop a software package. As in case of any system development processes where there are a number of shortcomings. an eye has been kept on making it as userfriendly. there have been some shortcomings in the development of this system also. making use of available tools. As such one may hope that the system will be acceptable to any user and will adequately meet his/her needs.
Bronson WEB LINK • http://www.dreamincode.com • .BIBLIOGRAPHY BOOKS REFERRED • Introduction To Programming with Visual Basic .a1vbcode.NET By Gary J.net http://www.
Code design .
Close() TextBox1.Text) password = UCase(TextBox1. temp1.Text <> "" Then username = UCase(ComboBox1.OleDbDataReader If ComboBox1.Items.Focus() End Sub e As Private Sub Button1_Click(ByVal sender As System.Hide() curr = New Main 'curr.Close() If password. temp2 As String Dim Read As OleDb.Show() .Click Dim username.Parameters("USER_NAME").Equals(temp1) = True Then Me.Login Public Shared temp As String Public Shared flag As Integer Dim hcl As Integer Private Sub Login_Load(ByVal sender As System. Data.LongVarChar) OleDbCommand2.Parameters.GetValue(0) temp2 = .Open() Dim objReader As OleDbDataReader = OleDbCommand1.ExecuteReader With Read While . ByVal e As System.Text <> "" And TextBox1.OleDbType.OleDb.Object.Read temp1 = .Value = username OleDbConnection1.Add(objReader("USER_NAME")) Loop OleDbConnection1. ByVal System.GetValue(1) End While End With OleDbConnection1.Object.Open() Read = OleDbCommand2.Read() ComboBox1. password.ExecuteReader Do While objReader.Text) OleDbCommand2.EventArgs) Handles Button1.Load OleDbConnection1.Text) temp = UCase(TextBox1.EventArgs) Handles MyBase.Add("USER_NAME".
MessageBoxButtons. vbExclamation.OKOnly + vbInformation. ByVal e As System.Click End End Sub End Class .OK) Then curr = New Main curr. MsgBoxStyle. "Login Error". "Sales and Inventory Management System") bug1: ComboBox1.Focus() End If If temp.Object..Show("Wrong Password !!!". "Sales And Inventory Management System") If (hcl = MsgBoxResult.OK.Show() End If Else MsgBox("All fields required not to be a null value.EventArgs) Handles Button2.Hide() Else MessageBox..".curr.Equals("OP") = True Then flag = 2 End If hcl = MsgBox("Login Successful. Welcome to Sales and Inventory Management System !!!".Exclamation) GoTo bug1 TextBox1.Focus() End If End Sub Private Sub Button2_Click(ByVal sender As System.Equals("ADMIN") = True Then flag = 1 End If If temp. MessageBoxIcon.
TabPage1.Enabled = True Me.Transaction screen Imports System.Enabled = False Me.TabPage1.Form Public Shared temporder_no As Integer Public Shared temporder_value As Integer Public Shared tempplant_code As String Dim random As New random Dim num As Integer = random.Click Me.EventArgs) Handles Button100.Next(99999) Dim challan_no As Integer = random. ByVal e As System.Enabled = False Me.Next(999) Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim Dim order_no As Integer order_creation_date As Date order_status As String customer_ref_no As String customer_slno As String customer_ref_date As Date order_value As Integer plant_code As String material_required_date As Date customer_initial As String delivery_challan_no As Integer shipment_date As Date invoice_number As Integer invoice_date As Date transporter_name As String machine_installed_by As String cheque_no As String bank_name As String Private Sub Button101_Click(ByVal sender As System.Close() End Sub Private Sub Button100_Click(ByVal sender As System.EventArgs) Handles Button101.Enabled = False Me.Data Public Class transaction Inherits System.Windows.SelectedIndex = 5 TextBox1.TabControl1.EventArgs) Handles MyBase.TabControl1. ByVal e As System.Object.TabPage5.Enabled = True Me.Object.Enabled = False Me.Click Me.Text = Str(num) .TabPage4.TabPage6.Forms.TabPage2.SelectedIndex = 0 End Sub Private Sub transaction_Load(ByVal sender As System.Enabled = False Me.TabPage3. ByVal e As System.Load Me.Object.
Text = Str(order_no) TextBox22.Text = Str(order_value) .Object.Text TextBox12.Text <> "" And TextBox4.Text = order_status customer_initial = Mid(customer_slno.Text shipment_date = DateTimePicker3.Text order_creation_date = DateTimePicker1. ByVal e As System.Text invoice_int = Val(TextBox23. ByVal e As System.Enabled = True Me.Text <> "" And DateTimePicker5.TabControl1.Click If TextBox13.Enabled = True Me.Click If TextBox1.Text = Str(invoice_int) TextBox29.Text transporter_name = TextBox14.Text material_required_date = DateTimePicker5.Text order_value = TextBox21.Visible = False End Sub Private Sub Button3_Click(ByVal sender As System.TabPage3.Next(99999) Me.EventArgs) Handles Button4.Text <> "" And TextBox14.".Object.Text order_status = "SCHD" customer_ref_no = TextBox4.Text <> "" And TextBox3.Text = Str(challan_no) Else MsgBox("All fields required not to be a null value.Text <> "" Then Dim invoice_int As Integer Dim random As New Random Dim num As Integer = random.TabControl1.Text = customer_initial TextBox13.SelectedIndex = 1 Me. 1. vbExclamation.Text plant_code = TextBox5.Text <> "" Then Me.Text) + Val(num) TextBox23.EventArgs) Handles Button3.Focus() End If End Sub Private Sub Button4_Click(ByVal sender As System.temporder_no = num Button11.Text <> "" And TextBox5.Text customer_ref_date = DateTimePicker2. "Sales Management System") TextBox3. 1) TextBox46.TabPage2.Text <> "" And DateTimePicker1.Text customer_slno = TextBox3.Enabled = False order_no = TextBox1.Text = Str(delivery_challan_no) TextBox28.SelectedIndex = 2 order_status = "SHIP" delivery_challan_no = TextBox13.Text <> "" And TextBox21.TabPage1.
Add("cust_slno".Dim Read As OleDb. Data.OleDbType.Value = customer_slno accountConnection1. Data.Parameters.OleDbDataReader If customer_slno <> "" Then accountCommand1.Enabled = True Me.OleDb.Text TextBox36.Text = .Read TextBox35.GetValue(3) .GetValue(1) .Text = .Read TextBox24.Parameters.TabPage4. ByVal e As System.Focus() End If End Sub Private Sub Button5_Click(ByVal sender As System.Text = .Object.Parameters("cust_slno").OleDbType.OleDb.ExecuteReader() With Read While .GetValue(3) End While End With accountConnection1.Integer) accountCommand1.Integer) machCommand1.Value = customer_slno machConnection1.ExecuteReader() With Read While .GetValue(0) TextBox25.".Parameters("cust_slno").OleDbDataReader If customer_slno <> "" Then machCommand1.Text) invoice_date = DateTimePicker4.GetValue(2) TextBox27.Text TextBox33.Close() = = = = .Click Me.Add("cust_slno".Text TextBox31.Text = . vbExclamation.Open() Read = machCommand1.SelectedIndex = 3 order_status = "INVG" invoice_number = Val(TextBox28. "Sales Management System") TextBox14.GetValue(2) .Close() End If Else MsgBox("All fields required not to be a null value.Open() Read = accountCommand1.TabControl1.GetValue(1) TextBox26.Text End While End With machConnection1.Text TextBox34.EventArgs) Handles Button5.GetValue(0) .Text = Str(delivery_challan_no) Dim Read As OleDb.
EventArgs) Handles Button7. vbExclamation.Open() Read = comCommand1.Text = "" Or TextBox41.Text = "" Or TextBox37.Text = "" Or TextBox38.End If End Sub Private Sub Button6_Click(ByVal sender As System.Object. "Library System") Else = = = = .ExecuteReader() With Read While .Text End While End With comConnection1.".Integer) comCommand1.Enabled = True Me.TabPage5. ByVal e As System.Click If TextBox30.Click If TextBox42.Value = customer_slno comConnection1.Focus() End If End Sub Private Sub Button7_Click(ByVal sender As System.OleDbDataReader If customer_slno <> "" Then comCommand1.Text On Error GoTo fix If TextBox32.OleDbType.TabControl1.Text = Str(order_no) TextBox32. Data.Text TextBox37. ByVal e As System.Text = "" Or TextBox42. "Sales Management System") TextBox30.Object.EventArgs) Handles Button6.Text = "" Or TextBox39.Text = "" Or TextBox40.Text TextBox39.Text Dim Read As OleDb.Text <> "" Then Me.Parameters("cust_slno").Add("cust_slno".Text <> "" And TextBox1.SelectedIndex = 4 order_status = "MACI" TextBox41.Text = "" Then MsgBox("All fields required not to be a null value.Text bank_name = TextBox43.Parameters.".OleDb.GetValue(2) .Text = order_status machine_installed_by = TextBox30.GetValue(0) .Close() End If MsgBox("All fields required not to be a null value.GetValue(1) . vbExclamation.GetValue(3) .Text = "" Or TextBox43.Text <> "" Then order_status = "PYMR" cheque_no = TextBox42.Text TextBox38.Read TextBox40.
customer_initial. '" & shipment_date & "' . order_creation_date. '" & order_status & "'. cheque_no.'" & invoice_date & "'.Read TextBox6. invoice_date. '" & order_creation_date & "'.Text = .GetValue(3) TextBox10. "Sales Management System") paymentCommand1.GetValue(1) TextBox8.machine_installed_by. invoice_number.OleDb.CommandText = _ "INSERT INTO ORDER_HEADER(bank_name.Text = .OleDbDataReader If TextBox3. '" & plant_code & "'.Close() . shipment_date. customer_ref_date.OleDbType. '" & order_no & "'.Text = .".Open() Read = orderCommand1.Text <> "" Then str1 = TextBox3.GetValue(0) TextBox7.Object. '" & material_required_date & "' .GetValue(4) TextBox11.'" & customer_ref_date & "'. customer_ref_no.Click Dim str1 As String Dim Read As OleDb.transporter_name)VALUES('" & bank_name & "'.'" & invoice_number & "'.Focus() End If End Sub Private Sub Button2_Click(ByVal sender As System. customer_slno.Close() fix: Exit Sub Else MsgBox("All fields required not to be a null value. order_value.Text = .'" & customer_initial & "'.ExecuteNonQuery() paymentConnection1. vbInformation.'" & customer_slno & "' . vbExclamation.'" & cheque_no & "'.Value = str1 orderConnection1.Text = .Open() paymentCommand1.EventArgs) Handles Button2.GetValue(5) End While End With orderConnection1.'" & delivery_challan_no & "'. delivery_challan_no. Data.'" & machine_installed_by & "'.Close() Me.Exit Sub End If paymentConnection1.ExecuteReader() With Read While . plant_code. '" & order_value & "'.Add("cust_slno".'" & transporter_name & "')" MsgBox("New Record has been added.'" & customer_ref_no & "'. order_no. order_status. material_required_date.Parameters("cust_slno").Parameters. ByVal e As System.".Text = .GetValue(2) TextBox9.Text If str1 <> "" Then orderCommand1.Integer) orderCommand1. "Sales Management System") TextBox42.
Show() Button1. MessageBoxButtons. ByVal e As System.Visible = True order_status = "REVD" End Sub Private Sub Button11_Click(ByVal sender As System.Parameters("order_no").Read TextBox20.Text = .Text = order_status End Sub Private Sub Button8_Click(ByVal sender As System.ExecuteReader() With Read While .GetValue(3) TextBox18.EventArgs) Handles Button11. "Sales Management System") TextBox3.OK. MessageBoxIcon.Parameters.Text enquiryCommand.End If MsgBox("Please provide an Customer Code to search".Object.Text = tempplant_code order_status = "CLRD" End Sub Private Sub Button10_Click(ByVal sender As System.OleDbDataReader If TextBox15. ByVal e As System.Show("Please Enter the Order No. !!!".OleDb.Text = .Text = . MsgBoxStyle.Object. Data.GetValue(2) TextBox17.Add("order_no".Text = . ByVal e As System.GetValue(7) TextBox45.GetValue(6) End While End With enquiryConnection.GetValue(4) TextBox19.EventArgs) TextBox22.EventArgs) Handles Button8.GetValue(1) TextBox16.Visible = False Button11.Click TextBox21.GetValue(5) TextBox44.EventArgs) Handles Button1.Object. ByVal e As System.Exclamation) Else Else .Text = .Text <> "" Then enq = TextBox15.Object.Value = enq enquiryConnection.Click curr = New Orderdetail curr.Exclamation.Text = .Text = .Text = temporder_value TextBox5.Close() MessageBox. "Sales Management System".OleDbType.Click Dim enq As String Dim Read As OleDb.Integer) enquiryCommand.Open() Read = enquiryCommand.Focus() End If End Sub Private Sub Button1_Click(ByVal sender As System.
Object.Text = "" TextBox15.EventArgs) Handles Button9.Text = "" TextBox18.Text = "" TextBox17.Enter End Sub Private Sub TabPage1_Click(ByVal sender As System.Object.EventArgs) Handles GroupBox1.Text = "" TextBox44.Text = "" TextBox16.Focus() End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Text = "" TextBox19.End If End Sub Private Sub Button9_Click(ByVal sender As System.EventArgs) Handles TabPage1. ByVal e As System.Text = "" TextBox20.Text = "" TextBox45.Click TextBox15. ByVal e As System.Object.Click End Sub End Class . ByVal e As System.
".Close() End Sub Private Sub Button2_Click(ByVal sender As System.EventArgs) Handles Button3.Text & "'. "Sales Management System") OleDbCommand1.Object.Text = "" Or TextBox2. vbInformation.Form Private Sub Button3_Click(ByVal sender As System.Open() OleDbCommand1.'" & TextBox5.Text = "" TextBox8.Text & "'.Text = "" ComboBox1.Text = "" Or TextBox10. contact_person_name.ExecuteNonQuery() OleDbConnection1.Text = "" Or TextBox3.Close() fix: Exit Sub End Sub Private Sub Addcust_Load(ByVal sender As System.Click TextBox1. ByVal e As System.OleDb Public Class Addcust Inherits System. cust_add3. cust_initial.Add customer Imports System.Text & "'. cust_pincode.Text & "'.Text = "" TextBox10.Text & "'. '" & TextBox10.Click Me.Windows.Text & "'.Text = "" Or TextBox5.EventArgs) Handles MyBase.".Text = "" Or TextBox6.Text = "" Or TextBox7.Text = "" TextBox7.Text = "" Or ComboBox1. contact_person_number. cust_add1. ByVal e As System.Data.Text & "')" MsgBox("New Customer has been added.Text & "'.Text = "" TextBox5.Object. cust_city.Text = "" Or TextBox8.Text & "'.Close() Me. cust_add2.Text = "" TextBox2.Text = "" TextBox4.Text = "" TextBox9. ByVal e As System. '" & TextBox6. '" & TextBox4.Text = "" Or TextBox4.Text = "" TextBox3.Text & "'.Object.'" & TextBox7.Click On Error GoTo fix If TextBox1.Object.Text = "" End Sub Private Sub Button1_Click(ByVal sender As System.'" & TextBox3.Text = "" TextBox6.Load . ByVal e As System.'" & ComboBox1. '" & TextBox2. "Sales Management System") Exit Sub End If OleDbConnection1.CommandText = _ "INSERT INTO customer_master(cust_slno.Text & "'.Text = "" Or TextBox9.EventArgs) Handles Button1.EventArgs) Handles Button2. vbExclamation. cust_name.'" & TextBox9.state_code)VALUES('" & TextBox1.Text = "" Then MsgBox("All fields required not to be a null value.Forms. '" & TextBox8.
Items.EventArgs) Handles GroupBox1.Read() ComboBox1. ByVal e As System.Enter End Sub End Class .Open() Dim objReader As OleDbDataReader = OleDbCommand2.Object.Close() End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Focus() OleDbConnection2.Add(objReader("state_code")) Loop OleDbConnection2.TextBox1.ExecuteReader Do While objReader.
Edit material Public Class Editmaterial Inherits System.Position = 0 Count() fix: Exit Sub End Sub Private Sub Button4_Click(ByVal sender As System.EventArgs) Handles Button2.EventArgs) Handles Button4.Click OleDbConnection1. ByVal e As System. "material_master").Click On Error GoTo fix Me. "material_master"). ByVal e As System. "material_master").Click On Error GoTo fix Me.Update(DataSetSMS) MsgBox("Changes has been successfully save.BindingContext(DataSetSMS. "material_master").Close() End Sub Private Sub Button3_Click(ByVal sender As System. vbInformation.EventArgs) Handles Button5.Click Me.BindingContext(DataSetSMS.Object.Object.BindingContext(DataSetSMS.Position . "material_master"). "Sales Management System") Catch End Try OleDbConnection1. ByVal e As System.Close() Me.Object.Object.Position += 1 Count() fix: Exit Sub End Sub .BindingContext(DataSetSMS. ByVal e As System.Position -= 1 Count() fix: Exit Sub End Sub Private Sub Button5_Click(ByVal sender As System.Windows.EventArgs) Handles Button1.Position += intRow OleDbDataAdapter1.1 Me.Open() Try Dim intRow As Integer = Me. ByVal e As System.Forms.BindingContext(DataSetSMS.".Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object.Form Private Sub Button2_Click(ByVal sender As System.Click On Error GoTo fix Me.EventArgs) Handles Button3.
Count Current = Me.Add("material_code".1 Count() fix: Exit Sub End Sub Private Dim Dim Dim Sub Count() Records.BindingContext(DataSetSMS.Focus() DataSetSMS.Enabled Button6. "material_master").Count .Private Sub Button6_Click(ByVal sender As System.Click Dim str1 As String Dim Read As OleDb. Current As Integer enableBack As Boolean = False enableForward As Boolean = False 1 Records = Me.Count . ByVal e As System.Parameters.BindingContext(DataSetSMS.Clear() OleDbDataAdapter1.EventArgs) Handles Button6.Click On Error GoTo fix Me.Fill(DataSetSMS) Count() End Sub Private Sub Button7_Click(ByVal sender As System.OleDb. "Search by Material Code") If str1 <> "" Then OleDbCommand1.Enabled End Sub = = = = enableBack enableBack enableForward enableForward Private Sub Editcust_Load(ByVal sender As System.OleDbDataReader str1 = InputBox("Enter Material Code :".Object.Enabled Button5.Parameters("material_code").BindingContext(DataSetSMS.Position > 0 Then enableBack = True End If If BindingContext(DataSetSMS. "material_master").OleDbType. Data. "material_master"). ByVal e As System.Position + If Me.BindingContext(DataSetSMS.material_master. "material_master"). "material_master").Object.Object.1 Then enableForward = True End If Button3. ByVal e As System.Integer) OleDbCommand1.EventArgs) Handles Button7.Position = Me.EventArgs) Handles MyBase.Open() .Enabled Button4. "material_master").Position < DataSetSMS.Load TextBox1.BindingContext(DataSetSMS.Value = str1 OleDbConnection1.
Text TextBox3.GetValue(3) .Text End While End With OleDbConnection1.ExecuteReader() With Read While .GetValue(1) .Read TextBox1.Text TextBox4.GetValue(2) .Text TextBox2.Close() End If End Sub End Class = = = = .Read = OleDbCommand1.GetValue(0) .
Object.Integer) matorderdetailCommand1.Enabled = False Button4.Close() End Sub Private Sub Button3_Click(ByVal sender As System.OleDbType.Object.Click Me.Enabled = False TextBox5.OleDb.Text = "" TextBox5. ByVal e As System.Object.EventArgs) Handles Button2.Order Detail Imports System.Add("material_code". ByVal e As System. ByVal e As System.Load TextBox1.Enabled = False TextBox1.EventArgs) Handles Button3. ByVal e As System.Enabled = True TextBox5.Enabled = False TextBox4.Enabled = False TextBox5.Enabled = False End Sub Private Sub Button2_Click(ByVal sender As System.Enabled = False TextBox3.Text = "" TextBox4.OleDbDataReader TextBox3.EventArgs) Handles MyBase.Object.Text = "" TextBox3.Value = str1 .Open() Dim objReader As OleDbDataReader = materialCommand.Enabled = True Button4. Data.Text = "" ComboBox1.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Enabled = False TextBox4.Read() ComboBox1.Enabled = True matorderdetailCommand1.Data.Enabled = False TextBox3.Text = "" Button4.Text = Str(transaction.temporder_no) materialConnection.Form Public Shared temp1 As String Public Shared temp2 As String Dim qty As Integer Dim item_value As Integer Private Sub Orderdetail_Load(ByVal sender As System.Items.OleDb Public Class Orderdetail Inherits System.Text = "" TextBox2.Parameters("material_code").Add(objReader("material_code")) Loop materialConnection.Windows.Parameters.Forms.ExecuteReader Do While objReader.EventArgs) Handles Button1.Click Dim str1 As String Dim Read As OleDb.Click TextBox1.Enabled = True TextBox4.
Object.temporder_value = item_value transaction.Text & "'.Open() orderdetailinsertCommand1.Text End If orderdetailinsertCommand1.EventArgs) Handles Button4.". MsgBoxStyle.Object.GetValue(2) End While End With matorderdetailConnection1.Close() Me.'" & TextBox2.OKOnly + vbInformation.ExecuteReader With Read While . ByVal e As System.ExecuteNonQuery() orderdetailinsertConnection1.item_qty.material_code.tempplant_code = TextBox4.Text & "')" flag = MsgBox("Order Placed!!!".matorderdetailConnection1.Text) TextBox3.OK) Then transaction.Text & "'.Text = "" Or TextBox2.Text = Str(item_value) End Sub Private Sub Button4_Click(ByVal sender As System.CommandText = _ "INSERT INTO order_detail(order_no.Text = "" Or TextBox5.Text = "" Or TextBox4.Text = .Text & "'. '" & ComboBox1.EventArgs) Handles GroupBox1. "Library System") Exit Sub End If orderdetailinsertConnection1.Close() End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Text = .Text = "" Then MsgBox("All fields required not to be a null value.Enter End Sub End Class .Close() qty = Val(TextBox5. '" & TextBox3.Text = "" Or ComboBox1.Open() Read = matorderdetailCommand1.Read TextBox4.Text) item_value = qty * Val(TextBox2. vbExclamation.item_value)VALUES('" & TextBox1.GetValue(3) TextBox5.Close() fix: Exit Sub Me. ByVal e As System.Click Dim flag As Integer On Error GoTo fix If TextBox1. "Sales Management System") If (flag = MsgBoxResult.Text = "" Or TextBox3.
ByVal e As System. vbInformation.EventArgs) Handles Button1.Text & "'. ByVal e As System.Text & "')" MsgBox("New State has been successfully added. vbExclamation.CommandText = _ "INSERT INTO status_master(order_status.Close() fix: Exit Sub End Sub .Order Status Public Class Orderstatus Inherits System. "Sales Management System") Exit Sub End If OleDbConnection1.Form Private Sub Button2_Click(ByVal sender As System.Open() OleDbCommand1.Text = "" And TextBox2.Object.EventArgs) Handles Button2.Forms.'" & TextBox2.ExecuteNonQuery() OleDbConnection1. "Sales Management System") OleDbCommand1.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Windows.". description)" & _ "VALUES('" & TextBox1.Object.Close() Me.Text = "" Then MsgBox("State Code and State Description cannot be a null value.Click On Error GoTo fix If TextBox1.Click Me.".
Test Cases Case no.no Action Expected Output Message window saying “Please enter the username/ password” Message window saying “Wrong username/ password” Takes user to Homepage Actual Output Message window saying “Please enter the username/ password” Message window saying “Wrong username/ password” Takes user to Homepage Result Login A User forgets to enter the username/ password User enters wrong username/ password User enters correct username/ password PASS B PASS C PASS . 1 Scenario Sr.
no Action Expected Output Message window saying “Customer Does not exist” Actual Output Message window saying “Customer Does not exist” Message window saying “Name Should Not be null” Message window saying “Invalid code” Result Placing Order A User enters wrong customer code PASS B User does not enters Some record e.Case no. 2 Scenario Sr.g name C Message window saying “Name Should Not be null” User Enters Message wrong window plant code saying “Invalid code” PASS PASS .
Order Pending/Booking/Billing .
Order analysis in term of dates .
Balance Payment report .
State Transition Diagram for supplier Initiate LogIn Validate User_id and Pwd Invalid userid / pwd Tracks Order Order Order Details Check For the transport Shipment Shipment availabili ty Dispatch order Payment Details Invoice Invoice details Records Update Records .
Activity Diagram for system: Customer Supplier Shipment Request Material Get Materials Tracks Order Ship Order Receive Order Bill Customer Pay Bill Send GRN Close Order .
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.