Escolar Documentos
Profissional Documentos
Cultura Documentos
2011/ 2012
BIT This dissertation is submitted in partial fulfilment of the requirement of the Degree of Bachelor of Information Technology (External) of the University of Colombo School of Computing
DECLARATION
I certify that this dissertation does not incorporate, without acknowledgement, any material previously submitted for a degree or diploma in any university and to the best of my knowledge and belief, it does not contain any material previously published or written by another person or myself except where due reference is made in the text. I also hereby give consent for my dissertation, if accepted, to be made available for photocopying and for interlibrary loans, and for the title and abstract to be made available to outside organizations. Signature of Candidate: . . . . . . . . . . . . . . . . . . . . . . . Name of Candidate: . . . . . . . . . . . . . . . . . . . . . . . . . . . Countersigned by: Signature of Supervisor(s)/Advisor(s): . . . . . . . . . . . . . . . . . . . . . Date:../.../.... Name(s) of Supervisor(s)/Advisor(s): . . . . . . . . . . . . . . . . . . . . . . . . . . . Date:../.../....
ABSTRACT
Sudharshi is a company which is an Institute. It was started in 1980. Sudharshi is a developing Institute in Weliveriya Town and had to manage number of transactions per day. They were managed all those works in manual file based approach. Consequently management faced problems like inaccuracy, delay of transactions, unavailability of stock details and etc. The solution collects all data and that data will be used for creating day end reports. As solution the system will generate operational and managerial reports, digitally printed bills for transactions and also facilitate for different level of users with customized functionalities. The system which manages stock and sales will create a centralized controllability. Not only that, this solution supports for tracking orders, transactions, employees, customers and suppliers too. System was developed for standalone environment. This windows based solution was developed using technologies such as Java, My SQL and i-reports mainly. Unified Modeling Language (UML) was used for analysis and design. And also solution was developed under Object Oriented Techniques. Final result of this project a standalone Inventory Control System has been design to fulfill the user and system requirements.
AKNOWLEDGEMENT
I take this opportunity to offer my gratitude to everyone who helped me and encouraged me to complete the project successfully. I would like to thank my client, Sudharshis management and staff who gave me the opportunity to develop this system for their company and for devoting their valuble time to provide me useful information. I am also thankful my supervisor Mr.Kasun Thilina for his guidance and encouragement throughout this project. I am especially thankful to Mr. Prasad Ekanayake for always caring about this project and motivating me to do it well. I am also wish to offer my gratitude to the University Of Colombo School Of Computing for giving me the priceless opportunity to apply the knowledge gained through this program. I dedicate this dissertation to my family for their great support and for being with me supply all the sources needed to complete this project.
TABLE OF CONTENTS
DECLARATION. ii ABSTRACT.iii ACKNOWLEDGEMENTS. iv TABLE OF CONTENTS.v LIST OF FIGURES vi LIST OF TABLES....vi LIST OF ACRONYMS...vii CHAPTER 1 INTRODUCTION... 1 1.1 1.2 1.3 1.4 1.5.1 1.5.2 1.6 1.7 BACKGROUND... 1 MOTIVATION.. 1 EXISTING SYSTEM 2 PROPOSED SYSTEM.. 2 SCOPE...3 OBJECTIVE.. 4 USER REQUIREMENTS.4 SYSTEM REQUREMENTS. 5
CHAPTER 2 ANALYSIS...7 2.1 2.2 2.3 2.4 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.6 DESCRIPTION OF CURRENT SYSTE...7 DISADVANTAGES OF EXISTING SYSTEM................7 STUDY OF SIMILAR SYSTEM...7 REQUIREMENT GATHERIING 8 REQUIREMENT GATHERING TECHNIQUES8 INTERVIEWING..8 OBSERVATION... 8 DOCUMENT ANALYSIS 8 PROTOTYPING 8 REQUIREMENT ANALYSIS.. 8
CHAPTER 3- DESIGN... 28 3.1 3.2 3.2.1 3.2.2 INTRODUCTION. 29 ALTERNATIVE SOLUTIONS 29 AVAILABLE ALTERNATES. 29 SELECTING A SOLUTION. 29
3.3 PROCESS MODEL. ..29 3.4 METHODOLOGY FOR THE PROPOSED SYSTEM.........30 3.4.1USECASE DIAGRAM 30 3.4.2 CLASS DIAGRAM.. 30 3.4.3 ENTITY RELATIONSHIP DIAGRAM..31 3.5 DATABASE DESIGN..34
LIST OF FIGURE
Fig 2.1: Use case diagram of Cashier9 Fig 2.2: Use case diagram of Receptionist... 10 Fig2.3 Use case diagram of Store Manager. 11 Fig2.4 Use case diagram of General Manager.. 11 Fig 3.1 Class Diagram.. 31 Fig 3.2 ER Notation-Entity31 Fig 3.3 ER Notation-Weak Entity.32 Fig 3.4 ER Notation-Key attributes32 Fig 3.5 ER Notation-Multi valued attribute... 32 Fig 3.6 ER Notation-Derived attribute.. 32 Fig 3.7 ER Notation-Relationships.33 Fig 3.8 ER diagram 33 Fig 3.9 Database Design34
LIST OF TABLES
Table 2.1: Login Use case.. 11 Table 2.2: View Product Information Use case. 12 Table 2.3: View Transaction Details Use case12 Table 2.4: Add Transaction Details Use case.12 Table 2.5: Edit Transaction Details Use case.........13 Table 2.6: Delete Transaction Details Use case.13 Table 2.7: Produce Day End Report Use case.. 13 Table 2.8: Produce Invoice Use case..14 Table 2.9: Add Customer Details Use case....14 Table 2.10: Delete Customer Details Use case..14 Table 2.11: Edit Customer Details Use case..15 Table 2.12: View Customer Details Use case15 Table 2.13: Make Order Use case.. 15 Table 2.14: Edit Order Details Use case 16 Table 2.15: View Stock Details Use case.. 16 Table 2.16: View Order Use case.. 16 Table 2.17: Cancel Orders Use case...17 Table 2.18: View Supplier Details Use case.. 17 Table 2.19: Add Supplier Details Use case....17 Table 2.20: Edit Supplier Details Use case 18 Table 2.21: Delete Supplier Details Use case 18 Table 2.22: Add New Product Details Use case 18 Table 2.23: Delete Product Details Use case. 19 Table 2.24: Edit Product Details Use case. 19 Table 2.25: Add Stock Details Use case 19 Table 2.26: Edit Stock Details Use case 20 Table 2.27: Delete Stock Details Use case 20 Table 2.28: Produce Stock Details Report Use case...20 Table 2.29: Add Employee Details Use case. 21 Table 2.30: Edit Employee Details Use case. 21 Table 2.31: Delete Employee Details Use case. 21 Table 2.32: View Employee Details Use case... 22
Table 2.33: Add Role Details Use case.22 Table 2.34: View Role Details Use case 22 Table 2.35: Edit Role Details Use case.. 23 Table 2.36: Delete Role Details Use case.. 23 Table 2.37: Produce Order Details Report Use case..23 Table 2.38: Produce Supplier Details Report Use case. 24 Table 2.39: Produce Products Details Report Use case. 24 Table 2.40: Produce Employee Details Report Use case...24
LIST OF ACRONYMS
BIT ER IT OS SQL UML Bachelor of Information Technology Entity Relationship Information Technology Operating System Structured Query Language Unified Modeling Language
CHAPTER 1 INTRODUCTION
CHAPTER 1 INTRODUCTION
1.1 BACKGROUND
2 Sudharshi is a company which is an Institute. It was started in 1980. Sudharshi is a developing Institute in Weliveriya Town and had to manage number of transactions per day. They were managed all those works in manual file based approach. Consequently management faced problems like inaccuracy, delay of transactions, unavailability of stock details and etc. The company is moving towards business market and it has slow down because of the lack of usage of modern IT techniques. This is the company introduction in brief.
2.1 MOTIVATION
Sudharshi already dont have computer system system will Introduce easy inventory control system. With the development of industry, Most of the companies in Sri Lanka are most standardized with computerized systems. Management needs reliable management system to create excitement and to make their business unique, relative to their nearby competitors. Therefore they must interact with reliable and effective management system which facilitates customer data management, supplier data management, product details management. The system will provide the above requirements successfully and it can be developed within lower budget and higher efficiency. The system will provide user-friendly and simple interface to the user. Then it will help them to provide a reliable, quick and effective service to their customers. and suggested Computer
Sudharshi manage its information & its business process by using hand written files, forms, bills letters & etc. Sudharshi had no any computer based information system, so that its hard to maintain in traditional file based system.
2.4.1
Day-To-Day transactions were handled through the system using minimum time. Available discount rates, balance of the transactions were displayed by this system. Produce Invoice An invoice was printed automatically after every transaction. Product details, amount, quantity, total value, discount & warranty periods were available on the invoice. Manage Product Details Product details were available to browse under brands. Manage Customer Details
Customer details were managed in easy way to browse. It can be done under different categories like name or city. Produce Reports Operational, Managerial and Strategic level reports were generated by this solution. Report interfaces were provided with controllers to customize them on users request. 2.4.2 OBJECTIVES Improving Security With the new system, every important detail like transaction details, company details were computerized and protected with passwords. Every user was provided with user name and password which logged them in to their user view. Improving Speed System offered an easy way to browse customer details and product details. Preparing invoice and printing them were automated and save much time than usual. Improving Simplicity Management could monitor the current situation in easy way. Product details were categorized in to an easy manner to browse. Bills were produced automatically after every transaction. Business Profit Quality and the speed increased the income. Overall business profit was increased with the system.
Main requirement of this system was to manage stock and sales in the organization. New system provided following functionalities.
Billing System Transaction Processing System Customer Data Management System Employee Data Management System Supplier Data Management System Product Detail Management System Report Generation System Detailed description will be available under use case descriptions.
CHAPTER 2 ANALYSIS
CHAPTER 2 ANALYSIS
2.1 DESCRIPTION OF CURRENT SYSTEM
Sudharshi has been managed their stock and sales in traditional file based system. They manage hand written bills, letters and forms for their day-to-day business process. They maintain their records in files. They do their all transactions in manually. Sudharshi has no computer based information system.
2.5.2 Observation Observation is the study of users in their natural habitats. By observing users an analyst can identify a current process flow of the company.
Fig 2.3 Use case diagram for General Manager More details about the use cases could be presented in use case descriptions. They provided a better way to include conditions, and flow of events. Following tables (Table2.1 2.40) includes more details about above use case diagrams. Table 2.1 Login Use case
Use Case Name Actor Overview Registered users can log in to the system Precondition User must register with the system, user should have user name & password Flow of Events Enter user details validate user details, Login to the system Post Condition Invalid user, print error message & rejected login Login Use case All Users
View detailed product information under categories Precondition User must log in to the system to do this event Flow of Events Select product category for detailed view Post Condition
Precondition Record must be selected before edit Flow of Events Change existing data & save them to the data base Post Condition Transaction details will be printed to a invoice New details will be available to other users
User must logged in to the system Flow of Events Enter transaction details, generate the report & print it Post Condition Transaction data will be available to other users
Edit existing records & save them to the database Post Condition Update the database
Table 2.12 View Customer Details Use case Table 2.13 Make Order Use case
UserCase Name in to the system Use must logged Flow of Events Actor Select stock & view that stock detail Overview
Post Condition request user can change customer orders When customer Print stock details Precondition Select order to make changes Flow of Events Select the record, make changes Post Condition Update the database
2.14 Edit Order Details Use case Table 2.15 View Stock Details Use case
Use Case Name Actor Overview User can view orders Precondition User must logged in to the system under authorized username Flow of Events Select order & view that order Post Condition View Order Use case Receptionist, General Manager
Use Case Name Actor Overview User can cancel orders that customer request Precondition
User should select the record that user want to cancel Flow of Events Select the record, verify the message & cancel record Post Condition Update the database
Table 2.16 View Orders Use case Table 2.17 Cancel Orders Use case
Use Case Name Actor Overview User can view the supplier details Precondition
User must logged in to the system under authorized user type Flow of Events Select the supplier & view that record Post Condition
Table 2.18 View Supplier Details Use case Table 2.19 Add Supplier Details Use case
Use Case Name Actor Overview Change existing supplier details Precondition Select record to make changes Flow of Events Select the record, make changes Post Condition Update the database Edit Supplier Details Use case Store Manager, General Manager
Use Case Name Actor Overview Insert details about new supplier Precondition User must logged in to the system under Flow of Events
Insert new supplier details in to data base & save it Post Condition New supplier data will be updated
Actor Overview Delete transaction details from the data base Precondition
General Manager
User must select one or more records to be deleted Flow of Events Select records, select delete command & delete record Post Condition Records will be Removed from the company database
Change existing product details Precondition Select record to make changes Flow of Events Select the record, make changes Post Condition Update the database
User must log in to the system & select one or more records to be deleted Flow of Events Select records, select delete command & delete record Post Condition Records will be Removed from the company database
Select the record, make changes Post Condition Update the database
Use Case Name Actor Overview Generate reports for order details Precondition
User must log in to the system & select the range of data Flow of Events Select order or orders & view details Post Condition Print report
CHAPTER 3 DESIGN
CHAPTER 3 DESIGN
3.1 INTRODUCTION
Designing is an important part of a software development project. Clear and steadfast design is adjustment for successful software project. Main activities carried out in the design stage of the project were to determine detailed requirements, design of information, database, user interface, and hardware and software configuration.
Class diagrams are most essential part of Object Oriented Analysis and Design. Class Diagram was collection of classes and interfaces, along with the collection and relationships among classes and interfaces. Following class diagram (fig 3.1) was created before implementing the solution.