Professional Documents
Culture Documents
SYSTEM
Project Report
September 2009
TABLE OF CONTENTS
1. Introduction..........................................................3
2. OBJECTIVES..........................................................3
2.1 REQUIREMENTS.................................................................................................................................3
3. Tools and Environment Used................................4
4. DETAILS OF THE PROJECT.....................................4
4.1 Functional Hierarchy.............................................................................................................................5
4.2 Module Details.......................................................................................................................................5
4.3 INPUT/OUTPUT/PROCESSING LOGIC............................................................................................9
4.4 Data Flow diagram [DFD]...................................................................................................................11
4.5 ER diagram..........................................................................................................................................14
4.6 Screen Shots.........................................................................................................................................15
4.7 Data base Details..................................................................................................................................30
5. LIMITATIONS.......................................................42
6. SCOPE OF THE FUTURE APPLICATION.................43
7. Bibliography.......................................................43
8. Glossary..............................................................43
1. INTRODUCTION
This project is aimed at developing the system for the furniture shop
owners who can “efficiently” manage the business. This project is
aimed at providing the required information from the available data for
the shop owners to make the informed decisions and utilize the
constrained resources in the best possible ways.
2. OBJECTIVES
2.1 REQUIREMENTS
1) To have the facility to track the total inventory in the shop. This
acquires utmost importance since the “inventory” in the shop
should neither be too low or too high. It should be managed at
“optimum” level. The system should assist in this direction to
maintain the “right/optimum” level of inventory. This information
assists in effective “supply chain management”.
2) To have the facility to track the purchase order and GRN [Goods
Received Notes]
3) To track the repair details of the furniture. The repair could take
place either in or outside warranty period. This information will
assist the shop owner to keep track of nature and number of
such defects and take suitable actions for the future.
1) This system is meant for retail outlets which are not part of any
chain and exists as independent shops
1) Functional hierarchy
2) Module details
3) Input /Output/Processing logic
4) Data Flow Diagram [DFD]
5) ER Diagram
6) Screen Shots
7) Data base design
Figure 1
Module Name:
shop.
Customer Master:
Add, Modify and delete operations are possible for the customer
records.
This is for the maintenance of various product types. For example: Cot,
Sofa would fall into this category.
Add, Modify and delete operations are possible for the product type
master. Though it is very unlikely that deletion of product type will be
required.
Product Master
This is for the maintenance of various product code for the given
product type. This module helps to capture various categories of a
particular product type.
Add, Modify and delete operations are possible for the product master.
Employee Master
Currently this module design has been kept very simple. The “role” of
the user or employee is not captured which can be used for
“permission” handling.
Add, Modify and delete operations are possible on the employee data.
Module Name:
This module will enable the user of the system to handle the purchases
of the furniture from the supplier.
The user with the help of the stock report can determine whether there
is sufficient stock of the furniture in the shop. If there is any need, then
1) In case the supplier is new one, add the supplier details to the
system. This is to update the supplier master which can be used
for further communications.
4) User to verify the GRN with the purchase order and release the
payment accordingly.
Module Name:
Module Name:
Repair module
Module Description:
This module assists the user to track the furniture which comes to the
outlet for the repair. It may be possible that few furniture may have
some warranty period and some kind of damages can be covered
within the warranty period.
This module provides both the option of handling repair within and
outside the warranty period.
The details of product Id, quantity and customer details are captured
here.
Module Name:
Reports Module
Module Description:
With the help of table details furnished, one can customize or develop
any new reports. The formatting for the report can be carried either
using SQL itself or using tools like Crystal Reports
This section captures the input, output and processing logic details for
few selected modules.
PROCESSING LOGIC:
Check if user id and
INPUT:
password is correct.
User id and
If validation is successful
Password
then access to the system is
allowed
OUTPUT:
Access to Main Menu
OUTPUT:
New customer record is
created
PROCESSING LOGIC:
INPUT:
Check if the stock is available
Customer Name
Order Date
Populate the price corresponding
Product Name
to the product name and quantity
Product Code
Calculate the total settlement
Order Quantity
Amount
VAT %
OUTPUT:
Level 0 DFD
Level 1 DFD
4.5 ER diagram
4.6.10Purchase Menu
4.6.12Reports menu
4.6.14Delivery Challan
The following section provides the details of the each of the tables
used in the project.
USE [master]
GO
/****** Object: Database [Furniture] Script Date: 09/29/2009 05:57:53 ******/
CREATE DATABASE [Furniture] ON PRIMARY
GO
ALTER DATABASE [Furniture] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [Furniture] SET READ_WRITE
GO
ALTER DATABASE [Furniture] SET RECOVERY SIMPLE
GO
ALTER DATABASE [Furniture] SET MULTI_USER
GO
ALTER DATABASE [Furniture] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [Furniture] SET DB_CHAINING OFF
4.7.2 Customer
USE [Furniture]
GO
/****** Object: Table [dbo].[Customers] Script Date: 09/29/2009
05:58:26 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Customers](
[Cust_ID] [int] IDENTITY(1,1) NOT NULL,
[CustomerName] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Address1] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Address2] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[City] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[State] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[PINCode] [int] NULL,
[ContactNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[EmailId] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
4.7.3 DC Items
USE [Furniture]
GO
4.7.4 DC Master
USE [Furniture]
GO
/****** Object: Table [dbo].[DC_Master] Script Date: 09/29/2009
05:59:36 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DC_Master](
[DCNo] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[DCDate] [datetime] NULL,
[Customer] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[DeliveredBy] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[SubTotal] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxPercent] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxAmount] [money] NULL,
[GrandTotal] [money] NULL,
[Remarks] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[GRN_Items] Script Date: 09/29/2009
06:00:33 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[GRN_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[GRNNo] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[OrderQty] [int] NULL,
[RecQty] [int] NULL
) ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[GRN_Master] Script Date: 09/29/2009
06:01:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[GRN_Master](
[GRNNo] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[GRNDate] [datetime] NULL,
[PONo] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[Supplier] [nvarchar](100) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Remarks] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[Invoice_Items] Script Date:
09/29/2009 06:01:32 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Invoice_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[InvoiceNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[ItemQty] [int] NULL,
[ItemPrice] [int] NULL,
[Amount] [int] NULL
) ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[Invoice_Master] Script Date:
09/29/2009 06:01:57 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Invoice_Master](
[InvoiceNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[InvoiceDate] [datetime] NULL,
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Customer] [nvarchar](100) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
USE [Furniture]
GO
/****** Object: Table [dbo].[NoWarrenty_Items] Script Date:
09/29/2009 06:03:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[NoWarrenty_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[ItemQty] [int] NULL,
[ItemPrice] [int] NULL,
[Amount] [int] NULL
) ON [PRIMARY]
4.7.11Order Items
USE [Furniture]
GO
/****** Object: Table [dbo].[Order_Items] Script Date: 09/29/2009
06:03:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Order_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[ItemQty] [int] NULL,
[ItemPrice] [int] NULL,
[Amount] [int] NULL
) ON [PRIMARY]
4.7.12Orders
USE [Furniture]
GO
/****** Object: Table [dbo].[Orders] Script Date: 09/29/2009
06:04:12 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Orders](
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[OrderDate] [datetime] NULL,
[Customer] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[SalesPerson] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[SubTotal] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxPercent] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxAmount] [money] NULL,
[GrandTotal] [money] NULL,
[Remarks] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
4.7.13PO Items
USE [Furniture]
GO
/****** Object: Table [dbo].[PO_Items] Script Date: 09/29/2009
06:04:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PO_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[ItemQty] [int] NULL,
[ItemPrice] [int] NULL,
[Amount] [int] NULL
) ON [PRIMARY]
4.7.14PO Master
USE [Furniture]
GO
/****** Object: Table [dbo].[PO_Master] Script Date: 09/29/2009
06:04:52 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[PO_Master](
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[OrderDate] [datetime] NULL,
[Supplier] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[SubTotal] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxPercent] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxAmount] [money] NULL,
[GrandTotal] [money] NULL,
[Remarks] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
4.7.15Product Master
USE [Furniture]
GO
/****** Object: Table [dbo].[Product_Master] Script Date:
09/29/2009 06:05:14 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Product_Master](
[ProductID] [int] IDENTITY(1,1) NOT NULL,
[Product_Name] [nvarchar](150) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product_Code] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
USE [Furniture]
GO
/****** Object: Table [dbo].[Product_TypeMaster] Script Date:
09/29/2009 06:05:36 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Product_TypeMaster](
[ProductTypeID] [int] IDENTITY(1,1) NOT NULL,
[Furniture_TypeName] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[RepairOrder_Master] Script Date:
09/29/2009 06:06:02 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[RepairOrder_Master](
[RepairOderID] [int] IDENTITY(1,1) NOT NULL
) ON [PRIMARY]
USE [Furniture]
GO
/****** Object: Table [dbo].[Supplier_Master] Script Date:
09/29/2009 06:06:33 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Supplier_Master](
[Supplier_ID] [int] IDENTITY(1,1) NOT NULL,
[SupplierName] [nvarchar](255) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Address1] [nvarchar](255) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Address2] [nvarchar](255) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[City] [nvarchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[State] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL,
[PINcode] [int] NULL,
[ContactNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[EMail] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL
) ON [PRIMARY]
4.7.19Warranty Items
USE [Furniture]
GO
/****** Object: Table [dbo].[Warrenty_Items] Script Date:
09/29/2009 06:07:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Warrenty_Items](
[ItemsID] [int] IDENTITY(1,1) NOT NULL,
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Product] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[ItemQty] [int] NULL,
4.7.20Warranty Repairs
USE [Furniture]
GO
/****** Object: Table [dbo].[WarrantyRepairs] Script Date:
09/29/2009 06:06:53 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[WarrantyRepairs](
[OrderNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[OrderDate] [datetime] NULL,
[InvoiceNo] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[Customer] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[SubTotal] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxPercent] [nvarchar](50) COLLATE
SQL_Latin1_General_CP1_CI_AS NULL,
[TaxAmount] [money] NULL,
[GrandTotal] [money] NULL,
[Remarks] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
5. LIMITATIONS
1) To create the profile for the users like ADMIN, General User etc.
7. BIBLIOGRAPHY
1) http://en.wikipedia.org/wiki/Data_flow_diagram
2) http://msdn.microsoft.com/en-us/sqlserver/default.aspx
8. GLOSSARY
GRN:
When the invoice is received, this is matched to the purchase order and GRN. Only if
the details on all the three match up, is the invoice paid.
Invoice: