Professional Documents
Culture Documents
INTRODUCTION
1.1 Overview
In any industry, some of the demands managers face is to be cost effective. In addition to
that, they are also faced with challenges such as to analyze costs and profits on a product or
consumer basis, to be flexible to face ever altering business requirements, and to be informed
of management decision making processes and changes in ways of doing business.
However some of the challenges holding managers back include the difficulty in attaining
accurate information, lack of applications that mimic existing business practices and bad
interfaces. When some challengers are holding a manager back, that is where Enterprise
Resource Planning (ERP) comes into play.
Over the years business applications have evolved from Management Information Systems
with no decision support to Corporate Information Systems which offer some decision
support to Enterprise Resource Planning. Enterprise Resource Planning is a software solution
that tackles the needs of an organization, taking into account the process view to meet an
organization's goals while incorporating all the functions of an organization.
Its purpose is to make easy the information flow between all business functions within the
boundaries of the organization and manage the organization's connections with its outside
stakeholders.
In a nutshell the Enterprise Resource Planning software tries to integrate all the different
departments and functions of an organization into a single computer system to serve the
various needs of these departments.
Page 1
The task at hand, of implementing one software program that looks after the needs of the
Finance Department together with the needs of the Human Resource Department and the
Warehouse, seems impossible. These different departments usually have an individual
software program that is optimized in the way each department works.
However, if installed correctly this integrated approach can be very cost effective for an
organization. With an integrated solution, different departments can easily share information
and communicate with another.
The following diagram illustrates the differences between non-integrated systems versus an
integrated system for enterprise resource planning.
But ERP combines them all together into a single, integrated software program that runs off
a single database so that the various departments can more easily share information and
communicate with each other.
That integrated approach can have a tremendous payback if Companies install the software
correctly. Take a customer order, for example. Typically, when a Customer places an order,
that order begins a mostly paper-based journey from one in-tray to another in- tray around
the company, often being keyed and re keyed into different departments computer system
along the way. All that lounging around in in-trays causes delays and lost orders, and all the
keying into different computer systems invites errors.
Meanwhile, no one in the company truly knows what the status of the order is at any given
point because there is no way for the finance department, for example, to get into the
warehouses computer system to see whether the item has been shipped on will have to call
the warehouse and ask them to check the status of the shipment. This can be a quite tedious
and frustrating experience. ERP replaces the old standalone computer systems in finance,
HR, manufacturing, and the warehouse, with a single unified software program divided into
software modules that roughly approximate the old standalone systems. Finance,
manufacturing and the warehouse all still get their own software, except now the software is
linked together so that someone in finance can look into the warehouse software to see if an
order has been shipped. Most vendors ERP software is flexible enough that you can install
Enterprise Resource Planning
Page 2
some modules without buying the whole package. Many companies, for example, will just
install the finance module or HR module and leave the rest of the functions for another day.
What Is ERP : ERP is an abbreviation for ENTERPRICE RESOURCE PLANNING and means,
the techniques and concept for integrated management of businesses as well as a
whole from the view point of the effective use of the management resources to
improve the efficiency of the enterprise management.
ERP integrates all business function into a single, integrated software program that
runs on a single DB so that the various department can more easily share information
and communicate with each other.
The integrated approach of ERP has tremendous power and potential in improving the
efficiency, productivity and competitiveness of the organization.
Page 3
Business Intelligence
One of the newer components of most modern midmarket ERP packages, BI shines a bright
light into the heart of a company's performance. In general, an ERP suite's analytics or BI
tools allow users to share and analyze the data that the ERP applications collect from across
the enterprise from a unified repository. The end result is more informed decision making by
everyone from executives to line managers to human-resources professionals to accountants.
A variety of automated reporting and analysis tools can help streamline operations, as well as
improve an organization's business performance. With greater control and visibility of data
across the enterprise, business leaders can better align the company's operations with its
overarching strategic goals.
Page 4
Financial Management
Of all the ERP modules, the financials applications tend to be the most frequently utilized.
Across the board, these include general ledger, accounts receivable and accounts payable,
billing, and fixed asset management. Because many midmarket companies deploy ERP to
support efforts at breaking into global markets, it is imperative that their ERP packages
support multiple currencies and languages.
The financial-management applications may also include tools for creating and adhering to
budgets, cash-flow management, expense management, risk management and tax
management.
Page 5
functionality for administering benefits, managing compensation, dealing with salary taxes,
recruiting new employees and planning workforce needs. Some also include self-service
tools for managers and employees.
Even though HCM is generally considered core ERP functionality, some vendors offer it as
an add-on module.
Manufacturing Operations
The manufacturing module is where much product differentiation happens, including
industry-specific functionality. In general, these applications are intended to make
manufacturing operations more efficient and simple. Most vendors support different modes
of manufacturing, include configurable product capabilities, perform different types of job
costing and offer a BOM (bill of materials) tool.
Applications often include PDM (Product Data Management), CRP (Capacity Requirements
Planning), MRP (Materials Requirements Planning), forecasting, MPS (Master Production
Scheduling), work-order management and shop-floor control.
Page 6
1.3 Platform
1.3.1 Information of ASP.NET
ASP.NET is more than the next version of Active Server Pages (ASP); it provides a unified
Web development model that includes the services necessary for developers to build
enterprise-class Web applications. While ASP.NET is largely syntax compatible with ASP, it
also provides a new programming model and infrastructure for more scalable and stable
applications that help provide greater protection. You can feel free to augment your existing
ASP applications by incrementally adding ASP.NET functionality to them.
ASP.NET is a compiled, .NET-based environment; you can author applications in any .NET
compatible language, including Visual Basic .NET, C#, and JScript .NET. Additionally, the
entire .NET Framework is available to any ASP.NET application. Developers can easily
access the benefits of these technologies, which include the managed common language
runtime environment, type safety, inheritance, and so on.
ASP.NET has been designed to work seamlessly with WYSIWYG HTML editors and other
programming tools, including Microsoft Visual Studio .NET. Not only does this make Web
development easier, but it also provides all the benefits that these tools have to offer,
including a GUI that developers can use to drop server controls onto a Web page and fully
integrated debugging support.
Developers can use Web Forms or XML Web services when creating an ASP.NET
application, or combine these in any way they see fit. Each is supported by the same
infrastructure that allows you to use authentication schemes, cache frequently used data, or
customize your application's configuration, to name only a few possibilities.
Web Forms allow you to build powerful forms-based Web pages. When building
these pages, you can use ASP.NET server controls to create common UI elements,
and program them for common tasks. These controls allow you to rapidly build a
Web Form out of reusable built-in or custom components, simplifying the code of a
Page 7
page. For more information, see Web Forms Pages. For information on how to
develop ASP.NET server controls, see Developing ASP.NET Server Controls.
An XML Web service provides the means to access server functionality remotely.
Using XML Web services, businesses can expose programmatic interfaces to their
data or business logic, which in turn can be obtained and manipulated by client and
server applications. XML Web services enable the exchange of data in client-server
or server-server scenarios, using standards like HTTP and XML messaging to move
data across firewalls. XML Web services are not tied to a particular component
technology or object-calling convention. As a result, programs written in any
language, using any component model, and running on any operating system can
access XML Web services. For more information, see XML Web Services Created
Using ASP.NET and XML Web Service Clients.
Each of these models can take full advantage of all ASP.NET features, as well as the power
of the .NET Framework and .NET Framework common language runtime. These features
and how you can use them are outlined as follows:
If you have ASP development skills, the new ASP.NET programming model will
seem very familiar to you. However, the ASP.NET object model has changed
significantly from ASP, making it more structured and object-oriented. Unfortunately
this means that ASP.NET is not fully backward compatible; almost all existing ASP
pages will have to be modified to some extent in order to run under ASP.NET. In
addition, major changes to Visual Basic .NET mean that existing ASP pages written
with Visual Basic Scripting Edition typically will not port directly to ASP.NET. In
most cases, though, the necessary changes will involve only a few lines of code. For
more information, see Migrating from ASP to ASP.NET.
ASP.NET provides a simple model that enables Web developers to write logic that
runs at the application level. Developers can write this code in the Global. sax text
Page 8
For advanced developers who want to use APIs as powerful as the ISAPI
programming interfaces that were included with previous versions of ASP, ASP.NET
offers the IHttpHandler and IHttpModule interfaces. Implementing the IHttpHandler
interface gives you a means of interacting with the low-level request and response
services of the IIS Web server and provides functionality much like ISAPI
extensions, but with a simpler programming model. Implementing the IHttpModule
interface allows you to include custom events that participate in every request made
to your application. For more information, see HTTP Runtime Support.
Writing custom debug statements to your Web page can help immensely in
troubleshooting your application's code. However, they can cause embarrassment if
they are not removed. The problem is that removing the debug statements from your
pages when your application is ready to be ported to a production server can require
significant effort. ASP.NET offers the TraceContext class, which allows you to write
Page 9
custom debug statements to your pages as you develop them. They appear only when
you have enabled tracing for a page or entire application. Enabling tracing also
appends details about a request to the page, or, if you so specify, to a custom trace
viewer that is stored in the root directory of your application. For more information,
see ASP.NET Trace.
The .NET Framework and ASP.NET provide default authorization and authentication
schemes for Web applications. You can easily remove, add to, or replace these
schemes, depending upon the needs of your application. For more information, see
Securing ASP.NET Web Applications.
ASP.NET configuration settings are stored in XML-based files, which are human
readable and writable. Each of your applications can have a distinct configuration file
and you can extend the configuration scheme to suit your requirements. For more
information, see ASP.NET Configuration.
Applications are said to be running side by side when they are installed on the same
computer but use different versions of the .NET Framework. To learn how to use
different versions of ASP.NET for separate applications on your server, see Side-bySide Support in ASP.NET.
IIS 6.0 uses a new process model called worker process isolation mode, which is
different from the process model used in previous versions of IIS. ASP.NET uses this
process model by default when running on Windows Server 2003. For information
about how to migrate ASP.NET process model settings to worker process isolation
mode, see IIS 6.0 Application Isolation Modes.
Page 10
Page 11
SQL Server 2005 introduced DMVs (Dynamic Management Views), which are specialized
views and functions that return server state information that can be used to monitor the health
of a server instance, diagnose problems, and tune performance.
SQL Server 2005 introduced Database Mirroring, but it was not fully supported until the first
Service Pack release (SP1). In the initial release (RTM) of SQL Server 2005, database
mirroring was available, but unsupported. In order to implement database mirroring in the
RTM version, you had to apply trace flag 1400 at startup. Database mirroring is a high
availability option that provides redundancy and failover capabilities at the database level.
Failover can be performed manually or can be configured for automatic failover. Automatic
failover requires a witness partner and an operating mode of synchronous (also known as
high-safety or full safety).
Page 12
Chapter 2:-
HISTORY OF ERP
system
<MRP-II>.
Page 13
Page 14
Page 15
Chapter 3:-
FEASIBILITY STUDY
The minimum requirement of effective and efficient working of the software are as
follow:
1. 133 MHZ processor or better.
2.
256 MB RAM
3.
4.
Page 16
Page 17
Chapter 4 :-
PROJECT OBJECTIVE
Page 18
With the right ERP system for your business, you can expect to benefit from:
Page 19
responsibilities. ERP systems are designed to empower people at every level of the
organisation by making information available to them so that they can make better decisions,
faster something that has become critical in the fast-paced business landscape of today.
Access to information outside of their own department also gives employees insight into how
their division affects the overall success of the business.
Page 20
Page 21
Chapter 5 :-
Requirement Specification
Page 22
Chapter 6 :-
DESIGN
6.1
6.2
Architecture Diagram
Page 23
Page 24
ARCHITECTURE DIAGRAM
Page 25
Page 26
Page 27
Chapter 7 :-
CODING
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
}
}
Page 28
Page 29
<td>
Address
</td>
<td>
<asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine
"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="*"
ControlToValidate="txtAddress"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
TIN NO
</td>
<td>
<asp:TextBox ID="txtTinno" runat="server"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ErrorMessage="*"
ControlToValidate="txtTinno"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Tel/Cell Number
Enterprise Resource Planning
Page 30
</td>
<td>
<asp:TextBox ID="txtTelno" runat="server"
MaxLength="50"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ErrorMessage="*"
ControlToValidate="txtTelno"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Email-ID
</td>
<td>
<asp:TextBox ID="txtEmailId" runat="server"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ErrorMessage="*"
ControlToValidate="txtEmailId"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
</td>
<td colspan="3">
Page 31
Page 32
OnRowCommand="GridView1_RowCommand">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField HeaderText="Name" DataField="Name" />
<asp:BoundField HeaderText="Address" DataField="Address" />
<asp:BoundField HeaderText="E-Mail Id" DataField="EmailId" />
<asp:BoundField HeaderText="Cell No" DataField="TelNo" />
<asp:TemplateField HeaderText="Command">
<ItemTemplate>
<asp:Button ID="btnEdit" runat="server" CssClass="btn" Text="Edit"
CommandName="EditR"
CommandArgument='<%# Eval("MasterID") %>' />
<asp:Button ID="btnDelete" runat="server" CssClass="btn" Text="Delete"
CommandName="DeleteR"
CommandArgument='<%# Eval("MasterID") %>' />
<cc1:ConfirmButtonExtender ID="btnDelete_ConfirmButtonExtender"
runat="server" ConfirmText="Are you sure, you want to proceed?"
Enabled="True" TargetControlID="btnDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333"
/>
</asp:GridView>
</asp:Content>
Enterprise Resource Planning
Page 33
Page 34
<style type="text/css">
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=60);
opacity: 0.60;
}
.updateProgress
{
border-width: 1px;
border-style: solid;
background-color: #FFFFFF;
position: absolute;
width: 130px;
height: 50px;
}
.updateProgressMessage
{
Enterprise Resource Planning
Page 35
margin: 3px;
font-family: Trebuchet MS;
font-size: small;
vertical-align: middle;
}
</style>
<link href="css/StyleSheet.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
Page 36
</script>
<div id="wrapper">
<div id="header">
<h1>
Accurate Enterprises(Inventory System)</h1>
<div id="welcome">
Date:
<asp:Literal ID="ltrlDate" runat="server"></asp:Literal>
| Welcome:
<asp:Literal ID="ltrlUserName" runat="server"></asp:Literal>
</div>
</div>
<div id="menu">
<asp:Menu ID="Menu2" runat="server" BackColor="#336699"
DynamicHorizontalOffset="2"
Font-Names="Verdana" Font-Size="Small" ForeColor="White"
Orientation="Horizontal"
StaticSubMenuIndent="15px">
<DynamicHoverStyle BackColor="#284E98" ForeColor="White" />
<DynamicMenuItemStyle BorderColor="#CCCCCC" BorderStyle="Dashed"
BorderWidth="1px"
ForeColor="#333333" HorizontalPadding="15px" VerticalPadding="3px" />
<DynamicMenuStyle BackColor="#B5C7DE" VerticalPadding="3px" />
<DynamicSelectedStyle BackColor="#507CD1" VerticalPadding="3px" />
<Items>
<asp:MenuItem NavigateUrl="~/home.aspx" Text="Home"
Value="Home"></asp:MenuItem>
<asp:MenuItem Text="Masters" Value="Masters">
<asp:MenuItem Text="Cylinder Master" Value="Cylinder Master"
NavigateUrl="~/cylinder-master.aspx">
Enterprise Resource Planning
Page 37
</asp:MenuItem>
<asp:MenuItem Text="Party Master" Value="Customer Master"
NavigateUrl="~/party-master.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Control Master" Value="Control Master"
NavigateUrl="~/control-master.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Tax Master" Value="Tax Master"
NavigateUrl="~/tax-master.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Change Password" Value="Change Password"
NavigateUrl="~/User-Master.aspx">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Transaction" Value="Transaction">
<asp:MenuItem Text="Inward Transaction" Value="Inward Transaction"
NavigateUrl="~/inward-transaction.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Outward Transaction" Value="Outward Transaction"
NavigateUrl="~/outward-transaction.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Print Invoice" Value="Print Invoice"
NavigateUrl="~/print-transaction.aspx">
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text="Reports" Value="Reports">
<asp:MenuItem Text="Cylinder Report" Value="Cylinder Report"
NavigateUrl="~/Cylinder-Blockage-Report.aspx">
</asp:MenuItem>
<asp:MenuItem NavigateUrl="~/report-current-status.aspx" Text="Current
Status" Value="Current Status">
Enterprise Resource Planning
Page 38
</asp:MenuItem>
<asp:MenuItem Text="Daily Sales Report" Value="Daily Sales Report"
NavigateUrl="~/daily-sales-report .aspx">
</asp:MenuItem>
<asp:MenuItem Text="Monthly Summary Report" Value="Monthly
Summary Report" NavigateUrl="~/Monthly-Summary-Report.aspx">
</asp:MenuItem>
<asp:MenuItem Text="Party wise Offtake Report" Value="Party wise Offtake
Report"
NavigateUrl="~/Partywise-offtake-report.aspx"></asp:MenuItem>
</asp:MenuItem>
Page 39
Loading ...</span>
</div>
</asp:Panel>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<div id="footer">
© Accurate Enterprises
</div>
</div>
<%--<div>
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="UpdatePanel1"
DisplayAfter="0">
<ProgressTemplate>
<asp:Panel ID="pnlPopup" runat="server" CssClass="updateProgress">
<div align="center" style="margin-top: 13px;">
<span class="updateProgressMessage">
<img src="images/6-1.gif" alt="Loading" />
Loading ...</span>
</div>
</asp:Panel>
<cc1:ModalPopupExtender ID="pnlPopup_ModalPopupExtender" runat="server"
BackgroundCssClass="modalBackground" DynamicServicePath=""
Enabled="True"
TargetControlID="pnlPopup" PopupControlID="UpdateProgress1">
</cc1:ModalPopupExtender>
</ProgressTemplate>
</asp:UpdateProgress>
Enterprise Resource Planning
Page 40
</div>--%>
</form>
</body>
</html>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true"
CodeFile="user-master.aspx.cs" Inherits="User_Master" Title="Accurate
Enterprises(User-Master Page)" %>
Page 41
ControlToValidate="txtUsername"
ValidationGroup="Update"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Password
</td>
<td>
<asp:TextBox ID="txtpassword" runat="server" TextMode="Password"
CssClass="txt "></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ErrorMessage="*"
ControlToValidate="txtpassword"
ValidationGroup="Update"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Confirm Password
</td>
<td>
<asp:TextBox ID="txtConfirmpassword" runat="server"
TextMode="Password" CssClass="txt "></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ErrorMessage="*"
Page 42
ControlToValidate="txtConfirmpassword"
ValidationGroup="Update"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Button ID="btnUpdate" runat="server" CssClass="btn "
Text="Update" OnClick="btnUpdate_Click"
ValidationGroup="Update" />
<asp:Button ID="btnCancel" runat="server" CssClass="btn"
Text="Cancel" OnClick="btnCancel_Click" />
</td>
<td>
</td>
</tr>
<tr>
<td colspan="3">
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="txtpassword"
ControlToValidate="txtConfirmpassword" Display="Dynamic"
ErrorMessage="Password & Confirm Password Do Not Match"
ValidationGroup="Update"></asp:CompareValidator>
</td>
</tr>
</table>
</asp:View>
<asp:View ID="View2" runat="server">
<div class="msg ">
Enterprise Resource Planning
Page 43
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using MasterDatasetTableAdapters;
public partial class User_Master : System.Web.UI.Page
{
UserMasterTableAdapter _adapter = new UserMasterTableAdapter();
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack )
{
MultiView1.SetActiveView(View1);
FillTextBoxes(Convert.ToInt32(Session["userID"]));
Enterprise Resource Planning
Page 44
}
}
protected void FillTextBoxes(int i)
{
MasterDataset.UserMasterRow dr = (MasterDataset.UserMasterRow
)_adapter.GetDataByUserID(i).Rows[0];
txtpassword.Text = dr.userpassword ;
txtUsername.Text = dr.username ;
try
{
_adapter.UpdateQuery(txtUsername.Text, txtpassword.Text,
Convert.ToInt32(Session["userID"]));
}
catch (Exception ex)
{
ltrlMsg.Text = ex.Message;
MultiView1.SetActiveView(View2);
return;
}
ltrlMsg.Text = "Record Updated Successfully";
MultiView1.SetActiveView(View2);
Page 45
}
protected void btnCancel_Click(object sender, EventArgs e)
{
Response.Redirect("user-master.aspx");
}
}
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true"
CodeFile="inward-transaction.aspx.cs" Inherits="InwordTransaction" Title="Mangesh
Auto Enterprises (Inword Transaction Page)" %>
Page 46
<tr>
<td>
Name
</td>
<td>
<asp:DropDownList ID="ddlSupplierName" CssClass="txt" runat="server"
DataSourceID="SqlDataSource1"
DataTextField="Name" DataValueField="partyID"
AppendDataBoundItems="true">
<asp:ListItem>Please Select</asp:ListItem>
</asp:DropDownList>
<cc1:ListSearchExtender ID="ddlSupplierName_ListSearchExtender"
runat="server"
Enabled="True" TargetControlID="ddlSupplierName">
</cc1:ListSearchExtender>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:wConstring %>"
SelectCommand="SELECT [partyID], [Name] FROM [PartyMaster] WHERE
([isSupplier] = @isSupplier)">
<SelectParameters>
<asp:Parameter DefaultValue="True" Name="isSupplier" Type="Boolean" />
</SelectParameters>
</asp:SqlDataSource>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="*"
ControlToValidate="ddlSupplierName" ValidationGroup="Submit"
InitialValue="Please Select"></asp:RequiredFieldValidator>
</td>
</tr>
Enterprise Resource Planning
Page 47
<tr>
<td>
Invoice No
</td>
<td>
<asp:TextBox ID="txtInvoiceNo" runat="server"
TextMode="SingleLine"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="*"
ControlToValidate="txtInvoiceNo"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
<cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
Enabled="True"
TargetControlID="txtInvoiceNo" ValidChars="0123456789">
</cc1:FilteredTextBoxExtender>
</td>
</tr>
<tr>
<td>
Invoice Date
</td>
<td>
<asp:TextBox ID="txtInvoiceDate" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="txtInvoiceDate_CalendarExtender" runat="server"
Enabled="True"
TargetControlID="txtInvoiceDate" CssClass="cal_Theme1">
</cc1:CalendarExtender>
</td>
<td>
Enterprise Resource Planning
Page 48
Page 49
</td>
</tr>
</table>
<hr />
<asp:MultiView ID="MultiView1" runat="server">
<asp:View ID="View1" runat="server">
<table class="tableCenter2">
<tr>
<th>
Cylinder No</th>
<th>
</th>
<th>
Cylinder Details</th>
<th>
Rate</th>
<th>
</th>
<th>
Quantity</th>
<th>
</th>
<th>
Total</th>
<th>
</th>
<th>
</th>
</tr>
Page 50
<tr>
<td>
<asp:DropDownList ID="ddlPartNo" runat="server"
AppendDataBoundItems="true"
CssClass="txt1" DataTextField="Partno"
DataValueField="PartID"
onselectedindexchanged="ddlPartNo_SelectedIndexChanged"
AutoPostBack="True">
<asp:ListItem>Please Select</asp:ListItem>
</asp:DropDownList>
<cc1:ListSearchExtender ID="ddlPartNo_ListSearchExtender" runat="server"
Enabled="True" TargetControlID="ddlPartNo">
</cc1:ListSearchExtender>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:wConstring %>"
Page 51
<td>
<asp:Literal ID="ltrlPartDetail" runat="server"></asp:Literal>
<asp:HiddenField ID="hdnVat" runat="server" />
</td>
<td>
<asp:TextBox ID="txtRate" runat="server" CssClass="txt1"></asp:TextBox>
<cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender3"
runat="server"
Enabled="True" TargetControlID="txtRate" ValidChars="0123456789.">
</cc1:FilteredTextBoxExtender>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"
ControlToValidate="txtRate" ErrorMessage="*"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
<td>
<asp:TextBox ID="txtQuantity" runat="server" CssClass="txt1"
onchange="return calculateTotal();"></asp:TextBox>
<cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2"
runat="server"
Enabled="True" TargetControlID="txtQuantity"
ValidChars="0123456789.">
</cc1:FilteredTextBoxExtender>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ControlToValidate="txtQuantity" ErrorMessage="*"
ValidationGroup="Submit"></asp:RequiredFieldValidator>
</td>
<td>
Enterprise Resource Planning
Page 52
</table>
</asp:View>
</asp:MultiView>
<div class="msg">
<asp:Literal ID="ltrlMsg" runat="server"></asp:Literal>
</div>
<hr />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4"
EnableModelValidation="True" ForeColor="#333333" GridLines="None"
Width="100%"
Enterprise Resource Planning
Page 53
OnRowCommand="GridView1_RowCommand">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField HeaderText="Name" DataField="Name" />
<asp:BoundField HeaderText="Cylinder No" DataField="partno" />
<asp:BoundField HeaderText="Invoice No" DataField="invoiceno" />
<asp:BoundField HeaderText="Invoice Date" DataField="invoicedate"
DataFormatString="{0:dd/MM/yyyy}" />
<asp:BoundField HeaderText="Total" DataField="total" />
<asp:TemplateField HeaderText="Command">
<ItemTemplate>
<asp:Button ID="btnDelete" runat="server" CssClass="btn" Text="Delete"
CommandName="DeleteR"
CommandArgument='<%# Eval("transactionID") %>' />
<cc1:ConfirmButtonExtender ID="btnDelete_ConfirmButtonExtender"
runat="server" ConfirmText="Are you sure, you want to proceed?"
Enabled="True" TargetControlID="btnDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333"
/>
</asp:GridView>
</asp:Content>
Page 54
Page 55
Chapter 8 :-
SCREEN SHOTS
LOGIN FORM
Page 56
Page 57
MASTER FORM
Page 58
Page 59
MONTHLY FORM
Page 60
Page 61
Chapter 9 :-
CONCLUSION
Page 62
Chapter 10 :-
BIBLIOGRAPY
References :
Websites :
http://www.SAP.com
http://www.wikipedia/ASP.NET.com
http://www.wikipedia/MySQLServer2005.com
Page 63