ERP Documentation
ERP Documentation
ERP Documentation
CHAPTER 1
INTRODUCTION
1.1 OVERVIEW
An enterprise resource planning (ERP) project is a large enterprise program, both from a
business and technology point of view. It generates huge changes and often involves calling into
question many traditional functions within the company, for which people are seldom well
prepared. It often requires the implementation of several new systems and their integration with
existing systems and often represents one of the larger IT projects certainly one of the highly
critical ones in most companies, Cooperation between business and IT extends to a global
collaboration between many business units and several entities of the IT department.
The aim of this project to developing an ERP Sales, Purchase and Inventory Management
System (SIMS) for a departmental store. This system can be used to store the details of the
inventory, stock maintenance, update the inventory based on the sale details, generate sales and
inventory reports periodically etc.This project is to categorize individual aspects for sales and
inventory managements system, in this system we are solving various problem affecting to direct
sales managed by RSM (Regional Sales Manager), ASM (Area Sales Manager) and SO(Sales
Officer) who those are monitoring our team response in term of target on various industrial
products.
In previous software the higher authority person are enable to get detail their lower
authorized person. Then because the company target will not achieved correctly.
Following are some disadvantage use of Excel sheet:
1) Time Consuming
2) Less accurate
3) Less efficient
4) Lot of Excel sheet work
5) Slow data processing
6) Not user friendly environment
7) Difficult to keep old record.
people can access the database no changes can be made in it until the verified the user login id
and password
CHAPTER 2
SYSTEM ANALYSIS
2.1 FEASIBILITY STUDY
Technical Feasibility
Technical feasibility centers on the existing system and what is to be extended to support
the proposed system. This involves financial consideration to accommodate technical
enhancements. In this project, ASP.NET is used to develop the web application and MS-SQL is
used to create and maintain the database to overcome the drawbacks of the existing system.
Economic Feasibility
Economic feasibility deals with the analysis of costs against benefits (i,e.,) whether the
benefits to be enjoyed due to new system are worthy when compared for the costs to be spend on
the system. The cost of the system is not high when compared to the existing system. In this
project is to consider a windows based client/server system with MS-SQL Server as the backend
and ASP.NET as the front end.
Operational feasibility
The extent to which the project would fulfill the operation needed in the organization was
found to be good. The proposed system covered all the aspects of the working system and the
working model of the proposed system was also found to be at an advantage in many ways. It
was also determined that the proposed system was easy to operate with a basic knowledge.
OPERATING SYSTEM
Windows 8.1
ENVIRONMENT
NET FRAMEWORK
Version 4.0
LANGUAGE
BACK END
SQL
Intel i5
RAM
2GB RAM
MONITOR
14 COLOR
20 GB
KEYBOARD
MOUSE
3 BUTTONS
ABOUT C#.NET
C# is a general-purpose, object-oriented programming language. Its development team is
led by Anders Hejlsberg. The most recent version is C# 6.0, which was released on July 20,
2015.C# (pronounced
as see
sharp)
is
a multi-paradigm
programming
BACK END
Microsoft SQL server is a backend
Features of SQL-SERVER
Microsoft SQL Server is a relational model database server produced by Microsoft. Its
primary query languages are T-SQL and ANSI SQL.The OLAP Services feature available in
SQL Server version 10.0 is now called SQL Server 2008 Analysis Services. The term OLAP
Services has been replaced with the term Analysis Services. Analysis Services also includes a
new data mining component. The Repository component available in SQL Server version 7.0 is
now called Microsoft SQL Server 2008 Meta Data Services. References to the component now
use the term Meta Data Services. The term repository is used only in reference to the repository
engine within Meta Data Services. Microsoft SQL Server 2008 features includes internet
integration, scalability, availability, enterprise-level database features, ease of installation,
deployment, and use data warehousing.
2.2.4 TECHNICAL REQUIREMENTS
PERFORMANCE
Performance requirements define acceptable response for system functionality.The load
time for user interface screens shall talk no longer than five seconds. The verification for login
information will not take more than five seconds.
SCALABILITY
In this system administrator can add and update the details in very easy manner. This
system provides the report to the administrator within five seconds. It is a stand alone
application. Therefore it is very scalable for maintaining the computer application information
details.
SECURITY
The system verifies the username and password and then allows administrator to access
the data if only the username and password is correct otherwise it will display the error message.
It provides more security to administrator for accessing the data.
MAINTAINABILITY
This system is being developed using vb.net that support all type of datas in different
format. Therefore you will be able to maintain all datas in easy manner. Admin can able to view
the details of the instructor. Maintenance of the system is very flexible and cost effect
effectively.
AVAILABILITY
This system is available any time to access those data. The application can run without
internet connection. Any number of instructor details can store into the system at a time without
any interrupt. The system has the capacity to maintain all details.
10
CHAPTER 3
SYSTEM DESIGN
3.1 MODULE DESCRIPTION
The project entitled as ONLINE ENTERPRISE RESOURCE PLANNING is used to
The project contains the following modules:
Sales details
Purchase details
Inventory
3.1.3 INVENTORY:
11
Opportunity describes the sales prospects, their requested product and services, the sales
prospects budget, the potential sales volume and an estimated sales probability, this information
becomes concrete in the course of the sales cycle, and can be displayed and evaluated in the
system. The inventory shows the supply chain management which describes the stock maintain,
product sales and return.
Admin
Login
Maintain
Sales
Sales
Purchase
Purchase
Inventory
Inventory
12
3.3 ER DIAGRAM
13
DATA_TYPE
LENGTH
CONSTRAINT
Customer_id
Int
10
Primary key
Customer_name
Varchar
50
Not Null
Contact No
Varchar
50
Not Null
Address
Datetime
10
Not Null
DATA_TYPE
LENGTH
CONSTRAINT
Sid
Int
10
Primary key
Sname
Varchar
50
Not Null
Adrs
Varchar
50
Not Null
Cno
Datetime
10
Not Null
Varchar
50
Not Null
14
DATA_TYPE
LENGTH
CONSTRAINT
Item_id
Int
10
Primary key
Req_qty
Varchar
50
Not Null
Vend_id
Varchar
50
Not Null
Req_date
Datetime
10
Not Null
Po_id
Varchar
50
Not Null
Po_date
Date
Net_amt
Varchar
Not null
20
Not null
DATA_TYPE
LENGTH
CONSTRAINT
Net_amt
Int
10
Primary key
Gross_amt
Varchar
50
Not Null
Price
Varchar
50
Not Null
Item_id
Datetime
10
Not Null
So_date
Date
So_no
Int
Cust_id
Varchar
50
Not Null
DATA_TYPE
LENGTH
CONSTRAINT
Pay_amt
Double
10
Primary key
Pay_date
Date
Bill_nos
Varchar
50
Not Null
Vend_id
Int
10
Not Null
Not Null
15
DATA_TYPE
LENGTH
CONSTRAINT
Rec_amt
Int
10
Primary key
Bill_no
Varchar
50
Not Null
Cheque_dd_no
Varchar
50
Not Null
Bank_name
Datetime
10
Not Null
Rec_mode
Varchar
50
Not Null
Cust_id
int
10
Not Null
Rec_date
date
Rec_id
id
Not Null
10
Not Null
CHAPTER 4
SYSTEM TESTING
Software testing is any activity aimed at evaluating an attribute or capability of a program
or system and determining that it meets its required results. The purpose of testing is to discover
errors. It provides a way to check the functionality of components, sub-assemblies, assemblies
and/or a finished product. There are various types of test. Each test type addresses a specific
testing requirement.
16
authentication, account handling, admin module, contact module, customer Management,Email
Reminder,task provider, meetings and calendar. Then each scenario tested individually and outputs are
verified. Likewise we can test each and every functionality. This testing needs each module runs
independently.
Sub module such as Add account,edit account, view contacts, view tasks and meetings. These test
cases are executed when test scenarios for the major module get executed. This testing approach is helpful
to find bugs involved in any particular module easily and quickly.
When customer logged in the application, there should validate their email id.
17
The mail will be send to the registered user if they need to know about the offer details.
Try to insert already inserted field or row, error message will be shown.
There may have a chance to enter invalid data instead of number, it shows a message.
The system should trigger a constraint for the date, which has date format like DD-MM-
YY.
While pressing button without selecting list of options from the views, it shows an error
Test Objective
Test Data
Expected
Result
Actual Result
Test Result
TC_001
Check User
name
Demo
Accept
Accept
Pass
TC_002
Check User
name
Demo
Show error
Show error
(Invalid username)
Failed
TC_003
Check User
name
Demo12
Show error
Show error
(Invalid username)
Failed
TC_004
Check User
name
NULL
Show error
Show error
(Enter user name)
Failed
TC_005
Check
Password
NULL
Show error
Show error
(Enter password)
Failed
TC_006
Check
password
*****(correct
password match for
user name)
Successfully
login
Successfully login
Pass
TC_007
Item name
Select from
Accepts
Accepts
Pass
18
Dropdown
TC_008
Item name
NULL
Show error
Show error
Failed
TC_009
Select Store
Accept
Accept
Pass
TC_010
Select Store
NULL
Show error
Show error
Failed
TC_011
Tax Form
Accept
Accept
Pass
TC_012
Tax Form
NULL
Show error
Show error
Failed
TC_013
Save
Accept
Saved
Successfully
Pass
TC_014
Save
Show error
Show error
Failed
CHAPTER 5
SYSTEM IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned into
working system. This is the most crucial stage in achieving a new successful system and in
giving confidence of the new system for the users that it will work efficiently. Implementation of
software refers to the final installation of the package in its real environment, to the satisfaction
of the intended users and the operations of the system. In many organizations someone who will
not be operating it, will commission the software development project. The people who are not
sure that the software is meant to make their job easier. In the initial stage they doubt their
software but we have to ensure that the resistance does not build up as
The active user must be aware of the benefits of using the system.
Their confidence in the software is build up.
19
Coding starts immediately after design phase. Coding is the conversion of the abstract designs to
clear-cut programs, which confirms the user specification. Using the code design rules the code
is implemented.
CHAPTER 6
CONCLUSION & FUTURE ENHANCEMENT
6.1 CONCLUSION
The customer relation management system manages all the record of the company in the
systematic manner. The admin can add, update, delete accounts and records in the database and
status of the company such as calls and meetings are viewed easily for particular days by
calendar. This system is highly interactive and user friendly .Report generation satisfies the user
requirements to the maximum extent possible. The system provides accurate data updating, data
validation, and integrity.
The system has been designed and developed according to the current requirements of the
user, which may subject to the changes in the near future. The system can be upgraded all
modifications can be incorporated in a flexible manner so as to reflect the new requirements.
20
The customer can easily know about the shares provided by the company.A forum can
be created so that the customer can discuss their queries about the shares with the
company members.
APPENDICES
A. SAMPLE CODE:
using MixERP.Net.ApplicationState.Cache;
using MixERP.Net.Common;
using MixERP.Net.Common.Helpers;
using MixERP.Net.Entities.Office;
using MixERP.Net.FrontEnd.Data.Helpers;
using MixERP.Net.FrontEnd.Data.Office;
using MixERP.Net.i18n;
using MixERP.Net.i18n.Resources;
using Serilog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace MixERP.Net.FrontEnd
{
public partial class SignIn : Page
21
{
protected void Page_Init(object sender, EventArgs e)
{
using (HtmlLink stylesheet = new HtmlLink())
{
string path = "";
if (CultureManager.IsRtl())
{
path = path.Replace("css", "");
}
stylesheet.Href = path;
stylesheet.Attributes["rel"] = "stylesheet";
stylesheet.Attributes["type"] = "text/css";
stylesheet.Attributes["media"] = "all";
this.Page.Header.Controls.Add(stylesheet);
}
this.CreateControls(this.Placeholder1);
this.CreateDimmer(this.Placeholder1);
this.AddJavascript();
}
protected void Page_Load(object sender, EventArgs e)
{
this.CheckDbConnectivity();
PageUtility.CheckInvalidAttempts(this.Page);
if (this.branchSelect.Items.Count.Equals(0))
{
this.Response.Redirect("~/Installation/Default.aspx");
}
if (!this.IsPostBack)
{
if (this.User.Identity.IsAuthenticated)
{
long globalLoginId = Conversion.TryCastLong(this.User.Identity.Name);
if (globalLoginId > 0)
{
AppUsers.SetCurrentLogin();
this.RedirectToDashboard();
}
}
22
}
}
private void BindCompanies()
{
string catalogs = ConfigurationHelper.GetDbServerParameter("Catalogs");
string defaultCatalog = AppUsers.GetCurrentUserDB();
if (!string.IsNullOrWhiteSpace(catalogs))
{
List<string> list = catalogs.Split(',').Select(p => p.Trim()).ToList();
this.companySelect.DataSource = list;
this.companySelect.DataBind();
this.companySelect.SelectedValue = defaultCatalog;
}
}
private void BindBranches()
{
try
{
this.BindBranchDropDownList();
}
catch
{
//Could not bind the branch office dropdownlist.
//The target database does not contain mixerp schema.
//Swallow the exception
//and redirect to application offline page.
this.RedirectToOfflinePage();
}
}
private void BindBranchDropDownList()
{
IEnumerable<DbGetOfficesResult> offices =
Offices.GetOffices(AppUsers.GetCurrentUserDB());
this.branchSelect.DataSource = offices;
this.branchSelect.DataBind();
}
private void CheckDbConnectivity()
{
23
24
{
this.Dispose(true);
GC.SuppressFinalize(this);
base.Dispose();
}
}
protected virtual void Dispose(bool disposing)
{
if (!disposing)
{
return;
}
if (this.branchSelect != null)
{
this.branchSelect.Dispose();
this.branchSelect = null;
}
if (this.companySelect != null)
{
this.companySelect.Dispose();
this.companySelect = null;
}
this.disposed = true;
}
#endregion
#region Controls
private void CreateDimmer(Control container)
{
using (HtmlGenericControl pageDimmer = new HtmlGenericControl("div"))
{
pageDimmer.Attributes.Add("class", "ui page dimmer");
using (HtmlGenericControl content = new HtmlGenericControl("div"))
{
content.Attributes.Add("class", "content");
using (HtmlGenericControl center = new HtmlGenericControl("div"))
{
center.Attributes.Add("class", "center");
25
26
container.Controls.Add(signInForm);
}
}
#region Form
27
{
field.Attributes.Add("class", "field");
using (HtmlGenericControl toggleCheckBox = new HtmlGenericControl("div"))
{
toggleCheckBox.Attributes.Add("class", "ui toggle checkbox");
using (HtmlInputCheckBox rememberInputCheckBox = new
HtmlInputCheckBox())
{
rememberInputCheckBox.ID = "RememberInputCheckBox";
toggleCheckBox.Controls.Add(rememberInputCheckBox);
}
using (HtmlGenericControl label =
HtmlControlHelper.GetLabel(Titles.RememberMe))
{
toggleCheckBox.Controls.Add(label);
}
field.Controls.Add(toggleCheckBox);
}
container.Controls.Add(field);
}
}
private static void AddSignInButtonField(HtmlGenericControl container)
{
using (HtmlGenericControl field = new HtmlGenericControl("div"))
{
field.Attributes.Add("class", "field");
using (HtmlInputButton signInButton = new HtmlInputButton())
{
signInButton.ID = "SignInButton";
signInButton.Value = Titles.SignIn;
signInButton.Attributes.Add("title", "CRTL + RETURN");
signInButton.Attributes.Add("class", "ui teal button");
field.Controls.Add(signInButton);
}
container.Controls.Add(field);
28
}
}
private static void AddUserIdField(HtmlGenericControl container)
{
using (HtmlGenericControl field = new HtmlGenericControl("div"))
{
field.Attributes.Add("class", "field");
using (HtmlGenericControl label = HtmlControlHelper.GetLabel(Titles.UserId,
"UsernameInputText"))
{
field.Controls.Add(label);
}
using (HtmlInputText usernameInputText = new HtmlInputText())
{
usernameInputText.ID = "UsernameInputText";
usernameInputText.Attributes.Add("placeholder", Titles.UserId);
usernameInputText.Attributes.Add("autocapitalize", "off");
usernameInputText.Attributes.Add("autocorrect", "off");
field.Controls.Add(usernameInputText);
container.Controls.Add(field);
}
}
}
private void CreateForm(HtmlGenericControl container)
{
using (HtmlGenericControl form = new HtmlGenericControl("div"))
{
form.Attributes.Add("class", "ui form segment");
form.Attributes.Add("style", "padding:24px 48px;");
CreateHeader(form);
AddUserIdField(form);
AddPasswordField(form);
AddRememberMeField(form);
AddExceptionField(form);
AddSignInButtonField(form);
container.Controls.Add(form);
}
}
29
30
B SCREENSHOTS
LOGIN PAGE:
31
DIRECTSALE:
32
33
34
35
36
Purchase Order:
37
38
39
StoreType Page:
40
41
REFERENCES
BOOKS
Beginning ASP.NET 4: in C# and VB, by ImarSpaanjaars.
Professional ASP.NET 4 in C# and VB, by Bill Evjen,
Scott Hanselman, Devin Rader.
jQuery for ASP.NET Developers, by Joe Brinkman.
WEBSITES
http://w3.school.com/asp.net
http://w3.school.com/c#.net
42
http://www.asp.net/web-forms
https://www.sugarcrm.com
https://msdn.microsoft.com/en-us/library/gg328261.aspx