Вы находитесь на странице: 1из 79

GreenSnow

1. Introduction
1.1 Brief Introduction About the Project
This application is a part of an ERP and will automate the sales process of a tea plantation. The plantation industry has outlets in different places of the state to carry out sales of tea products(from factories) and other Non Tea items. Outlets are sale units where retail sale is carried out. Outlets are of two types,Factory outlets(directly run by plantation) and Private Outlets. In case of private outlets outlet-wise, item-wise commission/discount percentage are given as mentioned in the agreement between plantation and the franchisee.

Saintgits College of Engineering, Pathamuttom Page 1

GreenSnow

2. System Analysis
2.1 Feasibility Study
The various feasibility assessment done to evaluate this system and to propose the most feasible and desired solution are the following. Technical Feasibility The main aim of the study is to verify whether the client can meet the hardware and software requirements of this system and to understand current IT infrastructure so as to provide the appropriate software and hardware specifications. Experts among the users are identified to initiate user training if required. So it's technically feasible. Economic Feasibility A brief idea of the financial status of the organization is obtained Feasibility of the cost of the proposed system is compared with the advantages. Verify whether any budget allocations are there for IT infrastructure enhancements. A detailed cost-benefit analysis done to identify the viability of the project by comparing cost with benefits. So it is economically very much feasible. The proposed system is very user friendly,training is less needed. Along with that,this system is very simple such that a person with minimum knowledge of computers can use it. So the proposed system iv very well accepted among the users .Thus the system is behaviorally feasible. Organizational Feasibility The proposed system will meet the organizational requirements without affecting the organizational structure. During the feasibility study ,key issues existing in the organization which will adversely affect the project are identified. So the system is satisfies Organizational feasibility Saintgits College of Engineering, Pathamuttom Page 2

GreenSnow

2.2 Requirement Analysis


Requirement analysis involves studying the current system to find out how it works and where improvements could be made. System studies result in an evaluation of how current methods are working and whether adjustments are necessary or possible. A requirement is a feature that must be included in the new system. It may include a way of capturing or processing information, controlling some activity on support management. A clear idea about the existing system was obtained after requirement analysis. Requirement analysis is the process of understanding the customer needs and expectations from a proposed system or application and is a well-defined stage in the Software Development Life Cycle model. Requirements are a description of how a system should behave or a description of system properties or attributes. It can alternatively be statement of what an application is expected to do. Given the multiple levels of interaction between users, business processes and device in global corporation today, there are simultaneous and complex requirements from a single application, from various levels with an organization and outside it as well. The software Requirement Analysis Process covers the complex task of eliciting and documenting the requirements of all these users, modeling and analyzing the requirements and documenting them as a basis for the system design. Studies reveal that inadequate attention to Software Requirements Analysis at the beginning of aproject is the most common cause for critically vulnerable projects that often do not deliver even on the basic tasks for which they are designed.There are instance of corporations that have spent huge amounts on software project where the end application eventually does not perform the tasks it was intended for.Software companies are now investing timeand resoureces into effective and streamlined Software Requirement Analysis Process as a prerequisite to successful projects that align with the cllents business goals and meet the projects requirement specifications. A dedicated and specialized Requirements Analyst is the best equipped to handle the job.The Requirements Analysis Function may also fall under the scope of the project Saintgits College of Engineering, Pathamuttom Page 3

GreenSnow Manager,program manager or business Analyst,depending on the organizational hierarchy. Software Requirements Analysis and Documentation Process are critical to software project success.Requirements engineering is an emerging field which deals with the systematic handling of requirements.

2.3 Existing System

In the existing system,each functionality in the tea plantation carried by the persons in their own systems. Here,we cannot generate a centralised information. We get only the information in a non-centralised manner. Hence We will not get the accurate report about the sales tracking carried out in this tea plantation. Sales from various destinations are kept individually,and finally these sales informations are collected from the individual systems for report generation. It is very difficult to coordinate all the sales details made by different outlets situated in different locations. In the existing system, it is also difficult to manage the tea or non-tea products transfer in between the outlets.

2.4 Proposed System


The proposed application is a part of an ERP and will automate the sales process of a tea plantation. The plantation industry has outlets in different places of the state to carry out sales of tea products(from factories) and other Non Tea items. Outlets are sale units where retail sale is carried out. Outlets are of two types,Factory outlets(directly run by plantation) and Private Outlets. In case of private outlets outletwise, item-wise commission/discount percentage are given as mentioned in the agreement between plantation and the franchisee. The application is web based which will be connected to a central database and can be accessed from all outlets over the Internet/extranet. The proposed project

Saintgits College of Engineering, Pathamuttom Page 4

GreenSnow is being done using ASP.NET with C# code behind and MSSQL Server 2005 as back end on Windows2000/XP platform. 2.4.1 Requirements Specification

Purpose This project is developed for a tea plantation for handling the sales tracking and stock management of the company. This will help for increasing the the overall performance and security measures of the company. Project Scope

This application plays a very good role in the sales tracking process and stock management in the tea plantation.The application is web based which will be be accessed from all outlets over the connected to a central database and can

Internet/extranet. It will help us to manages all the Sales tracking process very easily. By using this application we can manages the products transfer from one outlet to other in a simple way. Because of this is a centralised application,all the sales,stocks functions can be coordinated to make the report.

Product Features
Administration Administration deals with entering master entries and is handled by a user who as Administrator privilege. All master data like items, Outlets, Agents, Employees, Departments, Registered buyers are managed in this Module. Administrator enters Outlet Details and also set the items in the Outlet. Outlet wise item wise commission and discount is also set by the Administrator. Administrator creates user accounts who are ofcourse employees of the plantation and also employees in private outlets. The Saintgits College of Engineering, Pathamuttom Page 5

GreenSnow employee credit limit is also entered by the Administrator. Persons who bring customers to the outlets frequently can register with the application as Agents and is eligible for a commission percentage decided by the plantation. The agent details are also entered by the Administrator. Registered buyers are those who buy items in bulks and is registered with the application.

Stock Module This module deals with entering stock details .On receiving stock from the Plantation, the quantity received and received date is entered. If the received quantity is less than the requested quantity a remark is also entered for future references.According to the demand of the item each item can be given a reorder level. Faster moving items can be given a higher reorder level and vice versa. When the quantity of item falls below the reorder level the system automatically give an intimation on that.

Sales Module

Sales module automates the sales process in outlets. Sales are categorized as Direct Sale, Credit Sale and Outlet Transfer. Direct purchase from outlet is termed as Direct Sale. Sale bill is generated for sold items and cash or credit card is accepted. For foreign customers, using credit card, their passport no. is noted down. System records the Agent details if customer are brought by registered agents. Purchase made by privileged buyers whose payment comes later is marked as 'In-transit'. For purchases made by Employees and Registered buyers their Employee Id and Buyer Id are noted down respectively. Except for In-transit sales, the stock is reduced correspondingly. Outlet transfer refers to items being transferred between outlets in cases of shortage or when there is a need for quick supply.

Saintgits College of Engineering, Pathamuttom Page 6

GreenSnow

Report Generation At the end of the day, the transactions for that day are sealed Reports are generated on the total cash sale, credit sale happened in the outlet. Reports are also maintained on the total items transferred from the outlets, the Remaining stock, and sales with Intransit status.

User Classes and Characteristics


. Administrator Administration deals with entering master entries and is handled by a user who as Administrator privilege. All master data like items, Outlets, Agents, Employees, Departments, Registered buyers are managed in this Module. Administrator enters Outlet Details and also set the items in the Outlet. Outlet wise item wise commission and discount is also set by the Administrator. Administrator creates user accounts who are ofcourse employees of the plantation and also employees in private outlets. . Stock Manager Stock Manager manages all the stocks in the outlets and company. He will be responsible for handling the stocks in the company. If the stock will go under a particular limit,he will reorder the stocks. . Non-tea Officer

He is the person who manage all the non-tea products in the company. If the com pany will get an order for non-tea item then non-tea officer will Saintgits College of Engineering, Pathamuttom Page 7

GreenSnow call a tender for the product and accept the order. . Factory Manager Factory Manager manages all the tea products in the company. He will take the order for the tea item and satisfy the order. . Sales Manager Sales Manager manages the sales process in outlets. Sales are categorized as Direct Sale, Credit Sale and Outlet Transfer. Direct purchase from outlet is termed as Direct Sale. Sale bill is generated for sold items and cash or credit card is accepted.

Saintgits College of Engineering, Pathamuttom Page 8

GreenSnow

Technology Justification
Microsoft Visual Studio 2008 Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It can be used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silver light. Visual Studio supports different programming languages by means of language services, which allow the code editor and debugger to support nearly any programming language, provided a language-specific service exists. Built-in languages include C/C++ (via Visual C++), VB.NET (via Visual Basic .NET), C# (via Visual C#), and F# (as of Visual Studio 2010). It also supports XML/XSLT, HTML/XHTML, JavaScript and CSS. ASP.NET 3.5 ASP.NET is the next version of Active Server Pages (ASP); it is a unified Web development platform that provides the services necessary for developers to build enterprise-class Web applications. ASP.NET is a .NET-based environment; we can write applications in any .NET compactable language, including visual Basic.NET, C#. net. There are two choices when designing applications that involve a user interfacewindows forms and web forms. Both have full design time support within the development environment and can provide a rich user interface and advanced application functionality to solve business problems. Web form is one of the ASP.NET technologies that allow us to create a user interface for web based application, whether customers are accessing our application

Saintgits College of Engineering, Pathamuttom Page 9

GreenSnow from a traditional web browser or a mobile device.Features of ASP.NET 1. Security ASP.NET for web applications. 2. Compilation All ASP.NET code, including scripts is compiled, which allows for performance optimizations, storing typing and early binding .Once the code has been compiled, the common language runtime further compiles ASP.NET to native code. 3. Application event ASP.NET allows us to include application level event handling code in the optical global. sax file. 4. State facilities ASP.NET also offers distributed state facilities. We can create multiple instances of the same application on one computer or on several computers. 5. Deployment ASP.NET configuration settings are stored in Xml based file, which are human readable and writable. 6. Manageability ASP.NET also supplies performance counters within the windows performance monitor. These counters can be used to monitor the performance of a single instance of an ASP.NET application. No need to separately install the SQL Server 2008 while using the ASP.NET 2008. provides defaults authorization and authentication schemes

Saintgits College of Engineering, Pathamuttom Page 10

GreenSnow

Cascading Style Sheets (CSS). Cascading Style Sheet is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document. CSS defines HOW HTML elements are to be displayed. Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file.

CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for table less web design).

JavaScript JavaScript is a prototype-based scripting language of the web that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles. JavaScript is used in billions of Web pages to add functionality, validate forms, communicate with the server, and much more. It works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari. JavaScript gives HTML designers a programming tool - HTML authors are normally

not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages Saintgits College of Engineering, Pathamuttom Page 11

GreenSnow JavaScript can react to events - A JavaScript can be set to execute when something JavaScript can read and write HTML elements - A JavaScript can read and change JavaScript can be used to validate data - A JavaScript can be used to validate form JavaScript can be used to detect the visitor's browser - A JavaScript can be used to

happens, like when a page has finished loading or when a user clicks on an HTML element the content of an HTML element data before it is submitted to a server. This saves the server from extra processing detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer .

Saintgits College of Engineering, Pathamuttom Page 12

GreenSnow

2.4.2 Hardware specification Specification for the Workstations Intel Pentium IV Processor 3.20GHz, 512K / 800MHz FSB Operating System: Microsoft Windows XP Professional/ Microsoft Windows 2000 and Linux Memory: 128MB (min) RAM Keyboard: Entry Level Quiet key Keyboard, PS/2 Mouse: PS/2, 2 button with scroll Monitor:15 inch Monitor

2.4.3 Software Specification ASP.NET 3.5 with C# Internet Explorer 7 or Mozilla Fire Fox MSSQL Server 2005 Server RDBMS

Saintgits College of Engineering, Pathamuttom Page 13

GreenSnow

3. System Design
3.1 Data flow Diagram Level-0 DFD

Administrator

View

Master Entries

View Manages sales Sales

0 Green Snow

Manages Stocks View

Stock Manager

Manages tea products

Manages Non-tea products View

View

Factory Manager

Nontea Officer

Saintgits College of Engineering, Pathamuttom Page 14

GreenSnow

Level-1 DFD
1. Administrator

Outlet

Outlet id

Outlet Discount Details

Employee Details

Employees
Empid

Administrator

UserDetails,Outlet Discounts,Agent details,Buyers,Item & vendors details

1.0 Manage Administration

Item Details Itemid Agent Details

Items

View Deails

Agents
Agentid Buyerid Buyers' Details Vendorid Vendor Details

Registered Buyers Vendors

Saintgits College of Engineering, Pathamuttom Page 15

GreenSnow

2. Stock

Items

Itemid,Itemna me Outletid

Outlet Outlet Stock


Stock Details Outletid,It emid Req.Info

Requision Master
Reqno

Stock details,Requisition

2.0 Stock Management


Itemid,Reqno

Stock

Requisition Details

Quantity Stock details QuoteRno Status

Quotation Request

Itemprice Status

QuoteRno,Itemid

Status Orderno,

Quotation Request Details


QuoteRno,QuoteItmCode,Vendorid

Quotation Conformation

Order Details

Saintgits College of Engineering, Pathamuttom Page 16

GreenSnow

3. Requisition Management

Factory Manager

Manage Tea Products

Requisition Details

View Tea Product Info

3.0 Requisition Management

View Request Details

Manage Non Tea Products Update Request View Non tea Products Info

Requisition Master NTO Manager

Saintgits College of Engineering, Pathamuttom Page 17

GreenSnow

4. Sales

Sales

Billno,totamt Billno,outletid

Sales details,outlet transfer details

Billno,Ite mid

4.0 Sales Management

Sales Details

Sales
Sales info.

Item Quantity

Transferid Transferid,Itemid Total Price

Item Quantity

Outlet Transfer

Outlet Transfer Details

Saintgits College of Engineering, Pathamuttom Page 18

GreenSnow

5. Report

Sales Details

Sales Info.

5.0
Sales,Stocks,Outlet Transfer details

Outlet Stock Report Generation


Stock Info.

Report Report info.

Item Transfer info.

Outlet Transfer Details

Saintgits College of Engineering, Pathamuttom Page 19

GreenSnow

Level-2 DFD
1. Administration 1.1 User Management
EmployeeInfo

Employees
View Details

View Details User Details Product Details View Details

1.2 Product Management


Product Info

Items

View

Admin
Outlet Details

1.3 Outlet Management

Outlet Info View Details Outlet Stock Info

Outlet

View Details View Details View Details Agent Details

Vendors & Customer Details

View Details

Outlet Stock

1.4 1.5 Agent


Agent Info

Vendors Info View Details Reg Buyers Info View Details

Vendor

Vendors & Customers

Registered Buyers

View Details

Agent

Saintgits College of Engineering, Pathamuttom

Page 20

GreenSnow

2. Stock Management

Outlet Stock 2.1 Sales Manager


Sales Update

Update Stock

Requisition Master
Add Request

Stock

2.2 Stock manager

View Request

Requisition

Place Request

Add Request Details View Request Details

Requisition Details

Saintgits College of Engineering, Pathamuttom

Page 21

GreenSnow

3. Requisition Management

Update Status View Request

Requisition Master
View Request

Tea Request Factory Manager

3.1 Tea Request

View Request

Requsition Details

Update Status

View Request Details

Add Quotation

Quotation Request

NTO Manager

Non-Tea Request

3.2 Non-Tea Request

View Quotation

Add Quotation Order Details

Order Details

Saintgits College of Engineering, Pathamuttom

Page 22

GreenSnow

4. Sales Management

Outlet Stock

Outlet Stocks

Items
Product Details

4.1 Process Sale


Sale,Customer,Payment Details

Add Sales View Sales

Sales

Add Sale Particulars View Sale Particulars

Sales Details Sales Manager


Outlet Transfer

4.2
Add Outlet Transfer

Outlet Transfer

View Outlet Transfer

Outlet Transfer

Add Outlet Transfer Details View Outlet Transfer Details

Outlet Transfer Details

Saintgits College of Engineering, Pathamuttom

Page 23

GreenSnow

3.2 Data base Structure 1. Employees

Field EmpId EmpName EmpDesignation EmpContactNumber EmpCreditLimit EmpType

Type Varchar Varchar Varchar Integer Number Varchar

Size 25 25 15 20 15 15

Constraint Primary Key

Nullability Not Null Not Null Not Null Not Null Not Null Not Null

Description Employee's Unique Number Name of Employee Employee Designation Employees' Contact Number Credit Limit of Employee Sales Manager/Administra tor/Stock Mamager UserName of each Employee Password of each Employee Address of Employee References Outlet Table Working/Dissmissed

UserName Password Address OutletId Status

Varchar Varchar Varchar Varchar Varchar

25 25 50 20 20 Foreign Key

Not Null Not Null Not Null Not Null Not Null

Saintgits College of Engineering, Pathamuttom

Page 24

GreenSnow

2. Agent

Field AgentId AgentName AgentContactN umber AgentMail AgentCommissi on AgentAddress

Type Varchar Varchar Integer Varchar Number Varchar

Size Constraint 25 25 20 20 20 50 Primary Key

Nullability Not Null Not Null Not Null Not Null Not Null Not Null

Description Agents' Unique Number Name of each Agent Agents' contact Number Agents' Mail Id Commission of Agent Address of Agent

3. Outlet
Field OutletId OutletName OutletLocation OutletCategory OutletContactPerson Type Varchar Varchar Varchar Varchar Varchar Size Constraint Nullability 25 25 25 25 25 20 20 Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null Description Outlets' Unique Number Name of each Outlet Location of each Outlet Private/Factory Contact Person in the Outlet Contact Number of Outlet Email Id of Outlet

OutletContactNumber Integer OutletContactEmail Varchar

4. Outlet Stock
Field OutletId ItemId Commission Quantity Type Varchar Varchar Number Number Size Constraint 25 25 25 25 Foreign Key Foreign Key Nullability Not Null Not Null Description References Outlet Table References Item Table Commission for the Item Quantity of the Item in the Outlet Page 25

Saintgits College of Engineering, Pathamuttom

GreenSnow

5. Items
Field ItemId ItemName ItemDescription ItemSize ItemPrice ItemType Type Varchar Varchar Varchar Number Number Varchar Size 25 25 50 20 25 20 Constraint Primary Key Nullability Not Null Not Null Null Not Null Not Null Not Null Description Items' Unique Number Name of the each Item Description about the Item Size of the Item Price of the Item Tea/Non Tea

6. Registered Buyers
Field BuyerId BuyerName Type Varchar Varchar Size Constraint 25 25 25 20 50 Primary Key Nullability Not Null Not Null Not Null Not Null Not Null Description Buyer's Unique Number Name of the Buyer Contact Person of the Buyer Contact Number of Buyer Address of the Buyer

BuyerContactPerson Varchar BuyerContactNumber Integer BuyerAddress Varchar

7.Vendor
Field VendorId VendorName VendorAddress Vendoremail VendorWeb Contactperson ContactpersonNo Type Varchar Varchar Varchar Varchar Varchar Varchar Integer Size 25 25 50 25 25 25 20 Constraint Nullability Description Vendors' Unique Number Vendors' Name Vendors' Address Vendors' Email Id Vendors' Website Vendors' Contact Person Vendors' Contact person's Phone Number Page 26

Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null

Saintgits College of Engineering, Pathamuttom

GreenSnow

8. Sales Details

Field

Type

Size 25 25 25

Constraint Primary Key Foreign Key

Nullability Not Null Not Null Not Null

Description References Sales Table References Item Table Quantity of the Items

BillNumber Varchar ItemId Varchar

ItemQuantity Varchar

9. Sales

Field BillNumber OutletId OutletType BuyMode SourceMode PassportNumber AgentId BuyerId EmpId BuyerName BuyerAddress TotalAmount PayStatus

Type Varchar Varchar Varchar Varchar Varchar Number Varchar Varchar Varchar Varchar Varchar Number Varchar

Size 25 25 25 25 25 25 25 25 25 25 50 25 20 25

Constraint Primary Key Foreign Key

Nullability Not Null Not Null Not Null Not Null Not Null Not Null

Description Bill's Unique Number References Outlet Table Native/Foreign Cash/Credit Agent/Direct Passport Number Agent's Unique Number Buyer's Unique Number References Employee Table Name of the Buyer Address of the Buyer Total Amount Status of Payment Credit Card Number Credit Card Expire Date Bill Date

Foreign Key Foreign Key Foreign Key

Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null

CreditcardNumber Number CreditCardExpire Date BillDate Date Date

Saintgits College of Engineering, Pathamuttom

Page 27

GreenSnow

10. Outlet Transfer


Field TransferId ToOutletId FromOutletId TotalPrice TransferDate Field TransferId ItemId ItemQuantity Type Varchar Varchar Varchar Integer Date Type Varchar Varchar Integer Size 25 25 25 25 Size 25 25 25 Constraint Foreign Key Foreign Key Constraint Primary Key Nullability Not Null Not Null Not Null Not Null Not Null Nullability Not Null Not Null Not Null Description Transfer's Unique Number Receiver Outlet Id Sender Outlet Id Total Price Transfer Date Description References Outlet Transfer Table References Item Table Item Quantity

11. Outlet Transfer Details

Saintgits College of Engineering, Pathamuttom

Page 28

GreenSnow

12. Requisition Master


Field ReqNo ReqDate DeliveryDate Type Varchar Date Date Size 25 Constraint Primary Key Nullability Not Null Not Null Not Null Description Request 's Unique Number Request Date Check deliverydate>ReqDa te References Outlet Table Check Receiving Date>ReqDate New- New initially Placed Accepted-Accepting by NTO or Factory Manager Delivered-By NTO or Factory Manager Pending-Requested item pending Satisfied-Request is satisfied Request Message

OutletId ReceivingDate

Varchar Date

25

Foreign Key

Not Null Not Null

Status

Varchar

25

Not Null

ReqMessage

Varchar

50

Null

13. Requisition Details

Field ReqNo

Type Varchar

Size 25

Constraint Foreign Key

Nullability Not Null

Description References Requestion Master Table References Item Table ReqQty>0 Received Quantity<=ReqQty Remarks

ItemId ReqQty ReceivedQty Remark

Varchar Number Number Varchar

25 25 25 25

Foreign Key

Not Null Not Null Not Null Null

Saintgits College of Engineering, Pathamuttom

Page 29

GreenSnow

14. Quotation Request


Field QuoteReqNo QuoteReqDate QuoteNeedDate Type Varchar Date Date Size 25 Constraint Primary Key Nullability Not Null Not Null Not Null Description Quotation's 's Unique Number Quotation Request Date Quotation Needed Date>Quotation Requered Date Quotation Received Date>Quotation Requered Date New-Quotation Placed Received-Quotation Received

QuoteRecDate

Date

Not Null

Status

Varchar

25

Not Null

15. Quotation Request Details


Field QuoteReqNo Itemid Quantity VendorId QuoteAmt Status Type Varchar Varchar Number Varchar Number Varchar Size 25 25 25 25 25 25 Foreign Key Constraint Foreign Key Foreign Key Nullability Not Null Not Null Not Null Not Null Not Null Not Null Description References Quotation Request Table References Item Table Quantity References VendorTable Amount against each item by each vendor Status of Quotation Request

Saintgits College of Engineering, Pathamuttom

Page 30

GreenSnow

16. Quotation Confirmation


Field QuoteReqNo Itemid VendorId Type Varchar Varchar Varchar Size 25 25 25 Constraint Foreign Key Foreign Key Foreign Key Nullability Not Null Not Null Not Null Description References Quotation Request Table References Item Table References VendorTableVendor Id New-Default Select-Selected under against each item

Status

Varchar

25

Not Null

17. Order Details


Field OrderNo QuoteReqNo VendorId ReqDate NeededDate Terms TotalValue Status Type Varchar Varchar Varchar Date Date Varchar Number Varchar 25 25 25 Size 25 25 25 Constraint Primary Key Foreign Key Foreign Key Nullability Not Null Not Null Not Null Not Null Not Null Not Null Not Null Not Null Description Order's Unique Number References Quotation Request Table References VendorTable Order Requesting Date Needed Date> Request Date Order Terms Total Value of Order New-When Placed at NTO Accept-When Placed by NTO Delivered-If Delivered at purchase Manager Success-If it is completely processed

3.3 Use Case Diagrams


Saintgits College of Engineering, Pathamuttom Page 31

GreenSnow

1 .Administrator

2. Stock Manager
Saintgits College of Engineering, Pathamuttom Page 32

GreenSnow

3. Non-tea Officer
Saintgits College of Engineering, Pathamuttom Page 33

GreenSnow

4. Factory Manager
Saintgits College of Engineering, Pathamuttom Page 34

GreenSnow

5.

Sales Manager
Page 35

Saintgits College of Engineering, Pathamuttom

GreenSnow

4. System Testing
Saintgits College of Engineering, Pathamuttom Page 36

GreenSnow

Test Design
The designing of tests is as important as the designing of software.The ease with which tests can be performed is highly dependant on the design of the test.The test design consist of the following stages: Test Strategy Test Planning Test Case Design Test Procedure design

Test Strategy
A test strategy is a statement of the overall approach to testing,identifying the levels of testing to be applied and the method,techniques and tools to be used.Developing a test strategy that efficiently meets the needs of an organization is critical to the success of software development with in the organization.

Test Planning
Once the test strategy has been devised,the next stage in the test plan.The test plan states the items to be tested,the extent to which they will be tested,sequence in which they will be tested, be applied in the process of testing these items. and how the test strategy will

Test Case Design


The test case design specifies the various test paths that can be taken to test the selected items two ways: Knowing the internal working of a product,tests can be conducted to ensure that the internal operation of the product is according to specification and all the internal components are adequately exercised.In other words the focus is on structural correctness.This is the White Box Testing Saintgits College of Engineering, Pathamuttom Page 37 from the previous stage.Any Products can be tested in one of

GreenSnow Knowing the specified function that a product has been designed to

perform,tests can be conducted to prove that each function is fully operational.In other Words ,the focus is on functional correctness.This is the Black Box Testing

White Box Testing


Using the White Box testing methods,a software engineer can derive test cases to do the following:

Guarantee that all the independent paths within a module have been

excercised at least once. Excercise all the logical decisions in their true and false aspects. Execute all the loops at their boundaries and within their operational bounds. Excercise the internal data structures to ensure their validity.

Control Structure Testing


Control Structure Testing is a white Box testing technique.It has the following test case designmethods. 1. Conditional Testing-It is test case design method that excercisesthe logical conditions contained in a program module.This method focuses on testing each condition in the program. 2. 3. Data Flow Testing-This method is usefull for a program containing Loop Testing-Loops are the cornerstones for a vast majority of nested if and loop statements. algorithms implemented in software.Loop testing is a White Box Testing technique that focuses exclusively on the validity of loop constructs.

Black Box Testing

Saintgits College of Engineering, Pathamuttom

Page 38

GreenSnow Black Box Testing enables a software engineer to derive sets of input conditions that will fully excercise all the functional requirement for a program.Black Box testing is not an alternative to White Box testing techniques.Rather,it is a complementary approach that is likely to uncover a different class of errors than White Box Testing. The Black Box Testing method attempts to find errors in the following catagories: Incorrect or missing Functions. Interface errors. Errors in data structure or external database access. Performance errors. Initialization errors.

Black Box tests are designed to answer the following questions: How is the functional validity tested? What classes of input will make good test cases? Is the system particularly sensitive to certain input values? How are the boundaries of a data class isolated? What data rates and data volumes can the system tolerate? What effect will specific combinations of data have on system operation?

The Black Box testing techniques discussed are: Equivalence Partitioning Boundary value analysis

Equivalence Partitioning
Equivalence Testing is a Black box testing method that divides the input domain of a program into classes of data from which test cases can be derived.This method assumes that all the values within any individual partition are equivalent for test purposes.An ideal test case single handedlyuncoversa a class of errors,thereby redusing the total number of test cases that must be developed. Saintgits College of Engineering, Pathamuttom Page 39

GreenSnow

An Equivalence class represents a set of valid or invalid states set of related values ,or a boolean condition. Equivalence classes may be defined according to the following guidelines:

for input

conditions.An input condition is either a specific numeric value ,a range of values ,a

If an input condition specifies a range ,one valid and two invalid equivalence If an input condition requires a specific value,one valid and two invalid If an input condition specifies a member of a set,one valid and one invalid If an input condition is boolean,one valid and one invalid equivalence

classes are defined. equivalence classes are defined. equivalence classes are defined. classes are defined.

Boundary Value Analysis


Boundary Value Analysis(BVA) is a test case design techique that complements equivalence partitioning.Rather,than selecting any element of an equivalence class.BVA leads to the selectin of test cases at the edges of the class.BVA derives tes Cases from the output doamin. Guidelines for BVA: If an input condition specifies a range bounded by the values,a and b,test cases should be designed with the values,a and b,just above and below a and b,respectively. If an input condition specifies a number of values,test cases should be developed that excercise the minimum and maximum numbers.Values just above and below the minimum and maximum are tested. Apply guidelines 1 and 2 to output conditions.For example,assume that a temperature versus a pressure table is required as an outputv from an engineering analysis program.Teat cases should be designed to create an outputreport that produces the tha maximum and the minimum allowable number to excercise the data structure at its boundary. Saintgits College of Engineering, Pathamuttom Page 40

GreenSnow If internal program data structures have prescribed boundaries,for example,

an array with a defined limit of 100 entries,ensure that you design a test case to excercise the data structure at its boundary. Most software engineers intuitively perform BVA to some degree,By applying the Guidelines noted above,boundary testing is more complete,thereby being more likely to detect errors.

Test Procedure Design


The test procedure design specifies the exact procedures to be followedto conduct the test cases designed in the previous stages.For each item to be tested,at each level of testing,a test procedure will specify the process to be followed to carry out each test case.A test procedure cannot make assumptions or leave out steps.

Debugging
Debugging is not part of testing but is a consequence of testing.Debugging is the process of analysing and locating erors when software does not behave as expected.The commonly used debugging methods include: Debuggig by inclusionor deduction Debugging by backtracking

Debugging by inclusion or deduction proceeds as follows: Listing the possible causes for an observed failure. Using the available inforamation to eliminate various hypothesis. Elaborating the remaining hypothesis. Proving or disproving each hypothesis. Determining the appropriate corrections. Verifying the corrections.

Saintgits College of Engineering, Pathamuttom

Page 41

GreenSnow Debugging by backtracking invlolves working backwards in the source code from the point where an error was observed in an attempt to identify the exact point where the error occured.

Traditional Debugging Techniques


Snapshot dumps-These are machine-level reperesentations of the partial or total program state at a particular point in the execution sequence, for example a core dumb during the execution of a C program.The images of the program along with all its registers are dumbed to a file(core)at the point of execution error.. Trace facilites-These list changes in the selected stete components.In its simplest form,a trace will print all changes in data values for all the variables and all the changes in the control flow.For example,in Visual Basic,the watch pane is a trace facility. Traditional Breakpoint facility-This interrupts program execution and transfers control to the programmers terminal when execution reaches a specified break instruction in the source code.For example,inserting breakpoints in a Visual Basic program by using the stop keyword.

Saintgits College of Engineering, Pathamuttom

Page 42

GreenSnow

Test cases
Login Page Validation

Test Case Id Login_Vali d

Test Case Name

Test Case desc

Test Steps Step Enter Username as adsdsdsds& Password as Admin and click Login Actual An Error Message Expected An Error Message

Test Status (P/F)

Login Valid Validation ating Login Page

Invalid User Invalid User Name or Name or Password Password

Enter User as Admin and click Login

An Error Message Password should not be empty

An Error Message Password should not be empty

Enter User name as Admin & Password as Admin123 And click Login

Login to system

Login to system

Saintgits College of Engineering, Pathamuttom

Page 43

GreenSnow New User Test Steps Test Test Case Case Id Name Step To verify that valid fields only accepted Actual Enter User name as Sam And click Submit Expected An Error Message P User name should be at least 6 characters Test Status (P/F)

Valida te Use_test 1 Add New User details Entry Form

Enter Mail address as sam@a And click Submit

An Error Message Invalid Email Address

An Error Message Invalid Email Address

Enter Mobile number as 2121212 And click Submit

An Error Message Invalid Mobile Number

An Error Message Invalid Mobile Number P

Saintgits College of Engineering, Pathamuttom

Page 44

GreenSnow

5. Conclusion
This application is a part of an ERP and will automate the sales process of a tea plantation. The plantation industry has outlets in different places of the state to carry out sales of tea products(from factories) and other Non Tea items. Outlets are sale units where retail sale is carried out. This will speed up the sales tracking and stock management process in a tea plantation. Also it will help for the requisition of items needed in the organisation and according to this requisition the item will be given or give a tender for non-tea items. Moreover this is a centralised database system,so we can make the report easily and efficiently.

6. Appendix
Saintgits College of Engineering, Pathamuttom Page 45

GreenSnow

6.1

Appendix A: Screen Layout

1. Login

Saintgits College of Engineering, Pathamuttom

Page 46

GreenSnow

2. List Employee

Saintgits College of Engineering, Pathamuttom

Page 47

GreenSnow

3. Add Employee

Saintgits College of Engineering, Pathamuttom

Page 48

GreenSnow

4. Edit Employee

Saintgits College of Engineering, Pathamuttom

Page 49

GreenSnow

5. Delete Employee

Saintgits College of Engineering, Pathamuttom

Page 50

GreenSnow

6. List Agent

Saintgits College of Engineering, Pathamuttom

Page 51

GreenSnow

7. Add Agent

Saintgits College of Engineering, Pathamuttom

Page 52

GreenSnow

8. Edit Agent

Saintgits College of Engineering, Pathamuttom

Page 53

GreenSnow

9. Delete Agent

Saintgits College of Engineering, Pathamuttom

Page 54

GreenSnow

10. List Buyers

Saintgits College of Engineering, Pathamuttom

Page 55

GreenSnow

11. Add Buyers

Saintgits College of Engineering, Pathamuttom

Page 56

GreenSnow

12. Edit Buyers

Saintgits College of Engineering, Pathamuttom

Page 57

GreenSnow

13. Delete Buyers

Saintgits College of Engineering, Pathamuttom

Page 58

GreenSnow

14. List Outlets

Saintgits College of Engineering, Pathamuttom

Page 59

GreenSnow

15. Add Outlets

Saintgits College of Engineering, Pathamuttom

Page 60

GreenSnow

16. Edit Outlets

Saintgits College of Engineering, Pathamuttom

Page 61

GreenSnow

17. Delete Outlets

Saintgits College of Engineering, Pathamuttom

Page 62

GreenSnow

18. List Items

Saintgits College of Engineering, Pathamuttom

Page 63

GreenSnow

19. Add Items

Saintgits College of Engineering, Pathamuttom

Page 64

GreenSnow

20. Edit Items

Saintgits College of Engineering, Pathamuttom

Page 65

GreenSnow

21. Delete Items

Saintgits College of Engineering, Pathamuttom

Page 66

GreenSnow

22. List Vendors

Saintgits College of Engineering, Pathamuttom

Page 67

GreenSnow

23. Add Vendors

Saintgits College of Engineering, Pathamuttom

Page 68

GreenSnow

24. Edit Vendors

Saintgits College of Engineering, Pathamuttom

Page 69

GreenSnow

25. Delete Vendors

Saintgits College of Engineering, Pathamuttom

Page 70

GreenSnow

26. Add Items To Outlet

Saintgits College of Engineering, Pathamuttom

Page 71

GreenSnow

27. Add Discount to Outlet

Saintgits College of Engineering, Pathamuttom

Page 72

GreenSnow

28. Add Stock ( Stock Manager)

Saintgits College of Engineering, Pathamuttom

Page 73

GreenSnow

29. List Stock Items

Saintgits College of Engineering, Pathamuttom

Page 74

GreenSnow

30. Sales

Saintgits College of Engineering, Pathamuttom

Page 75

GreenSnow

Saintgits College of Engineering, Pathamuttom

Page 76

GreenSnow

31. Sales Report

Saintgits College of Engineering, Pathamuttom

Page 77

GreenSnow

7. Bibliography

1.

Software Engineering, by Roger S Pressman, Mc Graw Hill International Edition,

Second Edition, 1998.

Saintgits College of Engineering, Pathamuttom

Page 78

GreenSnow
2.

Introducing System Analysis and Design, by Lee, published by Golgotha ASP.NET Complete Reference, by Matthew MacDonald, Robert StandeferWrox.Professional.ASP.NET.2.0.Server.Control by Dr Shahram Khosravi. Mastering JavaScript and Jscript, by James Jaworski, BPB publications, First Professional ASP.NET 2.0 Ajax by Matt Gibbs, Dan Wahlin. Microsoft SQL Server 2005 by Jeffrey Shapiro - Computers - McGraw-Hill. http://msdn.microsoft.com/en-us/asp.net http://www.asp.net

Publications, First Edition, 1998.


3.

Computers - McGraw-Hill/Osborne.
4. 5.

Edition 1999.
6. 7. 8. 9.

10. http://www.course.com/downloads/newperspective/crweb3/documents/dhtmlt02.htm

Saintgits College of Engineering, Pathamuttom

Page 79