sunlight documentation

23
SUNLIGHT MANAGEMENT SYSTEM 2 nd SEMESTER IPROJECT DEVELOPED AND DESIGNED BY: Shehzad Mohammad Iftikhar Ahmed SYED MINHAL RAZA Warner Noel John Sajjad Sadiq Owais Liaquat

Upload: shehzad-yaqoob

Post on 07-Aug-2015

58 views

Category:

Software


1 download

TRANSCRIPT

SUNLIGHT MANAGEMENT SYSTEM

2 nd SEMESTER IPROJECT

DEVELOPED AND DESIGNED BY:

Shehzad

Mohammad Iftikhar Ahmed

SYED MINHAL RAZA

Warner Noel John

Sajjad Sadiq

Owais Liaquat

SUNLIGHT MANAGEMENT SYSTEM

TABLE OF CONTENTS

1. Certificate Of Completion..................................................................................................3

2. Introduction .............................................................................................................................4

3. Preface ....................................................................................................................................5

4. Problem Statement...................................................................................................................6

5. User Guide ..............................................................................................................................8

6. Screenshots..............................................................................................................................9

7. Task Sheet..............................................................................................................................12

8. ER-Diagrams............................................................................................................................13

SUNLIGHT MANAGEMENT SYSTEM

CERTIFICATE OF COMPLETION

This is to certify Shehzad , Mohammad Iftikhar , Warner Noel John,

Syed Minhal Raza, Sajjad Sadiq,Owais Liaquat have successfully completed the design and development of Sunlight Inventory Management

System and submitted to APTECH.

THANK YOU.

Date: _______________

Signature: ____________

SUNLIGHT MANAGEMENT SYSTEM

Introduction

The thirst for learning, upgrading technical skills and applying the concepts in real life environment at a fast pace is what the industry demands from IT professionals today. However busy work schedules, far-flung locations, and unavailability of convenient time-slots pose as major barriers when it comes to applying the concepts into realism. And hence the need to look out for alternative means of implementation in the form of laddered approach.

The above truly pose as constraints especially for our students too! With their busy schedules, it is indeed difficult for our students to keep up with the genuine and constant need for integrated application which can be seen live especially so in the field of IT education where technology can change on the spur of a moment. Well, technology does come to our rescue at such times!!

Keeping the above in mind and in tune with our constant endeavour to use Technology in our training model, we at Aptech have thought of revolutionizing the way our students learn and implement the concepts using tools themselves by providing a live and synchronous IProjects learning environment!

So what is this IProjects?

IProjects is a step by step learning environment that closely simulates the classroom and Lab based learning environment into actual implementation. It is a project implementation at your fingertips!! An electronic, live juncture on the machine that allows you to

Practice step by step i.e. laddered approach. Build a larger more robust application. Usage of certain utilities in applications designed by user. Single program to unified code leading to a complete application. Learn implementation of concepts in a phased manner. Enhance skills and add value. Work on real life projects. Give a real life scenario and help to create applications more complicated and useful. Mentoring through email support.

How do we start accessing the Sample IProjects?

The students at the centre are expected to complete this IProjects and send complete documentation with source code within the time allotted [email protected] Looking forward to a positive response from your end!!

SUNLIGHT MANAGEMENT SYSTEM

PREFACE

We start with the name of Allah, the most beneficent and the most merciful who gave us eligibility to complete this project.

We are very grateful to our respected Teachers, who contributed with us for the completion of this project. First of all, we would like to thanks our respected Teacher SIR ASHAR of Aptech for his expert advice.

Moreover, we would like to thanks all the teachers of Aptech and our classmates for their kind appreciation and moral support.

We would like to express our deepest gratitude to our parents and well wishers whose prayers and motivation enabled us to turn our dream into reality. Special thanks to our parents who supported us day and night for our project. Finally our sincere thanks to our teacher SIR ASHAR for all their assistance, help and support in making a document into reality of a Sunlight Inventory Management.

SUNLIGHT MANAGEMENT SYSTEM

PROBLEM DEFINITION

Actually maintaining appropriate inventory levels is crucial, as too much inventory can be costly. They cannot control and balance the flow of incoming and outgoing merchandise. If a customer comes to a business to purchase a product and it is out of stock, the sale is lost forever and the customer will probably go to a competitor to find what they need.

CUSTOMER REQUIRMENT SPECIFICATION

Now SUNLIGHT General Store want incorporate a desktop application where they can maintain the records of the purchases, stock and sales along with the details of the products. The salesman can now sale the goods and general items by directly going to the Counter Sale frame. They want the application to be linked with the database, so that whatever details are entered like the details of the products, purchases and sales can be viewed by the respective owners.

Firstly they want a Product Purchase Frame where the details of the product which is purchased should be entered after purchasing the product.

Example details of the Purchase Frame are as follows1) Date Of Purchase2) Product Name3) Product Qty4) Product Cost Price5) Product Retail Price

Make the required database table for the purchases in the systematic order with following the table normalization rules.

SUNLIGHT MANAGEMENT SYSTEM

After the purchases have been made that purchased products will insert into the purchase table and will also added into the Stock table. Stock is the available products in the general store with the quantity. For example Tapal Tea 500 Mg is available in stock and its Quantity is 200. Hence stock must be updated automatically after every purchases and every sales. And make sure that no one cannot directly delete, update or insert in the stock. Stock table can only be show.

Now they want a Counter Sale Frame where a salesman can make a sale of the available products in the stock. When the customer ordered their required products, all the details of these products would be entered by the salesman into the Counter Sale Frame. After this the gross amount will be generate automatically and after deducting discount net total will be shown on this frame. On Submitting the data by clicking the “Sale Done” button the data must be inserted into the sales table as well as its quantity should also be deducted from the stock table.

Now most important of all, they have a requirement of soft copy reports which are as follows.

1) Daily Sales Report.2) Updated Stock Report.3) Daily Purchases Report.4) Custom Date Sales Report.5) Custom Date Purchases Report.

The last Requirement is Profit/Loss Frame. A figure will be shown in the frame if it is in positive integer the profit will be consider else if it is in negative that will be a loss.

HARDWARE REQUIREMENTS

1. A minimum computer system that will help you access all the tools in the courses is a Pentium 166 or better

2. 64 Megabytes of RAM or better3. Windows 98 (or higher if possible)

Java Virtual Machine

SOFTWARE REQUIREMENTS

Net Beans (latest version). SQL Server. JDBC Driver.

SUNLIGHT MANAGEMENT SYSTEM

USER GUIDE

No. Items Description

1 Operating System Window 98,2000,XP etc

2 Main processor Minimum 166 or better

3 Ram (Memory) Minimum 64 or better

4 Software Net beans 7.1.2/ SQL Server 2008 R2

System Requirement:

Copy & Run Application:

Step 1: Copy SUNLIGHTS folder on your hard disk.

Step 2: Attach Database

Step 3: Make JDBC Connection Named “suncon”

Step 4: Open Project in Net beans and Run

Step 5: Create a folder “temp” in C drive.

There are 2 users of Login Panel1: USERNAME: admin PASSWORD: 123

2: USERNAME: user PASSWORD: 123

SUNLIGHT MANAGEMENT SYSTEM

Importing Of JasperReport:

SUNLIGHT MANAGEMENT SYSTEM

Setting the Path:

SUNLIGHT MANAGEMENT SYSTEM

SNAP SHOTS

Login Panel

SUNLIGHT MANAGEMENT SYSTEM

Main Window

SUNLIGHT MANAGEMENT SYSTEM

Counter Sale Form

SUNLIGHT MANAGEMENT SYSTEM

SQL QUERIES

SUNLIGHT MANAGEMENT SYSTEM

TASK SHEET

07-05-2015 Analysis the details and requirements

10-05-2015 Working on GUI

16-05-2015 Implementing database

19-03-2015 Managing the restrictions and validations

23-05-2015 Handling some issues with database

24-03-2015 Implements the searching options

28-05-2015 Work on loss/profit of sales

30-05-2015 Working on Reporting

SUNLIGHT MANAGEMENT SYSTEM

FLOW CHART

START

ADMIN LOGIN

USER LOGIN

OR

YES

NO LOGOUT

MAIN WINDOW

PURCHASE STOCK

SALES REPORT

PROFIT & LOSS

UPDATE

COUNTER SALE

LOGOUT

SUNLIGHT MANAGEMENT SYSTEM

ER DIAGRAM

THE END