Sie sind auf Seite 1von 62

1. INTRODUCTION 1.

1 ABOUT THE PROJECT


For optimal sales management processes, you need robust functionality for managing your logistics facilities. Support for inventory management helps you record and track materials on the basis of both quantity and value. Using this software we can reduce costs for warehousing, transportation, order fulfillment, and material handling while improving customer service. You can significantly improve inventory turns, optimize the flow of goods, and shorten routes within your warehouse or distribution center. Additional benefits of inventory management include improved cash flow, visibility, and decision making. This project is user friendly and hence easy to use. Employees can plan, enter, and document warehouse and internal Stock movements by managing goods receipts, goods issues, storage, picking and packing, physical Stock transfers, and transfer postings.

1.2 ABOUT THE SOFTWARE


The software used for developing Sales Management System: Visual Basic 6.0 Microsoft Access VISUAL BASIC Microsoft Visual Basic is the quickest and easiest way to create applications for the MS windows environment. It allows creation of application that fully exploits the Graphical User Interface (GUI). It makes use of graphical user interface that enables users to interact with an application. This feature makes it easier to comprehend things in a quicker and easier way. Visual Basic makes things more productive by providing tools for the different areas of GUI Developed. One creates the graphical user interface for the application by drawing objects in a graphical way. One then sets properties on this object to refine their behavior and appearance. Then this interface is made to react to the user by writing code that responds to events occurring in the interface. VB allows for creation of powerful application that exploit the key features of MS-windows, including Multiple Document-Interface (MDI), Object Linking and Embedding (OLE), Dynamic Data Exchange (DDE), Graphics and more. Visual Basic 6.0 is specially designed to utilize the internet. It comes with several controls that allow creating web-based applications called Active-X executable. These will work just like stand-alone Visual Basic applications, but they are accessed through the Microsoft Internet Explorer 3.1 web browser. This allows revising application and distributing them through the internet.

VISUAL BASIC COMES IN THREE EDITONS: The Visual Basic Learning Edition The Visual Basic Professional Edition The Visual Basic Enterprise Edition The Visual Basic Learning Edition is the introductory edition used to create windows applications easily. It comes with all the tools needed to build main streams windows application. The Visual Basic Professional Edition is for computer professionals and includes advanced features, such as, tools to develop Active-X and internet controls. The Visual Basic Enterprise Edition is the most advanced edition and is aimed at programmers who build distributed application in a team environment. It includes all features of the professional edition plus tools such as Visual Source Safe (a version control system) and the Automation and Component manager. INTEGRATED DEVELOPMENT ENVIRONMENT (IDE) Visual Basic is not just a language. It is an integrated development environment that helps to develop, run, and debug applications. IDE is term commonly used in the programming world to describe the interface and environment to create applications. It is called integrated because it helps to access virtually all of development tools needed from one screen called interface. The IDE is commonly referred to as design environment, the program, or just IDE.

VISUAL

BASIC

CAN

CREATE

THE

FOLLOWING

TYPES

OF

APPLICATIONS Standard Exe A Standard Exe project is an application that is developed with previous versions of Visual Basic. Active Exe, Active-X DLL These types of project are available within the professional edition and are identical in functionality but are packaged differently (as executable files or Dynamic Link Libraries). Active-X Control This type of project is also a feature of the Professional Edition to develop own Active-X Controls. Active Document Exe, Active-X Document DLL Active-X document are in essence Visual Basic applications that can run in the environment is a container that supports Hyper Linking. In simpler terms, this environment is a web browser, such as Internet Explorer. FEATURES OF VISUAL BASIC 6.0: Active-X controls are the most common manifestation of ActiveX technology. The Active-X controls can be seen everywhere: the internet. Active-X controls give the developer small footprints, reusable Software components that can be easily activated through development tools, browsers and application. ADVANCED OBJECT ORIENTED PROGRAMMING: Advanced Object Oriented Programming is a method of analyzing, designing and writing applications using object. OOP simplifies program development by encapsulating properties and methods within a simple security model. Thus with OOP, VB programmer can compartmentalize the functionality of a program into discrete objects.

REMOTE AUTOMATION: To use OLE to distribute OLE servers across the network that can create DLL through OLE interface and use it in any front-end tool across the network. DATA BOUND CONTROLS: Visual Basic 6.0 has a much more robust data binding architecture and there are many more data bound controls like degrade DB combo, etc. CONDITIONAL COMPONENTS: Target both 16/32 bit operation system and included the proper calls for each by conditional compilation. MANAGING OWN COMPONENTS: Visual Basic 6.0 programmers can build OLE servers. The component Manager let to locate OLE servers scattered throughout the network, group catalogue related OLE objects and install or register the OLE servers for use in development object. API CALLS AND THE REGISTRY: The API Viewer is a browser and a file that contains most of the function declarations that make up the windows API. API tools are so powerful that can take complete control of windows. ELEMENTS OF VISUAL BASIC INTERFACE: TOOL BAR: Tool bar provides quick access to commonly used command in the programming environment. Each tool in the tool bar represents a control. OBJECT: Objects are entities, which can be manipulated, like forms, controls, custom, controls etc. It allows the user to enter the data as well as to view the results.

TOOL BOX: VB provides a set of tools that can be used at design time to place on the form. Each tool in the box represents the following summarization . PICTURE BOX: The picture box is used to display the picture or image or bitmap picture. Using the picture box we can insert the picture. Bitmap Icon Metafile Enhanced Metafile JPEG or GIF files COMMAND BUTTON: The command button is used to carry the user commands. The user can click the Command Button and the corresponding operations are carried out. OPTION BUTTON: The form contains any Numberber of option buttons. The option buttons are used to check the value is true/false, yes/no like operations. TEXT BOX: The text box is used to display the alphaNumbereric values on runtime. The text box display the text-based information, Numbereric based information or any string values to display, when the form is run. LABEL BOX: The label box is used to display the field name or any information to display the form. In the label box we can use text, Numberber or any alphaNumbereric function and special characters also.

CONTROLS: A control is an object that we can draw on a form to enable or enhance user interaction with an application. Command buttons, menus are some of the example of controls. MENU BAR: The menu bar contains the commands you need to work with Visual Basic. The menus are: File Edit View Project Debug

PROJECT EXPLORER: The project explorer displays the components of the projects or simple projects that is made up of a single form. The project components are organized in to folders and the project window is called project. It has the look of the Windows Explorer. FORMS: A form is a window or a dialog box overlaid on the screen and used as a display area or for getting information and instructions from the user. Each form is designed to perform a specific task like display data, graphics, give instructions, set up process etc. when we design a form, it becomes an interface that the user sees on the screen. Forms have properties that determine aspects of their appearances. PROPERTIES: When the form is being designed we will put command buttons, scroll bars, pull-down menus on it. However for these elements to be of any use it is necessary to be more specific about their appearance and how they operate. For example the command buttons has properties that include the caption, the back color. For a particular button the value of these properties may change.

PROJECTS: Project is a collection of all the forms, modules and controls that make up the application. The project window displays a list all the forms, modules and custom in an application. CHECKBOX: The checkbox presents one or more choices that the user can select. The checkbox controls main property is value and its LIST BOX: This control contains the list of option from which the user can choose one from more options. Unlike a group of checkboxes or option buttons, the selected item in a list box control is given by the text property. Another important property of list box control is the stored property, which determines whether the items in the list will be stored, or, not. COMBO BOX: The combo box control is similar to the list box control, but it contains a text edit field. The user can either choose an item from the list or enter a new string in the edit field. The item selected from the list is given by the control text property. FRAME CONTROL: Frame control is used to draw boxes on the form and group other elements. The frame control is used to group together two sets of option buttons. Similarly we can place other controls on the frame control and they all behave as a single unit contained within the frame. TIMER CONTROL: 0, if checkbox is cleared 1, if checkbox is checked 2, if checkbox is grazed

Timer control performs tasks at regular intervals. The main property of the timer control is interval, which determines how often the timer notifies your application. PROCEDURES: We can simplify programming tasks by breaking programs into smaller logical components. These components are called procedures. Procedures are useful for condensing repeated or shared tasks such as frequently used calculations. Text, control manipulation and database operations. MDI (MULTIPLE DOCUMENT INTERFACE): The Multiple Document Interface (MDI) allows you to create an application that maintains multiple forms within a single container forms. Application such as Microsoft Excel and Microsoft Word for windows has multiple document interfaces.

MS-ACCESS
FEATURES OF MS-ACCESS Microsoft Access version 7.0 includes many features and enhancements that help you work database. A few of these new features are summarized below. MOVABLE, CUSTOMIZABLE TOOLBARS Microsoft Access toolbars are now movable and customizable. You can move toolbars around the Microsoft Access window hide them individually and customize them by adding buttons. You can also create your own toolbars and attach them to Forms and Reports. SHORT CUT MENUS Press the right mouse button when defining a control, setting a property of performing other task in Microsoft Access to display a short cut Menu. A command appropriate to the current task appears. IMPROVED NAVIGATION TO MACROS AND CODE

Now user can go directly to an events macro or procedure without switching from Form or Report to the database window. Select the event property or event procedure to edit and then check the Built button to the right of the property box. MORE PROPERTIES AT RUN TIME Now user make use of event procedure to set almost all form and report at run time in response to event that occur on the form of report. RICHER EVENT MODEL An event model like that in Microsoft Visual Basic lets your application, respond to a wide variety of events, including key strokes, mouse movements, runtime errors, and the passage of time. EXTENSIVE ACCESS BASIC DATA-DEFINITION ARCHITECTURE Using Access basic defining and managing wide variety of objects including tables, queries, fields, indexes, relationships, forms, reports, and controls is possible. MENU BUILDER AND SUPPORT FOR SUBMENUS The new menu builder provides a straight interface to create Custom menu bars for your application. In addition you can now include submenus on your custom menu bars. IMPROVED DEBUGGING TOOLS In addition to setting breakpoints and stepping through the statements to find bugs, a list of all active procedure calls, choose calls from the view menu, or choose the call button on the tool bar are to be viewed.

WINDOWS XP
Microsoft Company developed this operating system. Windows XP supports all the major software. It has many special features over the other operating system. Multi-Tasking

10

Graphical User Interface Plug and Play MULTI-TASKING This means that you can handle more than one task at the same time i.e., more than one application can be accessed at the same time. The UNIX and Macintosh operating system also support this Multi-Tasking . But it is non-primitive. In case on Windows XP it is primitive multi-tasking. By which we mean that the operating system will make the application multi-tasked.

GRAPHICAL USER INTERFACE Windows XP support Graphical User Interface. Eventually this graphical user interface can only be applied on Windows. This graphical user interface is not supported in any other operating system. PLUG AND PLAY Plug and Play in a special feature in Windows XP. It gives immediate functionally to the device follows the specification of Win32 virtual machine. Plug and Play address a series of device programming issues. WINDOWS EXPLORER Windows Explorer is a powerful way to browse through and manages your files, drives and networks connection. LONG LIFE NAMES Windows now supports long life name to make yours files easier to organize and find.

11

1.3 SYSTEM SPECIFICATION


HARDWARE SPECIFICATION

CPU Motherboard HDD DVD-Writer Monitor : Keyboard Mouse

: : : : : :

Pentium 4 1.53 GHz & above Intel (ATX) Seagate 250GB Samsung 52X Samsung 14 LCD Monitor Multimedia keyboard PS/2 mouse optical mouse

SOFTWARE SPECIFICATION

Back End Front End Platform

: : :

MS-Access 7.0 Visual basic 6.0 Windows XP

12

2. SYSTEM ANALYSIS
System analysis is a process of gathering and interpreting facts, diagnosing problems and the information to recommend improvements on the system. It is a problem solving activity that requires intensive communication between the system users and system developers. System analysis or study is an important phase of any system development process. The system is studied to the minutest detail and analyzed. The system analyst plays the role of the interrogator and dwells deep into the working of the present system. The system is viewed as a whole and the input to the system are identified. The outputs from the organizations are traced to the various processes. System analysis is concerned with becoming aware of the problem, identifying the relevant and decisional variables, analyzing and synthesizing the various factors and determining an optional or at least a satisfactory solution or program of action. A detailed study of the process must be made by various techniques like interviews, questionnaires etc. The data collected by these sources must be scrutinized to arrive to a conclusion. The conclusion is an understanding of how the system functions. This system is called the existing system. Now the existing system is subjected to close study and problem areas are identified. The designer now functions as a problem solver and tries to sort out the difficulties that the enterprise faces. The solutions are given as proposals. The proposal is then weighed with the existing system analytically and the best one is selected. The proposal is presented to the user for an endorsement by the user. The proposal is reviewed on user request and suitable changes are made. This is loop that ends as soon as the user is satisfied with proposal. Preliminary study is the process of gathering and interpreting facts, using the information for further studies on the system. Preliminary study is the problem solving activity that requires intensive communication between the system users and system developers. It does various feasibility studies. In these studies a rough figure of the system activities can be obtained, from which the decision about the strategies to be followed for effective system study and analysis can be taken.

13

2.1 FEASIBILITY STUDY


Feasibility study is made to see if the project on completion will serve the purpose of the organization for the amount of work, effort and the time that spend on it. Feasibility study lets the developer foresee the future of the project and the usefulness. A feasibility study of a system proposal is according to its workability, which is the impact on the organization, ability to meet their user needs and effective use of resources. Thus when a new application is proposed it normally goes through a feasibility study before it is approved for development. The document provide the feasibility of the project that is being designed and lists various areas that were considered very carefully during the feasibility study of this project such as Technical, Economic and Operational feasibilities. The following are its features: OPERATIONAL FEASIBILITY The new solution is feasible in all sense but operationally it is not. The new system demands the expulsion of at least 15 people from the company. It creates an environment of joblessness and fear among the employees. It can lead to an indefinite strike in the company also. So the management must take corrective actions prior in advance in order to start the further proceedings. TECHNICAL FEASIBILITY The system must be evaluated from the technical point of view first. The assessment of this feasibility must be based on an outline design of the system requirement in the input, output, programs and procedures. Having identified an outline system, the investigation must go on to suggest the type of equipment, required method developing the system, of running the system once it has been designed. Technical issues raised during the investigation are: Does the existing technology sufficient for the suggested one? Can the system expand if developed?

14

The project should be developed such that the necessary functions and performance are achieved within the constraints. The project is developed within latest technology. Through the technology may become obsolete after some period of time, due to the fact that never version of same software supports older versions, the system may still be used. So there are minimal constraints involved with this project. The system has been developed using VB,the project is technically feasible for development. ECONOMIC FEASIBILITY The developing system must be justified by cost and benefit. Criteria to ensure that effort is concentrated on project, which will give best, return at the earliest. One of the factors, which affect the development of a new system, is the cost it would require. The following are some of the important financial questions asked during preliminary investigation: The costs conduct a full system investigation The cost of the hardware and software The benefits in the form of reduced costs or fewer costly errors Since the system is developed as part of project work, there is no manual cost to spend for the proposed system. Also all the resources are already available, it give an indication of the system is economically possible for development. BEHAVIORAL FEASIBILITY This includes the following questions: Is there sufficient support for the users? Will the proposed system cause harm? The project would be beneficial because it satisfies the objectives when developed and installed. All behavioral aspects are considered carefully and conclude that the project is behaviorally feasible.

15

2.2 EXISTING SYSTEM


The study of existing system has thrown a light on various activities involved in the Business Stock System. The existing system is manual process. The following are some disadvantages of the old system: 1. Time consuming

2. Less accurate

3. Less efficient

4. Lot of paper work

5. Slow data processing

6. Not user friendly environment

7. Difficult to keep old records It is a tedious process to include any additional information about the Stocks. As it is manual work, the updating of records is a cumbersome task. It takes a lot of documents to maintain the database. It is hard to keep track of every information about a Stock.

16

2.3 DRAWBACKS WITH EXISTING SYSTEM


No backup facility Conflicting user environment Unable to provide instant reports required by the information Insecure file handling since paper oriented Getting up to date information is a difficult task It needs lot of manpower Too much data duplication and inconsistency To avoid all these limitations and make the working more accurately the system needs to be computerized.

2.4 THE PROPOSED SYSTEM


The scope of this system is to provide user efficient working environment and more output can be generated through this. This system provides user friendly interface resulting in knowing each and every usability features of the system. 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 completes the work in a very less time resulting in less time consumption and high level of efficiency. This system is developed in such a way that even a nave user can also operate the system easily. 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. Each record can be retrieved and can be verified for the future transactions. 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. We also have operator login through which operator can take orders but cant make changes in the database. Limited access is available to the operator.

17

3. SYSTEM DESIGN 3.1 LOGICAL DESIGN & PHYSICAL DESIGN


The logical flow of a system and define the boundaries of a system. It includes the following steps: Review the current physical system its data flows, file content, volumes, frequencies etc Prepares output specifications that is, determines the format, content and frequency of reports Prepares input specifications format, content and most of the input functions Prepares edit, security and control specifications Specifies the implementation plan Prepares a logical design walk through of the information flow, output, input, controls and implementation plan Reviews benefits, costs, target dates and system constraints

PHYSICAL DESIGN Physical system procedures the working systems by defining the design specifications that tell the programmers exactly what the candidate system must do. It includes the following steps: Design the physical system Specify input and output media Design the database and specify backup procedures Design physical information flow through the system and a physical design walk through Plan system implementation Prepare a conversion schedule and target date Determine training procedures, courses and timetable Devise a test and implementation plan and specify any new hardware/software Update benefits, costs, conversion date and system constraints

18

DESIGN/SPECIFICATION ACTIVITIES Concept formulation Problem understanding High level requirements proposals Feasibility study Requirements engineering Architectural design

3.2 INPUT DESIGN


It is a process of converting the user-oriented input to computer based format. In the system design phase expanded data flow diagram, identifiers logical data flow, data stores and designation. Input data is collected and organized into groups of similar data as follows. 1. System shall have a form to accept the customer details. 2. System shall display transaction details. 3. System shall provide search facility on customer name, Order Placed, date of order, date of order dispatch, date of transaction, transaction amount, credit card no etc. 4. System should provide facility for change in address/name. 5. System should maintain the details about placing order/dispatch or order i.e., order status

3.3 CODE DESIGN


Code design is a group of characters to identify an item or data. Each data item must have a unique identification that can provide brief description of data items and replace. There exists variety of codes, used at different application that meet specific objectives. To mention particularly, codes are the reminder of the description of written according to certain strict rules. These codes are designed in such a way that they are operated at anytime so as to ensure space for additional entries required.

19

3.4 OUTPUT DESIGN


Computer output is the most important and direct source of information to the user. The layout sheet for displayed output should be similar to the layout chart used for designing input. The standards for output design suggest the following, Each output has a specific name or title Provide a sample of the output layout Specify the procedure for providing the accuracy of the output data Attractive or even output that uses innovative technology cannot be classified as good unless it meets the needs of user. In this software while designing the output for the following, Login Details and User Rights Supplier Information Purchase order and Dispatch Details Searchers and Reports The output can be through screens as well as in print format. Screen output can be used whenever the user wants to have a view of records; its hardcopy is through the printer.

3.5 DATABASE DESIGN


A database is a collection of interrelated data is to be stored in a single location. It safely stored information and organizes it for fast retrieval. In database information from several files are coordinated and operated, as it is a single file. Logically the information is controlled physically a data may be located are different bases and in a widely scattered geographical location. In a database, all data are stored in a place and it allows each application to access it. In project, database consists of the tables and Reports are as follows Supplier Information Purchase order Details Dispatch Details

20

Reports

21

4. SYSTEM DEVELOPMENT

After getting the approval of the design phase reports from the authorities the development phase activity starts. The principal activity of the overall development phase constitutes coding and testing the computer program modules of the system. The other important activity includes implementation planning, equipment acquisition and system testing. Change over all the process of dropping the existing system and implementing the new system. The conversation plan provides the procedures, program module and tables preparatory to actual change from old system to the new system. The preliminary plan for the change over includes the following activities. The necessary tables are created keeping the requirement of the new system in mind using the database The program modules to maintain the master tables and transaction processing are coded and debugged Data reports are used to generate reports and the program modules are tested in planned sequences.

22

5. SYSTEM IMPLEMENTATION
Implementation is the stage, which is crucial in the life cycle of the new system designed. The main stages in the implementation are Planning Training System testing Implementation means converting a new or revised system into an operational one. Conversion is the main aspect of implementation. It is the process of designing from old one to the new one.

POST IMPLEMENTATION REVIEW The post implementation review is sometimes called system audit. The review is intended to accomplish two goals. 1. Evaluate the operational information system that users develop 2. Evaluate the system development procedures to determine how the project could have improved Maintenance is one important phase in implementation. Maintenance describes four activities that are undertaken after a program is released for use. The first maintenance activity occurs because it is unreasonable to assume software will uncover all latent errors in a large software system. The process that includes the diagnosis and conversion is called corrective maintenance. Adaptive maintenance is an activity that modifies software to properly interface with the changing environment is both necessary and common. The third activity is perfective maintenance, this activity is for the majority of all efforts expend on software maintenance. The fourth maintenance activity occurs when software is changed to improve future maintainability or reliability.

23

5.1 SYSTEM TESTING


Testing presents an interesting anomaly for the software engineer. During earlier software engineering activities, the engineer attempts to build software from an abstract concept to a tangible product. Now comes testing. The engineer creates a series of test cases that are intended to demolish the software that has been built. In fact, testing is the one step in the software process that could be viewed (psychologically, at least) as destructive rather than constructive. Software engineers are by their nature constructive people. 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. As a secondary benefit, testing demonstrates that software functions appear to be working according to specification, that behavioral and performance requirements appear to have been met. In addition, data collected as testing is conducted provide a good indication of software reliability and some indication of software quality as a whole. But testing cannot show the absence of errors and defects, it can show Only that software errors and defects are present. It is important to keep this (rather gloomy) statement in mind as testing is being conducted. TESTING PRINCIPLES Before applying methods to design effective test cases, 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. The problem, of course, is to isolate these suspect components and to thoroughly test them. Testing should being in the small and progress toward testing in the large. Exhaustive testing is not possible To be most effective an independent third party should conduct testing

24

A rich variety of test case design methods have evolved for software. These methods provide the developer with a systematic approach to testing. More important, methods provide a mechanism that can help to ensure the completeness of tests and provide the highest likelihood for uncovering errors in software. 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, tests can be conducted that demonstrate each function is fully operational While at the same time searching for errors in each function knowing the internal Working of a product, tests can be conducted to ensure that all gears mesh, that is, internal operations are performed according to specifications and all internal components have been adequately exercised. The first test approach is called black box testing and the second, white-box testing. 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. Using white-box testing methods, the software engineer can derive test cases that (1) guarantee that all independent paths within a module have been exercised at least once, (2) exercise all logical decisions on their true and false sides, (3) execute all loops at their boundaries and within their operational bounds, and (4) exercise internal data structures to ensure their validity. White-box testing of software is predicated on close examination of procedural detail. The status of the program may be examined at various points to determine if the expected or asserted status corresponds to the actual status. Basis path testing is a white-box testing technique first proposed by Tom McCabe. 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. Test cases derived to exercise the basis set are guaranteed to execute every statement in the program at least one time during testing.

25

BLACK BOX TESTING Also called behavioral testing, focuses on the functional requirements of the software. That is, black box testing enables the software engineer to derive sets of input conditions that will fully exercise all functional requirements for a program. Black box testing is not an alternative to white-box techniques. Rather, it is a complementary approach that is likely to uncover a different class of error than whitebox methods. When computer software is considered, black box testing alludes to tests that are conducted at the software interface. Although they are designed to uncover errors, black-box tests are used to demonstrate that software functions are operational, that input is properly accepted and output is correctly produced and that the integrity of external information is maintained. A black-box test examines some fundamental aspect of a system with a little regard for the internal logical structure of the software. Black-box testing attempts to find errors in the following categories: 1. Incorrect or missing functions, 2. Interface errors, 3. Errors in data structures or external database access, 4. Behavior or performance errors, and 5. Initialization and termination errors. By applying black-box techniques, we derive a set of test cases that satisfy the following criteria: a. Test cases that reduce, by a count that is greater than one, the Numberber of additional test cases that must be designed to achieve reasonable testing and b. 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. White-box testing should not, however, be dismissed as impractical. A limited Numbered of important logical paths can be selected and exercised. Important data structures can be probed for validity. 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. Black box testing for this system was done to check the internal testing i.e, the system is working properly in each case or no. What kind of errors are there in database design. 26

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 ? Test Case Analysis

No

Test Report

5.2 PERSONNEL TESTING


The following are considered for personnel training A person with fundamental knowledge of computer and typewriting is recommended It is necessary that required staff must be selected and trained before implementation phase Live demonstration can be arranged for training the users

27

5.3 PREPARE FOR CONVERSION


The following are considered during change ones Change over has to be done effectively to minimize the problem of human errors & machine to malfunction Changing the existing system must be done in a step by step manner Activities to be performed during change over have to be identified in poor & responsibility has to be assigned to respective individuals.

5.4 SYSTEM MAINTENANCE


Maintenance is required after implementation which is a process of making the system file to users environment modifications to the system in general include the following: Adopting new technologies Error handling Upgrading the system

ADOPTING NEW TECHNOLOGIES It is a common modification for all the systems. New technologies can be adapted to our system to satisfy wide range of possibilities. ERROR HANDLING If any errors creep in during the working period, output of the system will be affected. The user may report any difficulty to the developer to rectify those errors. UPGRADIND THE SYSTEM It refers to upgrading the hardware, software to fit the new environment.

28

6. CONCLUSION
While developing the system a conscious effort has been made to create and develop a software package, making use of available tools, techniques and resources that would generate a proper system While making the system, an eye has been kept on making it as user-friendly, as cost-effective and as flexible as possible. As such one may hope that the system will be acceptable to any user and will adequately meet his/her needs. As in case of any system development processes where there are a Numbered of shortcomings, there have been some shortcomings in the development of this system also. The project is still under modification.

29

7. SCOPE FOR FUTURE DEVELOPMENT


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. Multilingual support can be provided so that it can be understandable by the person of any language. More graphics can be added to make it more user-friendly and understandable. Manage & backup versions of documents online.

30

8. BIBILIOGRAPHY i. VISUAL BASIC 1.Mohammed Azam, Programming with Visual basic 6.0, Vikas publishing House Pvt limited, Sixth Edition-2003. 2.James jen, Visual basic 6 complete, BPB Publication, New Delhi, Third Edition-2003. 3.Nole jerke, The complete Reference Visual Basic 5, Tata McGraw Hill Publishing Ltd, New Delhi, second Edition-1997. 4.Gray Cornell,Visual Basic 6 from the Ground Up, Tata McGraw Hill Publishing Ltd, Revised Edition. ii. SYSTEM ANALYSIS AND DESIGN 5. Elias. M.Awad,System Analysis and Design, Galgotia Publication(P) LTD., Second Edition-2006. iii. WEBSITE REFERENCE 1. www.visualbasic.freetutes.com 2. www.vbtutor.net 3. www.visualbaisctutorial.net 4. www.nezperce.com/~ioe/matt/program/vb 5. www.vbexplorer.com 6. www.ngrerd05.blogspot.com

31

9.1 DATA FLOW DIAGRAMS

32

33

9.2 TABLE LISTING

UID_PASS (LOGIN TABLE) Column Name USER_NAME PASSWORD Data Type Text Text Description User name of the ADMIN/OPERATOR Password of the ADMIN/OPERATOR

CUSTOMER_MASTER (CUSTOMER DETAILS TABLE)


Column Name cust_slno (PK) cust_name cust_add1 cust_add2 Cust_add3 cust_pincode cust_city contact_person_na me contact_person_N umberber State_code (PK) Data Type Number Text Char Char Char Number Char Char Number Char 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 Numberber for the person who made the order Initials of the state derived from state details table Description

34

STATE_MASTER (STATE DETAILS TABLE)


Column Name state_code state_description Data Type char char Description Code Of the state eg. MH -maharashtra Description of the code.

MATERIAL_MASTER (MATERIAL DETAIL TABLE)


Column Name cust_slno (PK) material_code material_descripti on shipping_plant material_price Data Type Number char Char Char Number 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 Description

35

STATUS_MASTER (ORDER STATUS MASTER)


Column Name order_status description Data Type char char Status of order in short Description of the plant. Description

ORDER_HEADER (ORDER HEADER INFORMATION TABLE


Column Name order_no (pk) order_creation_date order_status customer_ref_no customer_ref_date Order_value material_required_dat e customer_slno (PK) delivery_challan_no shipment_date invoice_Numberber invoice_date transporter_name plant_code (PK) machine_installed_by cheque_no bank_name Data Type Number Date char char date Number Date Number Number Date Number date char char char Number char Numberber of order Date of the order placement Status of order Reference Numberber of the customer date on which customer referred Value of each order Date on which customer needs the delivery Customer identification Numberber Delivery challan Numberber Date on which material dispatched Numberber of invoice Date of invoice Name of the transporter Code of the plant Name of the person who installed the machine Numberber of cheque Name of the bank Description

36

ORDER_DETAIL (ORDER DETAIL INFORMATION TABLE LINE ITEM WISE )

Column Name order_no(PK) material_code (PK) item_qty item_value

Data Type Number Number Number Number Numberber of order Code of material Quantity of the item Value of item

Description

STOCK_MASTER (ITEM STOCK MASTER TABLE)


Column Name material_code (PK) plant_code(PK) Stock_qty Data Type Number char Number Code of material Code of plant Stock of item quantity Description

ORDER_TRACKING (ORDER_STATUS_TRACKING TABLE)


Column Name order_no (PK) order_status creation_date Data Type Number char date Numberber of order Description of item status Date on which order was created Description

37

9.3 FORM LAYOUTS

38

39

40

41

42

43

44

45

46

47

48

49

50

9.4 SAMPLE PROGRAM CODE


MODULE

Option Explicit Public conn As ADODB.Connection Public rs As ADODB.Recordset Sub connect() Set conn = New ADODB.Connection conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\BusiStkSys.mdb;Persist Security Info=False" Set rs = New ADODB.Recordset rs.ActiveConnection = conn rs.CursorLocation = adUseClient rs.CursorType = adOpenDynamic rs.LockType = adLockOptimistic rs.Source = "SELECT * FROM Stock" rs.Open End Sub Sub main() connect frmMDI.Show End Sub Frmlogin Private Sub txtlogin_Change() If txtuname.Text = "" Then if txtuname.text= rs(0) and txtpwd.text =rs(1) then Mainrm.Show Else msgbox(MISMATCH OR INCORRECT PLS CHECK) End If End If End Sub

51

Formempadd Private Sub Form_Load() Set DataGrid1.DataSource = rs End Sub Sub stat() StatusBar1.Panels(1).Text = "Record " & rs.AbsolutePosition & " of " & rs.RecordCount End Sub Private Sub mnuAdd_Click() frmAdd.Show End Sub Private Sub cmdSave_Click() If txtid.Text = "" Or txtFn.Text = "" Or txtMi.Text = "" Or txtLn.Text = "" Then MsgBox "Some fields are still empty!", vbExclamation, "Input Error" Else rs.AddNew rs("studId") = txtid.Text rs("FirstName") = txtFn.Text rs("MI") = txtMi.Text rs("LastName") = txtLn.Text rs.Update MsgBox "Record Added Successfully!", vbInformation, "Add Record" Call clear End If End Sub Sub clear() txtid.Text = "" txtFn.Text = "" txtMi.Text = "" txtLn.Text = "" txtFn.SetFocus End Sub Private Sub txtSearch_Change() If txtSearch.Text = "" Then Call Form_Load

52

Me.Show Else rs.Filter = "FirstName LIKE '" & Me.txtSearch.Text & "*'" Set DataGrid1.DataSource = rs End If End Sub Private Sub cmdDelete_Click() On Error Resume Next If MsgBox("Data is not recoverable!", vbExclamation + vbOKCancel, "Confirm Delete") = vbOK Then rs.Delete End If End Sub Private Sub cmdFirst_Click() rs.MoveFirst Call stat End Sub Private Sub cmdLast_Click() rs.MoveLast Call stat End Sub Private Sub cmdNext_Click() If rs.EOF = True Then rs.MoveFirst Call stat Else rs.MoveNext Call stat End If End Sub Private Sub cmdPrevious_Click() If rs.BOF = True Then rs.MoveLast Call stat Else rs.MovePrevious Call stat End If

53

End Sub Private Sub Command1_Click() rs.Filter = adFilterNone rs.Requery End Sub Private Sub Command2_Click() If MsgBox("Close Applect?", vbQuestion + vbYesNo, "Confirm") = vbYes Then End End If End Sub FrmPayroll Private Sub Form_Load() Set DataGrid1.DataSource = rs End Sub Sub stat() StatusBar1.Panels(1).Text = "Record " & rs.AbsolutePosition & " of " & rs.RecordCount End Sub Private Sub mnuAdd_Click() frmAdd.Show End Sub Private Sub cmdSave_Click() If txtid.Text = "" Or txtFn.Text = "" Or txtMi.Text = "" Or txtLn.Text = "" Then MsgBox "Some fields are still empty!", vbExclamation, "Input Error" Else rs.AddNew rs("studId") = txtid.Text rs("FirstName") = txtFn.Text rs("MI") = txtMi.Text rs("LastName") = txtLn.Text rs.Update MsgBox "Record Added Successfusly!", vbInformation, "Add Record" Call clear End If End Sub

54

Frmlogin Private Sub Command1_Click() Dim objCon As ADODB.Connection Dim objCom As ADODB.Command Dim objPara As ADODB.Parameter Dim objpara2 As ADODB.Parameter Dim objRS As ADODB.Recordset Dim k As Integer Set objCon = New ADODB.Connection Set objCom = New ADODB.Command 'Creating the DB connection string 'Please change the below connection string as per your server and database being used. objCon.ConnectionString = "PROVIDER=SQLOLEDB.1;PASSWORD=;PERSIST SECURITY INFO=TRUE;USER ID=sa;INITIAL CATALOG=TestSQL;DATA SOURCE=Rockets" 'Opening the connection objCon.Open objCon.ConnectionString MsgBox "Connection opened" 'assigning the command object parameters With objCom .CommandText = "GetRecords" 'Name of the stored procedure .CommandType = adCmdStoredProc 'Type : stored procedure .ActiveConnection = objCon.ConnectionString End With 'Create 2 output parameters Set objPara = objCom.CreateParameter("rows", adInteger, adParamOutput) Set objpara2 = objCom.CreateParameter("Status", adVarChar, adParamOutput, 50) 'Append the output parameters to command object objCom.Parameters.Append objPara objCom.Parameters.Append objpara2 'Store the result in a recordset Set objRS = objCom.Execute 'Open the recordset Do While Not objRS.EOF For k = 0 To objRS.Fields.Count - 1 Debug.Print objRS(k).Name & ": " & objRS(k).Value Next Debug.Print "_____"

55

objRS.MoveNext Loop 'Close the recordset objRS.Close 'retrieve the output parameters values MsgBox "Total records returned: " & objPara.Value MsgBox objpara2.Value 'close connection objCon.Close 'cleaning up Set objCom = Nothing Set objCon = Nothing Set objPara = Nothing Set objpara2 = Nothing Set objRS = Nothing End Sub

FrfmReport Dim pAdoCon As ADODB.Connection Dim pAdors As ADODB.Recordset '++ FDOADOConnection object Dim pFdoCon As IFDOToADOConnection Set pFdoCon = New FdoAdoConnection '++ Create a NEW ADO Connection object from the workspace Set pAdoCon = pFdoCon.CreateADOConnection(pWkspace) '++ Crystal Report Objects Dim pProj As CRAXDRT.Application Dim pReport As CRAXDRT.Report Set pProj = New CRAXDRT.Application Set pReport = pProj.NewReport

56

'++ Create and open a recordset Dim SQLStr As String SQLStr = "select STATE_NAME, STATE_FIPS, SUB_REGION from gdb.us_states " Set pAdors = New ADODB.Recordset '++ Uncomment the next line if working with VB and an Access workspace '++ pAdors.cursorlocation = adUseClient pAdors.Open SQLStr, pAdoCon, adOpenForwardOnly, adLockOptimistic '++ The pLocation parameter is set to an empty string '++ The pConnectInfo parameter is set to the ADO recordset '++ The pDLLName parameter is set to the Crystal Active Data Driver (P2smon.dll) pReport.Database.Tables.Add "", , pAdors, , "p2smon.dll" pReport.LeftMargin = 2500 '++ AddDetail - adds detail to the report Call AddDetail(pReport) '++ Send to (default) printer, don't prompt user pReport.PrintOut False, 1, , 1 pAdors.Close Set pAdors = Nothing pAdoCon.Close Set pAdoCon = Nothing Exit Sub Report_fail:

57

MsgBox "ADO_report module : " & Err.Numberber, Err.Description, vbInformation End Sub Private Sub AddDetail(pRpt As Report) '++ AddDetail: Formats the report On Error GoTo Detail_fail: '++ Create the line/text/field objects for report Dim ln1Obj As LineObject Dim ln2obj As LineObject Dim ln3Obj As LineObject Dim ln4Obj As LineObject Dim ln5Obj As LineObject Dim ln6Obj As LineObject Dim txt1Obj As TextObject Dim txt2Obj As TextObject Dim txt3Obj As TextObject Dim fld1Obj As FieldObject Dim fld2Obj As FieldObject Dim fld3Obj As FieldObject pRpt.ReportTitle = "ADO / Crystal Reports Sample" '++ Report header section With pRpt.Sections(1) .AddSpecialVarFieldObject crSVTReportTitle, 2300, 100 End With '++ Page header section

58

With pRpt.Sections(2) Set txt1Obj = .AddTextObject("State Name", 0, 420) txt1Obj.Font.Bold = True txt1Obj.Font.Size = 9 Set txt2Obj = .AddTextObject("Sub Region Code", 2500, 420) txt2Obj.Font.Bold = True txt2Obj.Font.Size = 9 Set txt3Obj = .AddTextObject("State Fips Code", 5000, 420) txt3Obj.Font.Bold = True txt3Obj.Font.Size = 9 End With '++ Details section With pRpt.Sections(3) '++ Add three field objects to report '++ Table data source is always called "ado"
Set fld1Obj = .AddFieldObject("{ado.STATE_NAME}", 500, 0) Set fld2Obj = .AddFieldObject("{ado.SUB_REGION}", 3000, 0) Set fld2Obj = .AddFieldObject("{ado.SUB_REGION}", 5500, 0)

'++ Add some lines for clarity Set ln1Obj = .AddLineObject(2500, 0, 2500, 10) ln1Obj.LineThickness = 2 ln1Obj.ExtendToBottomOfSection = True Set ln2obj = .AddLineObject(5000, 0, 5000, 10) ln2obj.LineThickness = 2 ln2obj.ExtendToBottomOfSection = True Set ln3Obj = .AddLineObject(0, 10, 6500, 10) ln3Obj.LineThickness = 2 Set ln5Obj = .AddLineObject(0, 0, 0, 10) ln5Obj.LineThickness = 2 ln5Obj.ExtendToBottomOfSection = True

59

Set ln6Obj = .AddLineObject(6500, 0, 6500, 10) ln6Obj.LineThickness = 2 ln6Obj.ExtendToBottomOfSection = True End With '++ Report footer section With pRpt.Sections.Item(4) Set ln4Obj = .AddLineObject(0, 0, 6500, 0) ln4Obj.LineThickness = 2 End With '++ Page footer section With pRpt.Sections.Item(5) .AddSpecialVarFieldObject crSVTDataDate, 30, 0 .AddSpecialVarFieldObject crSVTDataTime, 10, 200 End With Exit Sub Detail_fail: MsgBox "AddDetailObjects End Sub :" & Err.Numberber, Err.Description, vbInformation

60

9.5 REPORTS

61

62

Das könnte Ihnen auch gefallen