Professional Documents
Culture Documents
ORDER INVENTORY
Submitted by
Alwin.B 711720104008
Dharaneesh.N 711720104303
Muhammedh Dhanish 711720104047
Yameen.K
Kanya.K.S 711720104032
May 2023
ANNA UNIVERSITY : CHENNAI 600 025
BONAFIDE CERTIFICATE
Certified that this project report “Manufacturing Erp For Purchase Order Inventory” is
the bonafide work of “Alwin B, Dharaneesh N, Muhammedh Dhanish Yamen K,
Kanya K S” who carried out the project work under my supervision.
SIGNATURE SIGNATURE
Dr. THENMOZHI T Ms.KAMALA V
HEAD OF THE DEPARTMENT SUPERVISOR
Assistant Professor
Computer Science and Computer Science and
Engineering KGiSL Institute of Engineering KGiSL Institute of
Technology Saravanampatti Technology Saravanampatti
Coimbatore-35 Coimbatore-35
We also thank all the faculty members of our department for their help in
making this project a successful one.
This project “Manufacturing ERP for Purchase Order Inventory” deals with maintenance of
product in a concern. This project also takes care of maintaining records of purchase details, sales
details, stock details, supplier details and activities of the concern. As this is generic project it can be
used by a wide variety of outlets (Retailers and Wholesalers) to automate the process of manually
maintaining the records related to the subject of maintaining the stock and cash flows.
The main goal of the application is to maintain the records of stock, billing, details of
purchasers and sellers and their current financial positions with the company.
Various reports are generated based on the requirement of the concern, reports will present the
management with the current position of the company. The project will be efficient tool for the
company and it will aid in the improvement of the company. In this system all the details about
issues assigned are stored in databases where the manager can retrieve information at any time.
The transactions related to purchase, sale and returns are maintained manually at present along
with maintaining the accounts of the customers and the suppliers. All these are to be automated and
an application is required to relate all of them relatively and logically so that the current system can
be replaced and accepted without major changes and problems.
The application should provide quick access to the records maintained and must reveal the
important reviews about the business so that the growth can be easily compared and should provide
with the various reports showing the related details so that the important decisions could be taken
easily.
LANGUAGE USED
FRONT END : VISUAL BASIC.NET
BACK END : SQL SERVER
I
TABLE OF CONTENTS
ABSTRACT i
LIST OF TABLES ii
LIST OF FIGURES vi
LIST OF ABBREVIATIONS vii
1. INTRODUCTION
1.1 PROBLEM DEFINITION
1.2 OBJECTIVE OF THE PROJECT
1.3 SIGNIFICANCE OF THE PROJECT
1.4 OUTLINE OF THE PROJECT
2. LITERATURE REVIEW
3. SYSTEM ANALYSIS
3.1 EXISTING SYSTEM
3.2 DRAWBACKS
3.3 PROPOSED SYSTEM
3.4 FEASIBILITY STUDY
3.4.1 Tests of Feasibility
3.4.1.1 Technical Feasibility
3.4.1.2 Operational Feasibility
3.4.1.3 Economical Feasibility
4. SYSTEM SPECIFICATION
4.1 HARDWARE REQUIREMENTS
4.2 SOFTWARE REQUIREMENTS
4.3 TOOLS
5. SOFTWARE DESCRIPTION
5.1 BACKEND
II
6. PROJECT DESCRIPTION
6.1 OVERVIEW OF A PROJECT
6.2 MODULE DESCRIPTION
6.2.1 SPEECH RECOGNITION
6.2.2 PYTTSX3
6.2.2 DATETIME
6.2.4 WIKIPEDIA
6.2.5 WEB-BROWSER
6.3 DATA FLOW DIAGRAM
6.4 ENTITY RELATIONSHIP DIAGRAM
7. SYSTEM TESTING
7.1 TESTING METHODS
7.2 TYPES OF TESTING
7.2.1 Unit Testing
7.2.2 Integration Testing
7.2.3 Functional Testing
7.2.4 Stress Testing
7.2.5 Acceptance Testing
7.3 TESTING STRATEGY
8. SYSTEM IMPLEMENTATION
8.1 PYTHON BACKEND
8.2 FUNCTION
9. CONCLUSION & FUTURE
ENHANCEMENTS
9.1 CONCLUSION
9.2 FUTURE ENHANCEMENTS
10. APPENDIX
III
10.1 TABLE DEIGN
10.2 SCREENSHOTS
10.3 SAMPLE CODE
11. REFERENCES
IV
LIST OF FIGURES
v
LIST OF ABBREVIATIONS
VB Visual Basic
vi
CHAPTER 1
INTRODUCTION
A Computerized ERP for Purchase Order Inventory Control System is a computer program
that tracks inventory and sometimes creates automated replenishment orders. Computerized
inventory systems are used for tracking perpetual inventory and gauging replenishment. Information
on retail buying, inventory control, sold details and other supply activities.
The program lets everyone who wants to stop wasting time and bring life in order quickly
manage everyday tasks with help of prioritized to-do list. This is a complete inventory management
system performs a Point of Sale function and multi warehouse stock control. System has receiving
and shipping functions generates invoices, sale receipt. This system will guide you through the
creation of vendors list, purchase orders, products list, receiving lists, sales orders, and invoices. You
can maintain your inventory as well as databases in the most cost effective and suitable way.
Various reports are generated based on the requirement of the concern; reports will present the
management with the current position of the company. The project will be efficient tool for the
company and it will aid in the improvement of the company. In this system all the details about
issues assigned are stored in databases where the manager can retrieve information at any time.
ERP Software means keeping the overall costs associated with having inventory as low as
possible without creating problems. This is also sometimes called stock control. It is an important
part of any business that must have a stock of products or items on hand. Correctly managing
inventory control is a delicate balance at all times between having too much and too little in order to
maximize profits. The costs associated with holding stock, running out of stock, and placing orders
must all be looked at and compared in order to find the right formula for a particular business.
1
1.1 PROBLEM DEFINITION
After analyzing many existing IMS we have now the obvious vision of the project
to be developed. Before we started to build the application team had many challenges.We defined our
problem statement as:
o To make desktop based application of IMS for small organization.
o To make the system easily managed and can be secured.
o To cover all the areas of IMS like purchase details, sales details and stock management
To develop an application that deals with the day to day requirement of any production
organization
To develop the easy management of the inventory
To handle the inventory details like sales details, purchase details and balance stock
details.
To provide competitive advantage to the organization.
To provide details information about the stock balance.
To make the stock manageable and simplify the use of inventory in the organization
2
1.3 SIGNIFICANCE OF THE PROJECT
● Improves the productivity, Reduce the Time and Cost Factors Associated with the systems.
3
CHAPTER 2
LITERATURE REVIEW
Author - Miss. Divyarani Patil, Miss. Manasi Rawal, Miss. Savita Bandgar, Miss. Muskan
Pathan, Prof. J. T. Patil
To manage the organization's inventory system, this project aims to develop the Stock
Management System web application. By conducting the survey in several businesses and malls,
The word The term "stock management system" describes the processes and techniques utilized by
a business to manage its inventory while implementing technological solutions. This system can be
used to maintain track of inventory, update inventory depending on sales data, and produce daily or
weekly sales and inventory reports. Software called an inventory management system is useful for
companies that run hardware stores where the owner maintains records of sales and purchases.
Workplace mistakes, manual delays, and process speeding up. A store owner can use an inventory
management system to keep track of sales and available stock, as well as to determine when and
how much to reorder.
A windows-based system called Inventory System is used to keep track of orders, sales, and
deliveries. Inventory management software's functions include maintaining an ideal stock level,
tracking products as they are moved between locations, receiving new inventory, managing
warehouse operations like Purchase Order, Sales Details, and Inventory, preventing product
obsolescence and spoilage, and making sure your products are always in stock. Stock management
software automates what was formerly a labor-intensive, manual process of counting each item one
at a time and documenting it on paper. This technique can be digitized to increase accuracy while
also saving time.
4
LITERATURE SURVEY
Decision Support System for Stock Alert Using Fuzzy Analytic Hierarchy Process and
Sequential Pattern Analysis Approach, R. Gustriansyah, D. I. Sensuse, and A. Ramadhan, 2021:
Before being supplied to the customer, pharmaceuticals are often stored in warehouses by
pharmacies. The difficulty of predicting the stock of each product to the right in order to avoid
excess/shortages arose since stacking products in a warehouse might decrease the productivity of
the warehouse and increase the costs connected with inventory. Development of an inventory
management system by Y. Fan, 2021: This paper introduces agent technology into domestic storage
management and uses the autonomy, reactivity, and sociality of agents to define interaction and
cooperation mechanisms among different agents, realising the seamless connection among
enterprises, achieving the goal of reducing and even eliminating inventory, making it a practical
idea and method for enterprises to realise effective storage management.
METHODOLOGY
By using Visual Studio.Net Stock management system is developed and also Microsoft Sql Server.
From .Net we have used web forms library to create forms and take input from user. And we’ve
used SQL to connect database and insert, update operations.
5
Above figure shows the system work i.e how actually system works. In the stock management
system when user starts this web application he/she will get a first page i.e Home page. In that he/she
needs to register his/her store if they are using this first time and after they can login. After this user
should have to add products of remaining stock from his/her store. Then after he/she can view how
stock is remaining and other all the information like Products arrived date, manufacture date and
expiry date. After this user can sell the products by selecting products and then user will get the bill
of his purchased order.
6
CHAPTER 3
SYSTEM ANALYSIS
System Analysis is about complete understanding of existing systems and finding where the
existing system fails. The solution is determined to resolve issues in the proposed system. It defines
the system. The system is divided into smaller parts. Their functions and inter relation of these
modules are studied in system analysis. Automatic Stock Alert software is required to act as an
interface into the digital world by understanding user requests or commands and then translating into
actions or recommendations based on agent’s understanding of the world
The system, which is followed at present, is a manual system. The system consists of Book of
Accounts that has to be maintained in all aspects. Printing work is difficult. In the existing system
each and every time a reference should be made manually. There are high possibilities to commit
errors and mistakes, which leads to produce the wrong statements to the management. Report
generation is also not an easy task.
Another important drawback of existing system is time factor. It will not help the management
could not act on any issue purchase of production unless getting the reports in time controls cannot
be used. The above said reasons are overcome by using the Visual Basic .Net. Since the security
system in this package is more secure than other software packages.
DRAWBACKS
The existing system has no security measure against logging in and no checks are made for
authorized users.
The end user has to remember a lot of command to make efficient use of the system.
The system does not have any descriptive reports and thus did not help management in
decision-making.
Enormous amount of time is consumed
The end user has to remember a lot of command to make efficient use of the system.
More manual Work Required, So Less Accurate.
7
3.2 PROPOSED SYSTEM
The proposed system is to computerize the orders and maintaining security of the data. The
aim of the proposed system is the overcome the difficulties of the existing system. It is continually
growing because of the ability to provide cost effective services and the execution of operations
under expertise of highly technical professionals. Our development team is a combination of skilled
individuals, who have been a part of development teams for some of the most renowned portals and
software applications.
ADVANTAGES
Custom software solutions enable you to develop a software solution that maps your
unique business processes rather than changing your business processes to conform to what
”packaged software" provides.
Custom software solutions enable efficient data processing matching your business
requirements.
Custom software solutions enable you to monitor and control your business processes the
way you feel right for your business.
Custom software solutions enable you to automate your business processes the way you
feel is best for your business meeting the unique needs of your business.
Custom software solutions automate processes that you currently do manually.
Custom software solutions enable you to take out Customized Reports as per your unique
business needs.
8
3.3 FEASIBILITY STUDY
Feasibility study is conducted once the problem is clearly understood. Feasibility study is
necessary to determine that the proposed system in insurance bot is feasible by considering the
technical, operational, and economical factors. By having a detailed feasibility study the management
in the will have a clear-cut view of the proposed system of the personal assistant. Feasibility study
encompasses the following things:
Technical Feasibility
Operational Feasibility
Economical Feasibility
9
3.4.1.1 Technical Feasibility
Includes finding out technologies for the project, both hardware and software. For virtual
assistant, user must have microphone to convey their message and a speaker to listen when system
speaks. These are very cheap now a days and everyone generally possess them. Besides, system
needs internet connection .While using JIA, make sure you have a steady internet connection. It is
also not an issue in this era where almost every home or office has Wi-Fi.
It is the ease and simplicity of operation of proposed System .System does not
require any special skill set for users to operate it. In fact, it is designed to be used by
almost everyone. Kids who still don’t know to write can readout problems for system.
Here, we find the total cost and benefit of the proposed system over current system. For this
project, the main cost is documentation cost. User also would have to pay for microphone and
speakers. Again, they are cheap and available. As far as maintenance is concerned, JIA won’t cost
too much.
10
CHAPTER 4
SYSTEM SPECIFICATION
11
CHAPTER 5
SOFTWARE DESCRIPTION
Visual basic.NET provides the easiest, most productive language and too for rapidly building
Windows and Web applications. Visual basic.NET comes with enhanced visual designers, increased
application performance, and a powerful integrated development environment. It also supports
creation of applications for wireless Internet enabled hand held devices. Some of the important
features of VB.NET 2008 are as follow below.
Powerful Windows-based application: Visual basic.NET 2008 comes with features such as a
powerful new forms designer, an in-place menu editor, and automatic control and docking. Visual
basic.NET delivers new productivity features for building more robust applications easily and
quickly. With an improved integrated development environment and a significantly reduced Start-up
time, VB.NET offers fast, automatic formatting of code as you type, improved Intelligence , an
enhanced object browser and XML designer and much more.
12
Powerful, flexible, simplified data access: You can tackle any data access scenario easily with
ADO.NET and ADO data access. The flexibility of ADO.NET enables data binding to any database,
as well as classes, collection, and arrays, and providers true XML representation of data. Seamless
access to ADO.NET, Visual Basic.NET can gain high-speed access to MS SQL Server, Oracle, DB2,
Microsoft Access and more.
Improved coding: you can code faster and more efficiency. A multitude of enhancement to the
code editor, including enhanced intelligence, smart listing of code for greater readability and a
background compile for real-time notification of syntax errors transform into a rapid application
development coding machine.
Directed access to the coding: Visual basic developers can have full access to the capabilities
available in .NET Framework 1.1 Developers can easily program system services including the event
log, performance counters and file system. The new Windows Services project system services
including the event log, performance counters and files system. The new windows Services project
template enables to build real Microsoft Windows NT services. Programming against windows
Services and creating new windows Services is not available in Visual Basic.NET standard, it
requires Visual studio 2008 professional, or higher.
Full Object-Oriented Constructs: You can create reusable, enterprises-class code using Full
object-oriented constructs, Language features include full implementation inheritance, Encapsulation,
and polymorphism. Structured exception handling provides a global error Handler and eliminating
spaghetti code.
Reuse existing investment: you an reuse all your existing active controls. Windows Forms in
Visual Basic.NET 2008 provide a robust container for existing ActiveX controls. In Addition, full
support for existing ADO code and data hiding enables a smooth transition to Visual basic.NET
2008.
Upgrade wizards: you upgrade your code to receive all of the benefits of Visual Basic .NET
2008. The Visual Basic.NET upgrade Wizard, available in Visual Basic .NET 2008 Standard Edition,
and higher, upgrade up to 95 percent of existing Visual Basic code and forms. To visual Basic.NET
with new support for web classes and user controls.
13
To get the most out of Visual Studio .NET, you will most likely wish to tailor it to suit your
style of working. With the wide variety of configuration options, both familiar and new, you'll want
to take the time examine some of the various options you can set. In this document, you will be
introduced to many of the different configurations and learn about the various settings in Visual
Studio .NET. You will also learn about the different types of windows, including Tool windows,
which can be docked to the environment or free floating, and you'll learn about Document windows.
CONFIGURATION
The first time you use Visual Studio .NET, you will be prompted for some configuration
information about how you will use the environment most often. Figure 1 shows an example of the
My Profile screen.
The My Profile Screen allows you to set some overall environment defaults.
If you choose to have the start-up page as the Visual Studio Start Page, you will see a screen that
looks similar to Figure 2.
14
Figure 2. Visual Studio start page
Figure 2 The Visual Studio Start page allows you to start a recent project, open an existing project, or
create a new project. On this screen, there is a menu on the left side that will let you link to what’s New Help
menu. You can see a list of online community links, where you can get assistance with Visual Studio .NET
and many other Microsoft products. You can get the headlines for MSDN news, and you have the ability to
Search the MSDN site for information related to Visual Studio. You can also reset your profile. On the Get
Started page you can select a recent project, create a new project, or open an existing project. 4.4
In Visual Studio .NET, if from the File menu you click New and then Project, you will see a dialog
that looks like Figure 3. When putting together an application in Visual Studio .NET, you may have multiple
projects. The set of projects together make up what is called a Solution.
15
Figure 3. The New Project dialog box
Figure 3. The New Project dialog box allows you to create a new Solution of a particular project type
On the left side of this screen, you can choose what type of project you will be creating. Depending on
the options you selected when you installed your Visual Studio environment, you can choose from a Visual
Basic .NET, C#, C++, and possibly other programming languages. Not all of these languages for Visual
Studio come from Microsoft; there are other companies developing applications that will use the .NET
Framework.
On the right side of this screen, you can choose a default template for the type of project you will be
creating. There are many different templates to choose from. Table 2 provides a list of some of these project
template types.
Prior to adding a new project to this solution, you need to set the Name and Path where this project
will reside on your hard drive. Fill in the path for where you want this project to reside in the Location text
box. Visual Studio .NET creates the necessary path, and will create a folder name with the same name as the
project. For example, if you fill in the Name Login Test, and set path to D:\MySamples, this solution will be
created in D:\MySamples\LoginTest\LoginTest.sln.
16
SOLUTION EXPLORER WINDOW
A set of projects that are part of the same application in Visual Studio .NET is called a Solution. The
Solution Explorer window shows you a tree view list of each project, each project's references, and each
project's components. If this window is closed, you can open it from the View menu by clicking Solution
Explorer. Components may be made up of forms, classes, modules, and any other file types it takes to create
your application. Double-click on an item in order to edit that item within the IDE.
PROPERTY WINDOW
When working with classes such as text boxes and forms, you will most likely need to change certain
attributes about those classes. To bring up the Properties window, on the View menu click Properties
Window (F4). (See Figure 5.) Once this window is up, you can either view the list alphabetically or
categorized by attribute. Properties within this window can be selected either from a list or by clicking a
button to bring up a dialog box. There may be others you type some text into, like the Text property that is
used to change the title of a form.
17
Figure 5. This shows us Property Window, used to set the parameters of our screen dialog box
18
that it is a component of the overwhelmingly popular Microsoft office software suite.
MS SQL however is a relational database, which means that you can define relationships
among the data it contains. Relational database, are superior to flat file databases because you can
store discrete information.
Microsoft SQL Server is a full-featured relational database management system (RDBMS) that offers
a variety of administrative tools to ease the burdens of database development, maintenance and
administration. In this article, we'll cover six of the more frequently used tools: Enterprise Manager,
Query Analyzer, SQL Profiler, Service Manager, Data Transformation Services and Books Online.
Let's take a brief look at each:
Enterprise Manager is the main administrative console for SQL Server installations. It
provides you with a graphical "birds-eye" view of all of the SQL Server installations on your
network. You can perform high-level administrative functions that affect one or more servers,
schedule common maintenance tasks or create and modify the structure of individual databases.
Query Analyzer offers a quick and dirty method for performing queries against any of your
SQL Server databases.It's a great way to quickly pull information out of a database in response to a
user request, test queries before implementing them in other applications, create/modify stored
procedures and execute administrative tasks.
SQL Profiler provides a window into the inner workings of your database. You can monitor
many different event types and observe database performance in real time. SQL Profiler allows you
to capture and replay system "traces" that log various activities. It's a great tool for optimizing
databases with performance issues or troubleshooting particular problems.
Service Manager is used to control the MSSQLServer (the main SQL Server process),
MSDTC (Microsoft Distributed Transaction Coordinator) and SQLServerAgent processes. An icon
for this service normally resides in the system tray of machines running SQL Server. You can use
Service Manager to start, stop or pause any one of these services.
Data Transformation Services (DTS) provide an extremely flexible method for importing
and exporting data between a Microsoft SQL Server installation and a large variety of other formats.
The most commonly used DTS application is the "Import and Export Data" wizard found in the
server program group.
Books Online is an often overlooked resource provided with SQL Server that contains
19
answers to a variety of administrative, development and installation issues. It's a great resource to
consult before turning to the Internet or technical support. Hopefully, this article has provided you
with a brief introduction to the various tools available to Microsoft SQL Server users. Now get out
there and give them a whirl!
SQL Server Architecture
Microsoft® SQL Server data is stored in databases. The data in a database is organized into
the logical components visible to users. A database is also physically implemented as two or more
files on disk. When using a database, you work primarily with the logical components such as tables,
views, procedures, and users. The physical implementation of files is largely transparent. Typically,
only the database administrator needs to work with the physical implementation.
Each instance of SQL Server has four system databases (master, model, tempdb, and msdb)
and one or more user databases. Some organizations have only one user database, containing all the
data for their organization. Some organizations have different databases for each group in their
organization, and sometimes a database used by a single application. For example, an organization
could have one database for sales, one for payroll, one for a document management application, and
so on. Sometimes an application uses only one database; other applications may access several
databases.
It is not necessary to run multiple copies of the SQL Server database engine to allow multiple
users to access the databases on a server. An instance of the SQL Server is capable of handling
thousands of users working in multiple databases at the same time. Each instance of SQL Server
makes all databases in the instance available to all users that connect to the instance, subject to the
defined security permissions.
When connecting to an instance of SQL Server, your connection is associated with a particular
database on the server. This database is called the current database.
20
CHAPTER 6
PROJECT DESCRIPTION
Manufacturing ERP for Purchase Order Inventory System is a windows process developed for
organization to simplify Inventory maintenance and Placing Order.
This Module Mainly concentrates on complete details about the product to the concerns.
These modules have the fields of product code, product name, product price, product description.
Due to this module User can know the facts of product name and their prices.
This module is use to sustain the data of suppliers offering different products and retailers
21
purchasing different grades of finished goods which includes supplier number, supplier name, and
address, phone no and Mail ID.
In this option we can add, edit or delete a specified customer details. The Add new option is
used to add new details of customer. If any of the customer details like Name or Address details is to
be changed then choose Edit for modification. If we want to delete the details of a customer choose
Abort option.
Purchase invoice is the important module in this project .in this module the user can maintain
the whole details of the purchase invoice .This module contains the fields of invoice no, supplier
code, supplier name, product code, unit price, qty etc. The important thing in this module is the user
can calculate the vat details
This module is used to manage the sale’s information for the company. It includes Sales iD,
Date, Customer, Total Amount, Tax and Net Amount for every sales of the company along with the
complete details of product, quantity, rate at which the product is being sold and the discount that the
company provides to the customers.
The company needs enough products to keep the ongoing production at a steady level. So, keeping
details of the product in the stock is necessary. This module is used to maintain the enough stock of product
to support the transformation of different products. This module takes care of the stock as per the shift (day /
night) and type of product to be generated.
22
6.3 DATAFLOW DIAGRAM
A Data Flow Diagram (DFD) is a traditional visual representation of the information flows
within a system. A neat and clear DFD can depict the right amount of the system requirement
graphically. It can be manual, automated, or a combination of both.
It shows how data enters and leaves the system, what changes the information, and where data
is stored. A data-flow diagram is a way of representing a flow of data through a process or a system
(usually an information system). The DFD also provides information about the outputs and inputs of
each entity and the process itself. A data-flow diagram has no control flow — there are no decision
rules and no loops.
23
Circle: A circle (bubble) shows a process that transforms data inputs into data outputs.
Data Flow: A curved line shows the flow of data into or out of a process or data store.
Data Store: A set of parallel lines shows a place for the collection of data items. A data store
indicates that the data is stored which can be used at a later stage or by the other processes in a
different order. The data store can have an element or group of elements.
Source or Sink: Source or Sink is an external entity and acts as a source of system inputs or sink of
system outputs.
0-level DFDM
It is also known as fundamental system model, or context diagram represents the entire software
requirement as a single bubble with input and output data denoted by incoming and outgoing arrows.
24
1-level DFD
In 1-level DFD, a context diagram is decomposed into multiple bubbles/processes. In this level, we
highlight the main objectives of the system and breakdown the high-level process of 0-level DFD
into sub processes.
2-Level DFD
2-level DFD goes one process deeper into parts of 1-level DFD. It can be used to project or
record the specific/necessary detail about the system's functioning.
25
26
Fig.6.3 Dataflow diagram
27
6.4 ER DIAGRAM
Entity-relationship (ER) diagram, a graphical representation of entities and their relationships to each other,
typically used in computing in regard to the organization of data within databases or information systems. An entity is a
piece of data-an object or concept about which data is stored. A relationship is how the data is shared between entities.
There are three types of relationships between entities:
One-to-One
One instance of an entity (A) is associated with one other instance of another entity (B). For example,
in a database of employees, each employee name (A) is associated with only one social security number (B).
One-to-Many
One instance of an entity (A) is associated with zero, one or many instances of another entity (B), but
for one instance of entity B there is only one instance of entity A. For example, for a company with all
employees working in one building, the building name (A) is associated with many different employees (B),
but those employees all share the same singular association with entity A.
Many-to-Many
Fig.6.4 ER diagram
29
CHAPTER 7
SYSTEM TESTING
System Testing is a level of the software testing where complete and integrated software is
tested. The purpose of this test is to evaluate the system's compliance with the specified
requirements. By definition of ISTQB system testing is the process of testing an integrated system to
verify that it meets specified.
30
7.2.3 Functional Testing
Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation, and user manuals.
Functional testing is centered on the following items:
Valid Input : identified classes of valid input must be accepted.
Invalid Input : identified classes of invalid input must be rejected.
Functions : identified functions must be exercised.
Output : identified classes of application outputs must be exercised.
Systems/Procedures: interfacing systems or procedures must be invoked.
Verification testing includes different activities such as business requirements, system requirements, design
review, and code walkthrough while developing a product.
It is also known as static testing, where we are ensuring that "we are developing the right product or not".
And it also checks that the developed application fulfilling all the requirements given by the client.
31
7.2.5 Acceptance Testing
Acceptance Testing is a level of the software testing where a system is tested for
acceptability. The purpose of this test is to evaluate the system’s compliance with the business
requirements and assess whether it is acceptable for delivery.
Formal testing with respect to user needs, requirements, and business processes conducted to
determine whether or not a system satisfies the acceptance criteria and to enable the student, admin
or other authorized entity to determine whether or not to accept the system.
32
CHAPTER 8
SYSTEM IMPLEMENTATION
The implementation phase is less creative than system design. A system design may be dropped at any time
prior to implementation, although it becomes more difficult when it goes to the design phase. The final report of the
implementation phase includes procedural flowcharts, record layouts, and a workable plan for implementing the
candidate system design into a operational design.
1) User manual
2) Training demonstrations.
1) User manual:
The summary of important functions about the system & software can be provided as a document to the
user. User training is designed to prepare the user for testing and convening a system
The summary of important functions about the system and the software can be provided as a document to the
user
1. Open http page
2. Type the file name with URL index.html in the address bar
3. Index is opened existing user the type the username and password
4. Click the submit button
2) Training demonstration:
Another user training element is a training demonstration. Live demonstration with personal contact is
extremely effective for training users.
33
CHAPTER 9
9.1 CONCLUSION
The “Manufacturing ERP for Purchase Order Inventory System” has been developed to
satisfy all proposed requirements. The process of customer, Supplier, product, sales, Purchase, Bill
details is maintained more simple and easy. The system is highly scalable and user friendly. Almost
all the system objectives have been met. The system has been tested under all criteria. The system
minimizes the problem arising in the existing manual system and it eliminates the human errors to
zero level. The design of the database is flexible ensuring that the system can be implemented. It is
implemented and gone through all validation.
All phases of development were conceived using methodologies. User with little training can
get the required report. The software executes successfully by fulfilling the objectives of the project.
Further extensions to this system can be made required with minor modifications.
In Future My Billing software system is implemented to the most sophisticated web based
billing system. This web based software has been designed especially for small & midsized
businesses. My Billing system is the most reliable, flexible and scalable billing software that helps
streamline billing while considerably reducing operating costs. I have an Idea future billing system
must include with partial access features (Like privacy in face-book) we can actually grant access to
the users.
34
CHAPTER 10
APPENDIX
35
TABLE NAME : ORD_DET
PRIMARY KEY : ORD_ID
FOREIGN KEY : CUS_ID
36
TABLE NAME : SAL_DET
PRIMARY KEY : SAL_ID
FOREIGN KEY : CUS_ID
37
10.2 SCREENSHOTS
LOGIN PAGE
38
MAIN FORM
39
MAIN FORM
40
PRODUCT DETAILS
41
SUPPLIER DETAILS
42
CUSTOMER DETAILS
43
ORDER DETAILS
44
PURCHASE DETAILS
45
SALES DETAILS
46
Fig 10.2.9 Sales Details
STOCK DETAILS
47
REPORTS
PRODUCT REPORT
48
SUPPLIER REPORT
49
CUSTOMER REPORT
50
ORDER REPORT
51
PURCHASE REPORT
52
SALES REPORT
53
STOCK REPORT
54
10.3 SAMPLE CODE
LOGIN PAGE
MAIN FORM
55
Private Sub SALESToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles SALESToolStripMenuItem.Click
Dim f As New purchase
f.Show()
End Sub
PRODUCT DETAILS
Imports System.Data.SqlClient
End Sub
Dim p As String
qry = "select pro_code from pro_det"
com = New SqlCommand(qry, con)
adp = New SqlDataAdapter(com)
ds = New DataSet
adp.Fill(ds, "pro_det")
i = ds.Tables("pro_det").Rows.Count
p = ds.Tables("pro_det").Rows(i - 1)(0)
p = Mid(p, 2)
p = Val(p) + 1
If Len(p) = 1 Then
p = "000" + p
ElseIf Len(p) = 2 Then
p = "00" + p
ElseIf Len(p) = 3 Then
p = "0" + p
End If
pcode.Text = "P" + p
Catch ex As Exception
pcode.Text = "P0001"
57
End Try
End Sub
End Sub
pname.Text = ""
qty.Text = ""
price.Text = ""
prod_desc.Text = ""
incr()
End If
End Sub
Catch ex As Exception
MsgBox("Please Enter Correct Product Code", MsgBoxStyle.Information)
End Try
End Sub
pname.Text = ""
qty.Text = ""
price.Text = ""
prod_desc.Text = ""
incr()
End If
End Sub
pname.Text = ""
qty.Text = ""
price.Text = ""
prod_desc.Text = ""
incr()
End If
End Sub
End Class
59
INVOICE DETAILS
Imports System.Data.SqlClient
End Sub
incr()
incr_sno()
dt.Text = Date.Today
For j = 0 To i - 1
ord_no.Items.Add(ds.Tables("ord_det").Rows(j)(0))
Next
For j3 = 0 To i3 - 1
pro_name.Items.Add(ds3.Tables("pro_det").Rows(j3)(0))
Next
60
End Sub
clear()
MsgBox("Saved", MsgBoxStyle.Information)
incr()
End Sub
End Sub
Try
qry2 = " select sno from sal_inv where inv_no='" + inv_no.Text + "' order by
inv_no asc"
cmd2 = New SqlCommand(qry2, con)
da2 = New SqlDataAdapter(cmd2)
ds2 = New DataSet
da2.Fill(ds2, "sal_inv")
i2 = ds2.Tables("sal_inv").Rows.Count
j2 = ds2.Tables("sal_inv").Rows(i2 - 1)(0)
sno.Text = Val(j2) + 1
Catch ex As Exception
sno.Text = "1"
End Try
End Sub
61
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
qry = "insert into sal_Inv values ('" + inv_no.Text + "','" + dt.Text + "','" +
ord_no.Text + "','" + comp_name.Text + "','" + sno.Text + "','" + pro_name.Text + "','"
+ unit_price.Text + "','" + qty.Text + "','" + vat.Text + "','" + amt.Text + "','" +
trans.SelectedItem + "','" + veh_no.Text + "','" + tin_no.Text + "')"
cmd = New SqlCommand(qry, con)
con.Open()
cmd.ExecuteScalar()
con.Close()
MsgBox("Saved", MsgBoxStyle.Information)
pro_name.Text = ""
sno.Text = ""
pro_name.Text = ""
unit_price.Text = ""
qty.Text = ""
vat.Text = ""
amt.Text = ""
incr_sno()
bind()
End Sub
End Sub
Private Sub clear()
inv_no.Text = ""
ord_no.Text = ""
ord_no.Text = ""
comp_name.Text = ""
pro_name.Text = ""
sno.Text = ""
pro_name.Text = ""
unit_price.Text = ""
qty.Text = ""
vat.Text = ""
amt.Text = ""
trans.Text = ""
veh_no.Text = ""
tin_no.Text = ""
End Sub
comp_name.Text = ds1.Tables("ord_det").Rows(j1)(0)
qry2 = "select distinct prod from ord_det where ord_code=" & ord_no.SelectedItem
cmd2 = New SqlCommand(qry2, con)
da2 = New SqlDataAdapter(cmd2)
ds2 = New DataSet
da2.Fill(ds2, "ord_det")
i2 = ds2.Tables("ord_det").Rows.Count
For j2 = 0 To i2 - 1
pro_name.Items.Add(ds2.Tables("ord_det").Rows(j2)(0))
Next
End Sub
End Class
63
64
CHAPTER 11
REFERENCES
Elias Awath, “SYSTEM ANALYSIS AND DESIGN”,Tata Mc Graw Hill Publication, Sixth
Edition,2003
Edition,2003
Second Edition,1997
Jonathan Morrison
65