You are on page 1of 12


Stock and Inventory Management System developed for AUM TRADING is used to allow the company to maintain the details of all incoming and outgoing stock with all the details according to date. System also maintains the daily routine sales and purchase details and accordingly available cash and stock-in-hand is evaluated.


STOCK AND INVENTORY MANAGEMENT SYSTEM is the system developed to handle the daily transactions of AUM TRADING. The system provides an user-friendly and easy to understand way of carrying out various transactions of the trading company.

The main highlights of the system are as under: It provides an automated way for handling stock. It automatically calculates the stock differences. It reduces the efforts of maintaining Stock-Ledgers, as the data stored in the database is helpful in tallying account of stock with the actual stock in hand. It generates Daily or Date Wise Reports on purchase and sales which is useful in: Maintaining Accounts. Analyzing the Stock Requirements. Determining the need for making new purchase on basis of the analysis/reports.

It automatically calculates the Available Cash and Stock-in-Hand whenever purchase and sales transactions are carried out.

It provides a Simple, Elegant and easily understandable User Interface.


The system is designed and developed with the aim of making the manual process being carried out at the company be converted into an automated process . The system is
designed in a manner that the user of the system can easily manage the system. The system is developed from the user point of view. Here the user of the system can be either:1. Admin/Manager/Accountant:

The person handling the system can be either Administrator/Manager or Accountant at the trading company. The admin/manager/accountant has all the rights related to the management of the system and the sensitive data management.

2. User/Employee/Operator:



NetBeansIDE 7.0.1

XAMPP Server MySQL Server 5.1.41


PHP JavaScript

DESIGN TOOLS USED: Cascading Style Sheet FireBug

About PHP
PHP ( Hypertext Preprocessor/Personal Home Page) is a widely used, generalpurpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. PHP was originally created by Rasmus Lerdorf in 1995and has been in continuous development ever since.

PHP originally stood for personal home page. Its development began in 1994 when the Danish/Greenlandic programmer RasmusLerdorf initially created a set of Perl scripts he called 'Personal Home Page Tools' to maintain his personal homepage. He rewrote these scripts as C programming languageCommon Gateway Interface (CGI) binaries, extending them to add the ability to work with web forms and to communicate with databases and called this implementation 'Personal Home Page/Forms Interpreter' or PHP/FI. PHP/FI could be used to build simple, dynamic web applications. Lerdorf released PHP/FI as 'Personal Home Page Tools (PHP Tools) version 1.0' publicly on June 8, 1995. Officially released PHP/FI 2 in November 1997. In 1997 and formed the base of PHP 3, changing the language's name to the recursive initialism PHP: Hypertext Preprocessor. Afterwards, public testing of PHP 3 began, and the official launch came in June 1998.

On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. As of August 2008 this branch is up to version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II. PHP 5 included new features such as improved support for object-oriented programming. In 2008 PHP 5 became the only stable version under development. Late static binding had been missing from PHP and was added in version 5.3. A new major version has been under development alongside PHP 5 for several years. This version was originally planned to be released as PHP 6 as a result of its significant changes, which included plans for full Unicode support. However, Unicode support took developers much longer to implement than originally thought and the decision was made in March

2010 to move the project to a branch, with features still under development moved to a trunk.

Major Features of PHP

1. SAFE MODE SUPPORT:PHP supports an unique "Safe Mode" which makes it safe to have multiple users run PHP scripts on the same server. PHP's Safe Mode attempts to provide a degree of basic security in a shared environment, where multiple user accounts exist on a PHP-enabled web server. When a web server is running PHP in Safe Mode, some functions are disabled completely, and others are available with limited functionality.

2. OPEN SOURCE:It's Free! And it is an essential feature of PHP. The package is completely free. It is licensed under the GNU/GPL which allows you to use the software for any purpose, commercial or otherwise.

3. ACCESS LOGGING:With the access logging capabilities of PHP, users can maintain their own hit counting and logging. It does not use the system's central access log files in any way, and it provides real-time access monitoring. The Log Viewer Script provides a quick summary of the accesses to a set of pages owned by an individual user. In addition to that, the

package can be configured to generate footer on every page which shows access information.

4. FILE UPLOAD SUPPORT:RFC-1867 File Upload Support - File Upload is a new feature in Netscape 2.0. It lets users upload files to a web server. PHP provides the actual Mime decoding to make this work and also provides the additional framework to do something useful with the uploaded file once it has been received.

5. HTTP-based AUTHENTICATION SUPPORT:PHP can be used to create customized HTTP-based authentication mechanisms for the Apache web server.

6. EXTENDED REGULAR EXPRESSIONS:Extended Regular expressions are heavily used for pattern matching, pattern substitutions and general string manipulation. PHP supports all common regular expression operations.

7. RAW HTTP HEADER CONTROL:The ability to have web pages send customized raw HTTP headers based on some condition is essential for high-level web site design. A frequent use is to send a Location:

URL header to redirect the calling client to some other URL. It can also be used to turn off caching or manipulate the last update header of pages.

8. STANDARD CGI:PHP is a standard COMMON GRAPHIC INTERFACE program and it can be installed on any UNIX machine running any UNIX web server. It even supports FastCGI standards, and so gets the advantage of the speed improvement. PHP provides an extremely powerful alternative for CGI programming.

9. PostgresSQL SUPPORT : Postgres is an advanced free RDBMS. PHP supports embedding PostgresSQL "SQL queries" directly in .html files.

10. ON THE FLY GIF IMAGE CREATION:PHP has support for Thomas Boutell's GD image library which makes it possible to generate GIF images on the fly.

About MySQL:MySQL is a relational database system. It is an Open Source, Enterprise-level, multithreaded, relational database management system that stores and retrieves data using the Structured Query Language.

MySQL is the most popular open-source database system where the data is stored in database objects called tables. With MySQL, we can query a database for specific information and have a recordset returned.

One great thing about MySQL is that it can be scaled down to support embedded database applications. Actually, MySQL is the de-facto standard database for web sites that support huge volumes of both data and end users (like Friendster, Yahoo, Google).


MySQL supports the ODBC interface. This allows MySQL to be addressed by all the usual programming languages that run under Microsoft Windows (Delphi, Visual Basic, etc.). The ODBC interface can also be implemented under Unix, though that is seldom necessary.


MySQL supports as SQL (Structured Query Language) as its database language. SQL is a standardized language for querying and updating data and for the administration of a database. There are several SQL dialects (about as many as there are database systems). MySQL adheres to the current SQL standard (at the moment SQL: 2003), although with significant restrictions and a large number of extensions. Through the configuration setting sql-mode you can make MySQL server behave compatibly with various database systems, among these are IBM DB/2 and Oracle.

3. UNICODE:MySQL has supported all conceivable character sets since version 4.1, including Latin-1, Latin-2, and Unicode (either in the variant UTF8 or UCS2).

4. USER INTERFACE:There are a number of convenient user interfaces for administering a MySQL server.

5. FULL-TEXT SEARCH:Full-text search simplifies and accelerates the search for words that are located within a text field. If you employ MySQL for storing text (such as in an Internet discussion group), you can use full-text search to implement simply an efficient search function.


Replication allows the contents of a database to be copied (replicated) onto a number of computers. In practice, this is done for two reasons: to increase protection against system failure (so that if one computer goes down, another can be put into service) and to improve the speed of database queries.


It is not only client applications that run under a variety of operating systems; MySQL itself (that is, the server) can be executed under a number of operating

systems. The most important are Apple Macintosh OS X, Linux, Microsoft Windows, and the countless Unix variants, such as AIX, BSDI, FreeBSD, HP-UX, OpenBSD, Net BSD, SGI Iris, and Sun Solaris.