+ All Categories
Home > Education > INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Date post: 07-Nov-2014
Category:
Upload: maheshkodit1
View: 777 times
Download: 1 times
Share this document with a friend
Description:
Sunila book shop in Ambalangoda still uses a conventional system for their transaction and inventory control. Even though the Book Shop runs in large scale, manual system gets the business down. - It requires more space, time, labour and stationery - It is Slow and less security. - It is difficult to update data and retrieve details This study shows that how systematic book sales and management is important to improve its quality by giving the chance for the customer to order books online
Popular Tags:
42
PANORAMA GROUP DATA BASE DEVELOPMENT PROJECT INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS
Transcript
Page 1: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

PANORAMA GROUP DATA BASE DEVELOPMENT PROJECT

INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Page 2: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

No Registration No Name1 MMW/13/B1/14 K.K.M.Kodithuwakku

2 SOF/13/B1/18 I.P.S.Siriwardana

3 SOF/13/B1/21 E.M.K.Udayakanthi

4 SOF/13/B1/27 H.G.S.K.Wijenayaka

5 SOF/13/B1/07 H.A.V.Nishshanka

6 SOF/13/B1/16 H.M.P.Renuka

Group members

Page 3: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Introduction

Requirements Analysis

Conceptual Database Design• EER diagram

• Mapping

• Integrity constraints

• Business rules

Logical Database Design• Choosing a DBMS and Relational schema

Schema Refinement • Normalization

Agenda

Page 4: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Physical Database Design• Workload Analysis • Creating tables

• Creating triggers• Creating indexes

• Creating views

Security Design• Creating user levels and privileges

References Q & A

Agenda cont..

Page 5: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Royal book shop in Ambalangoda still uses a conventional system for

their transaction and inventory control. Even though the Book Shop

runs in large scale, manual system gets the business down.

- It requires more space, time, labour and stationery

- It is Slow and less security.

- It is difficult to update data and retrieve details

This study shows that how systematic book sales and management is

important to improve its quality by giving the chance for the customer

to order books online.

Introduction

Page 6: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

REQUIREMENT ANALYSIS

Page 7: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

• Order books online

• Customer should be able to update the order

• Online payment methods.

• Various user levels and privileges.

• Online stock control

• Security levels and policies

Business Requirements

Page 8: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Order books online

Page 9: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Customer should be able to update order

Page 10: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Online payment methods

Page 11: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Various user levels and privileges

Page 12: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Online stock control.

Page 13: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

CONCEPTUAL DATABASE DESIGN

Page 14: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

E-ER Diagram

Page 15: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Business Rules

• Transactions can be done by the customers only

in Sri Lanka.

• 10%discount is given from total price for literary

month

• New entries are entered at the end of month.

• The payments should be made on the day that

order is placed.

Page 16: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Enti ti es Steps

Page 17: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

LOGICAL DATABASE DESIGN

Page 18: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Book (ISBN:CHAR(18), title:VARCHAR(60),

author:VARCHAR(45) ,price:FLOAT, noofbooks:INT(11),

category:VARCHAR(45))

Customer(CID:INT(11), name:VARCHAR(30), contactno:CHAR(13),

email:VARCHAR(30), city:VARCHAR(15),

loggpassword:VARCHAR(30), number:INT, street:VARCHAR(15))

BookCustomer(ISBN:VARCHAR(20), CID:INT(11))

Relati onal Schema

Page 19: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Order(OID:INT(11), quantity:INT, dateCreated:DATE,

bookName:VARCHAR(20), EmpID:INT(11))

Employee(EmpID:INT(11), name:VARCHAR(20))

Credit Card(paymentID:INT(11),CCN:CHAR(16),

name:VARCHAR(30), date:DATE, type:VARCHAR(45),

pinNumber:INT(16))

Paypal(paymentID:INT(11), email:VARCHAR(30),

password:VARCHAR(30))

Cid_Contactno(CID:INT(11), cont_No:CHAR(13))

Relati onal Schema cont…

Page 20: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

SCHEMA REFINEMENT

Page 21: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

PHYSICAL DATABASE DESIGN

Page 22: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Creating Tables

Page 23: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Workload AnalysisQuery/Function Affected

tableTable data

amount Affected attribute How often Index required or not

Delimiter$$If Char_ length(ISBN)!=14 thenSignal SQL state ‘1200’Set message.Text= ‘Invalid ISBN’;End ifEnd$$Delimiter

Book ISBN=14 ISBN High Yes (Based on Title, Author)

Delimiter$$If (Quantity)<10 thenSignal SQL state ‘1200’Set message.Text= ‘!!Alert BookOrder;End ifEnd$$Delimiter

BookOrder

10<decrement No_of_Books No

INSERT INTO Book VALUES(“ “) Book All the attributes in

the Book table One month Yes. Based on category

Page 24: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

UPDATE Book set price=“ ”Where

Book Price One month

Yes. Based on category

update price set `final_price` = `price` * (select ifnull(Quentity) from Product where .Order_ID= Order.Order_ID;

Book Order

varies

Price, Quantity, Total price

high No

Page 25: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Creating Triggers

To check ISBN

Page 26: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Creating Triggers cont…

For re order level

Page 27: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Creating Indexes

Page 28: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Creating Views

Page 29: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

SECURITY DESIGN

Page 30: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

User Privilege

Administrator (Manager)

All the privileges of the database

Employee 1(Clerk1) Select, View, insert and update the database

Employee 2 (Clerk2) View tables (book and customer tables)

User Access Control

Security policies

Page 31: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Security policies cont…

Page 32: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Sensitive Data and Secure connection

(Credit card Number, PIN and PayPal password )

Encrypt the password and PIN

Get SSL certificate for the web site

Crash Recovery

Take a dump file (backup) of the database Email policy Send a code to user’s email to verify the user’s mail account.

Security policies cont…

Page 33: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

SQL Injection Install Firewalls and intrusion detection mechanisms. Patch server database, programming language (php) and operating system (windows server 2008)

Third Party Connection In order to get the payment facility Our database should be connected to a third party. Data Governance

Security policies cont…

Page 34: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Referenceshttp://stackoverflow.com/questions

http://www.cs.duke.edu/csl/docs/mysql-refman/triggers.html

https://academy.oracle.com/oa-web-overview.html

https://www.mdgunasena.com

https://www.deweydecimal.com

Page 35: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Q & A

Page 36: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Thank you

Page 37: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Enti ti es

Mapping Regular Entities

Page 38: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Supertype/Subtype relationship

Credit Card disjoint Paypal

Page 39: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Binary Relationships

1:M Relationship

Page 40: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Binary Relationships cont…

Page 41: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

1:1 Relationship

Mapping Binary Relationships cont…

Page 42: INVENTRY CONTROL SYSTEM WITH ONLINE TRANSACTIONS

Mapping Binary Relationships cont…

M:N RelationshipBack


Recommended