Bata DBMS FINAL PROJECT

62
® Bata With you every step, every where Acknowledgement In the name of ALLAH who has created this universe and left it for MAN to explore the new horizons and to be concurred He has bestowed His master piece “MAN” with the greatest strength in the universe which is knowledge. With the help of this knowledge man is going higher and higher and is seeking for new destinations. This is knowledge which makes things easier and easier to be done. Same is the case with us, I with the help of such knowledge have been able to do such a job which was assigned to me and is regarding my final project of DATABASE MANAGEMENT SYSTEM . If ALLAH had not given me the power of knowledge, I could not be able to accomplish this task. Then I would like to remember His last messenger Hazrat Muhammad (SAW) who is the person through whom knowledge came to us, and who enlightened the world with His message and brought the human being out of darkness of ignorance to the light of knowledge. SYED AKIF QADRI

Transcript of Bata DBMS FINAL PROJECT

Page 1: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Acknowledgement

In the name of ALLAH who has created this universe and left it for

MAN to explore the new horizons and to be concurred He has

bestowed His master piece “MAN” with the greatest strength in the

universe which is knowledge. With the help of this knowledge man is

going higher and higher and is seeking for new destinations. This is

knowledge which makes things easier and easier to be done. Same

is the case with us, I with the help of such knowledge have been able

to do such a job which was assigned to me and is regarding my final

project of DATABASE MANAGEMENT SYSTEM. If ALLAH had not

given me the power of knowledge, I could not be able to accomplish

this task.

Then I would like to remember His last messenger Hazrat

Muhammad (SAW) who is the person through whom knowledge

came to us, and who enlightened the world with His message and

brought the human being out of darkness of ignorance to the light of

knowledge.

I would like to thank my parents who always encourage me at the

time when i became disappointed and it is fact that without their

untiring and selfless efforts i could never do this.

“At the end I would like to thank my respected teacher Prof SIR

MUBAHIR who did his best and worked hard for me so that i may get

some practical knowledge of the practical field. “

We pay our gratitude from the core of our heart to this great teacher

without his kind help and guideline; we could never been able to

complete this project.

SYED AKIF QADRI

Page 2: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Dedication

SYED AKIF QADRI

Page 3: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

We would like to dedicate our this effort to our respected teacher who is always very kind

, humble and courteous. He does not have only the good appearance but has a beautiful

heart as well. He in fact knows how to teach and how to be nice. According to our

opinion He follows the following quotation:

“It is very nice to be important,

But

It is more important to be nice.”

Bata Today:

Bata is one of the world’s widest reaching companies, with operations in 68 different countries. Bata companies strive to listen to the customers in their local markets and clearly identify their footwear needs, and then to provide products that exceed their customers’ expectations in terms of quality, style and value.

SYED AKIF QADRI

Page 4: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Bata operating companies are grouped into four business units based on similarities in markets and business issues. Each group benefits from synergies specific to their requirements, such as product development, sourcing and marketing support. Each business unit is entrepreneurial in nature, and can quickly adapt to changes in the marketplace and seize potential growth opportunities.

Bata has a worldwide reach, with operations across the 5 continents managed by 4Regional MBUs (Meaningful Business Units). Each Bata company listens to the local consumers and clearly identifies their footwear needs.

Җ Bata International serves customers in much of Asia, the Pacific and Africa through its 3,000 stores and many dealers. It is supervised from Singapore. Bata International operates shoe innovation centers in several countries as well as 30 factories to serve individual markets.

Җ Bata Europe is based in Paris and operates 500 stores offering fashionable footwear. The world-class shoe innovation center just outside of Venice supplies many of the exclusive lines found in Bata stores throughout Europe.

Җ Bata Latin America is based in Mexico City. Bata is the leading retailer of shoes in Latin America and the leading marketer of children's branded footwear.

Җ Bata Canada is based in Toronto from where 250 stores serve the Canadian market. Its chain of Athletes World’s and Nike Shops is the leading fashion source in Canada for young urban customers.

Bata Shoe organization (B.S.O.) is the largest manufacturer and marketer of footwear in the world. Its global business comprises of shoe factories, tanneries, engineering plants, quality control laboratories, product development and research centers. Bata distributes its products through approximately 6,300 retail outlets, 10,000 franchises and thousands of wholesale depots and dealers. More than 50,000 people are employed in producing and selling over 300 million pairs of shoes each year, primarily for the domestic markets in which B.S.O companies operate.Approximately 400,000 additional people and their families are engaged in the support services required by B.S.O. operations. Bata International Centre is located in Toronto, Canada. Mr. Tomas Bata, the founder of Bata Shoe Organization, initiated this worldwide operation in Zlin, Czechoslovakia, now known as the Czech Republic. The year 1994 marked the 100th founding anniversary of BATA. Over the years B.S.O.’s operation expanded across the entire globe and established itself as the world’s largest organization in footwear manufacturing and marketing Today Bata operates in 68 countries.

SYED AKIF QADRI

Page 5: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Human Recourse Department We chose human resource department for our project and this department perform different function in BATA Pakistan ltd some of them as follows.

SYED AKIF QADRI

HUMAN RESOURCES PLANNING

Forecasting Maintaining personnel

inventories Succession planning Modeling career paths

EMPLOYMENT

Recruitment Selection Testing Orientation

Page 6: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Organization chart

SYED AKIF QADRI

TRAINING & DEVELOPMENT

Devising programs: Hourly Workers Managerial Staff Primary Skills Training Advanced Skills

Training Promoting diversity

COMPENSATION

Administering: Incentive pay plans Job analysis Job evaluations Wage surveys Performance reviews

EMPLOYEE BENEFITS

Design of vacation & sick benefits program

Administering policy 401k plan Health insurance

SAFTEY

Ensuring OSHA compliance

Overseeing security Physical

Environment Conducting accident

investigations

CFOCFO(Chief Financial Officer)(Chief Financial Officer)

RetailRetail MarketingMarketing ManagerManager

Merchandising

ManagerManager

Costing &Costing & EfficiencyEfficiency ManagerManager

MISMIS ManageManage

rr

HR HR Manager

ExportExport ManagManag

erer

AreaArea ManageManage

rr

ShopShop ManagManag

erer

WholesalWholesalee

ServicesServices ManagerManager

AreaArea ManageManage

rr

MerchandisiMerchandisingng

OfficerOfficerDistributDistributoror

CostingCosting OfficerOfficer

PrograProgramm

OfficerOfficer

PlantPlant ManagManag

erer

Exp.Exp. SuprvisSuprvis

oror

Dept.Dept.

ManagManagerer

Managing DirectorManaging Director

Retail Service Manager

WholesaleManager

Page 7: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

DFD Of Hiring Process

SYED AKIF QADRI

Page 8: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

DFD of sales of shoes

SYED AKIF QADRI

Send CV to HR dept

HR dept

Verify CV & doc

D.B

Select Candidate for interview

Reject Candida

te

D.B

Call for Interview

Applicant

Applicant Interview

Team for Interview

Conduct Interview

Select Candida

te

D.B Reject Candida

te

Send Appointment Letter to

Candidate

1.1

2.1

3.23.1

4.1

5.1

6.1

7.1 7.2

8.1

Page 9: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

SYED AKIF QADRI

customer

Enter in store

1.1

Attend customer

Salesman

2.1

Customer select

designee

3.1

Size available Size not available

4.1 4.2

Sales man put shoes on cash

counter

5.1

Shop manager

Make cash recite and give

to customer

D.B

Up date data base

Paid cash and take shoes

6.1

7.1

Page 10: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity Models

1. Employee Bio data

2. Attendance

3. Salary

4. Advance

5. Sales

6. Purchase

7. Product

Entity: Employee Bio Data

SYED AKIF QADRI

Page 11: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Attribute:

Emp ID (Primary Key) Name Dept Hiring Date Job Address B-Salary E-mail Mobile# Phone# Qualification Experience

Entity: Attendance

Attribute:

Emp ID A-Date Day Time Type Name

Entity: Salary

SYED AKIF QADRI

Employee Bio Data

Name

Address

B-Salary

Mobile#

Phone#

E-mail

Dept

EMP ID

Job

Hire Date

Experience

Qualification

Composite Key

Attendance

Emp ID

Type

A-DateNam

e

Time

Day

Page 12: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Attribute:

Emp ID S-Date Basic Salary Tax Bonus Working Hours Net Salary

Entity: Advance

Attribute:

Emp ID A-Date Name Amount Purpose

Entity: SalesAttribute:

SYED AKIF QADRI

Salary

S-Date

Emp ID

Tax

Basic Salary

Bonus

Working Hours

Net Salary

Composite Key

Advance

A-Date

Emp ID

PurposeName

Amount

Composite Key

Composite Key

Page 13: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Article number Date Customer Name Time Price Size Quantity Sales Tax Discount Total Amount

Entity: Product:

Attribute: Article # (P.K) Category # Size Quantity Price Sales tax

Entity: PurchaseAttribute:

Product ID P-Date

SYED AKIF QADRI

Sales

DateArticle #

SizeDiscount

PriceQuantity

Total Amount

Customer Name

Time

Sales Tax

Article #

Category # Quantity

Product

Price

SizeSales Tax

Composite Key

Page 14: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Supplier Name Time Price Product Size Quantity Sales Tax Rent Discount Total Amount

Entity Relationship Diagram (ERD)

SYED AKIF QADRI

Sales

Purchase

Product

1:∞

1:∞

Employee Bio Data

Attendance

Salary

1:∞

1:∞

1:∞

Advance

Purchase

P-Date

Pro ID

PSizeDiscoun

t

Price

Quantity

Sales TaxTotal Amount

Supplier Name

Rent

Time

Page 15: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Normalization

Entity: Employee Bio DataAttribute:

Emp ID (F) Name (F) Dept (F) Hiring Date (F) Job (F) Address (M) B-Salary (F) E-mail (P) Mobile# (M) Phone# (M) Qualification (M)

SYED AKIF QADRI

Page 16: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Experience (M)

Entity: Attendance

Attribute:

Emp ID (F) A-Date (M) Day (M) Time (M) Type (P) Name (F)

SYED AKIF QADRI

Employee Bio Data1

Name

Address

B-Salary

Mobile#

Phone#

E-mail

Dept

Emp ID

Job

Hire Date

Experience

Qualification

Employee Bio Data2

Emp ID

Employee Bio Data3

Emp ID

1st NF

Emp ID

NameTime

2nd NF

A-DateType Day

3rd NF

Page 17: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity: Advance

Attribute:

Emp ID (F) A-Date (M) Name (F) Amount (M) Purpose (M)

Entity: Salary

Attribute:

Emp ID (F) S-Date (M) Basic Salary (F) Tax (M) Bonus (M) Working Hours (M) Net Salary (M)

SYED AKIF QADRI

1st NF

A-DateEmp

ID PurposeName

Amount

3rd NF

1ST NF

S-DateEmp ID

Tax

Basic Salary

Bonus

Working Hours

Net Salary

3rd NF

S-Date

Page 18: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity: Sales

Attribute:

Article # (F) Date (M) Customer Name (F) Time (M) Price (F) Size (M) Quantity (M) Sales Tax (F) Discount (P) Total Amount (M)

SYED AKIF QADRI

Page 19: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity: PurchaseAttribute:

Product ID (F) P-Date (M) Supplier Name (F) Time (M) Price (F) Product Size (M) Quantity (M) Sales Tax (F) Rent (M) Discount (P) Total Amount (F)

SYED AKIF QADRI

Discount

2nd NF

Date

QuantityTotal Amount

3rd NF

Time

1st NF

Article # Price

Sales Tax

Customer Name

Page 20: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity : Product:Attribute: Article # (F) Category # (F) Size (M) Quantity (M) Price (F) Sales tax (F)

SYED AKIF QADRI

P-DatePSize

QuantityRent

3rd NF

Time

Discount

2nd NF 1st NF

Pro ID Price

Sales TaxTotal Amount

Supplier Name

Article#

Category # Quantity

1st NF

Price Size

3rd NF

Sales tax

Page 21: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

ERD After Normalization

Entity: Employee Bio DataAttribute:

Emp ID (F) Name (F) Dept (F) Hiring Date (F) Job (F) Address (M) B-Salary (F) E-mail (P) Mobile# (M) Phone# (M) Qualification (M) Experience (M)

Entity: Attendance

SYED AKIF QADRI

1st NF

Name

B-Salary

Dept

Emp ID

Job

Hire Date

E-mail

2nd NF

Emp ID

Address

Mobile#

Phone#

Experience

Qualification

3rd NF

Emp ID

1:1

1:∞

Page 22: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Attribute:

Emp ID (F) A-Date (M) Day (M) Time (M) Type (P) Name (F)

Entity: Advance

Attribute:

Emp ID (F) A-Date (M) Name (F) Amount (M) Purpose (M)

Entity: SalaryAttribute:

SYED AKIF QADRI

1st NF

Emp ID

Name

2nd NF

Type Time A-Date Day

3rd NF

1:∞

1:1

A-Date

Purpose

1st NF

Emp ID

NameAmount

3rd NF1:∞

Page 23: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Emp ID (F) S-Date (M) Basic Salary (F) Tax (M) Bonus (M) Working Hours (M) Net Salary (M)

Entity: Sales

Attribute:

SYED AKIF QADRI

1ST NF

S-DateEmp ID

Tax

Basic Salary

Bonus

Working Hours

Net Salary

3rd NF

S-Date

1:∞

Page 24: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Article # (F) Date (M) Customer Name (F) Time (M) Price (F) Size (M) Quantity (M) Sales Tax (F) Discount (P) Total Amount (M)

Entity: PurchaseAttribute:

Product ID (F)

SYED AKIF QADRI

Discount

2nd NF

Date

QuantityTotal Amount

3rd NF

Time

1st NF

Article # Price

Sales Tax

Customer Name

1:∞

1:1

Page 25: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

P-Date (M) Supplier Name (F) Time (M) Price (F) Product Size (M) Quantity (M) Sales Tax (F) Rent (M) Discount (P) Total Amount (F)

Entity : Product:

Attribute:

SYED AKIF QADRI

Discount

2nd NF 1st NF

Pro ID Price

Sales TaxTotal Amount

Supplier Name

P-DatePSize

QuantityRent

3rd NF

Time

1:1

1:∞

Page 26: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Article # (F) Category # (F) Size (M) Quantity (M) Price (F) Sales tax (F)

SYED AKIF QADRI

Quantity

Article#

Category #

1st NF

Price Size

3rd NF

Sales tax

1:∞

Page 27: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Data Formation

Entity: Employee Bio Data

Sr# Attribute Type Size Key1 Emp ID Number 5 Primary Key

2 Name Char 20

3 Dept Char 10

4 Hiring Date Date

5 Job Char 10

6 Address Varchar 50

7 B-Salary Number 10

8 E-mail Varchar 50

9 Mobile# Varchar 15

10 Phone# Varchar 15

12 Qualification Char 30

13 Experience varchar 30

Entity: Attendance

SYED AKIF QADRI

Page 28: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Sr# Attribute Type Size Key1 Emp Number 5 Primary Key

2 Name Char 20

3 A-Day Date Composite key

4 Day char 15

5 Time varchar 8

6 Type Char 1

Entity: Advance

Sr # Attribute Type Size Key1 Emp Number 5 Primary Key

2 Name Char 20

3 A-Date Date Composite key

4 Amount NUMBER 8

5 Purpose varchar 20

Entity: Salary

Sr # Attribute Type Size Key1 Emp ID Number 5 Primary Key

2 S-Date Date

3 Basic Salary Number 5

4 Tax Number 5

5 Bonus Number 5

6 Working Hours Number 5

7 Net Salary Number 10

SYED AKIF QADRI

Page 29: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Entity: Sales

Sr # Attribute Type Size Key1 Article # Number 8 Primary Key

2 Customer Name cahr 20

3 Date date

4 Time VARCHAR 8

5 Price Number 5

6 Size Number 5

7 Quantity Number 5

8 Sales Tax Number 5

9 Discount Number 5

10 Total Amount Unmber 10

Entity: Product:

Sr# Attribute Type Size Key1 Article # Number 8 Primary Key

2 Category # Char 2

4 Quantity Number 15

5 Price number 5

6 Sales tax number 5

Entity: Purchase

SYED AKIF QADRI

Page 30: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Sr# Attribute Type Size Key1 Product ID Number 8 Primary Key

2 P-Date Date Composite key

3 Supplier Name Char 20 Composite key

4 Time Varchar 10 Composite key

5 Price Number 5

6 Product Size Number 2

7 Quantity Number 5

8 Sales Tax Number 5

9 Rent Number 5

10 Discount Number 5

12 Total Amount Number 10

Step # 10

Data Base Model (Oracle)

1: Employee Bio Data

SYED AKIF QADRI

Page 31: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

2: Advance

SYED AKIF QADRI

Page 32: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

3: Salary

4: Attendance

5:Product

SYED AKIF QADRI

Page 33: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

6: Sales

SYED AKIF QADRI

Page 34: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

7: Purchases

SYED AKIF QADRI

Page 35: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step # 11

SYED AKIF QADRI

Page 36: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Interface:These are some interfaces which I have designed Mail page:On this page we are create different buttons which is designed as if we click on button with the help of different cords the following form will be open.

2: Employee Basis Info: Employee’s basic info is recorded in this form.

SYED AKIF QADRI

Page 37: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

3: Attendance

SYED AKIF QADRI

Page 38: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

On tis form al record of attendance is kept.

4:Salary Sheet:

It contain all records of salary

SYED AKIF QADRI

Page 39: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

5: Advance

SYED AKIF QADRI

Page 40: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

6: SALES

SYED AKIF QADRI

Page 41: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

7:

PRODUCT

SYED AKIF QADRI

Page 42: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

8:PURCHASES

SYED AKIF QADRI

Page 43: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step #12

Database & interface connectivity(any 2 forms)

Step #1Right click on genral tool bar and select “components”

SYED AKIF QADRI

Page 44: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step # 2

Now we select Microsoft ADO Data Control 6.0(OLEDB) and then click on ok.

The window will close .

SYED AKIF QADRI

Page 45: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step #3

Select data control and draw on form

Right click on Data Control and select ADODC Properties

SYED AKIF QADRI

Page 46: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step # 4

Select this option and click on next

SYED AKIF QADRI

Page 47: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step# 5

Click on Build

SYED AKIF QADRI

Page 48: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Step #6

Now write “SCOTT” in user name

And “TIGER” in password

SYED AKIF QADRI

Page 49: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Click on “Allow Saving Password”

Click on “Test Connection”

A message show which is (Test Connection Succeeded) which mean your process is ok.

Step # 7

Select

Record Source option

Select :2 – addCmdTable” from command Type

Select table name which u create in “ORACLE” we are selecting

SYED AKIF QADRI

Page 50: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

“ADVANCE” in Table or Stored Procedure Name

SYED AKIF QADRI

Page 51: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

All the steps are same but now we select “ATTENDANCE” which is our 2nd page

SYED AKIF QADRI

Page 52: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

SYED AKIF QADRI

Page 53: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

SYED AKIF QADRI

Page 54: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

Net working model

SYED AKIF QADRI

Client # 1

Client # 1

Client # 1

Net working

HUB

LAND.B

LAN Server

D.B

D.B

D.B

D.B

LAND.B

Backup Server

Operational Server

Data Recovery Server

Replication Server

WAND.B

Main Wan Server

Back up

Server

Operational

Data Recovery

Page 55: Bata DBMS FINAL PROJECT

®

Bata With you every step, every where

SYED AKIF QADRI