0% found this document useful (0 votes)
12 views

Final Project Software

Uploaded by

tivip.003
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Final Project Software

Uploaded by

tivip.003
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 43

MINISTRY OF EDUCATION & TRAINING

HO CHI MINH CITY UNIVERSITY OF ECONOMICS AND FINANCE

FINAL PROJECT
Course: : Software Engineering

SUPERMARKET MANAGEMENT

Member Name: Tran Tien Dung - 215051376


Thi Ngoc Thuan - 215050675
Nham Manh Cuong - 215050396
Dao Minh Hung - 215051233

Class: ITE1125E-A03E

Instructor: Nguyen Thi Thanh Truc

Ho Chi Minh City – 04/2024


MINISTRY OF EDUCATION & TRAINING
HO CHI MINH CITY UNIVERSITY OF ECONOMICS AND FINANCE

FINAL PROJECT
Course: Software Engineering

SUPERMARKET MANAGEMENT

Member Name: Tran Tien Dung - 215051376


Thi Ngoc Thuan - 215050675
Nham Manh Cuong - 215050396
Dao Minh Hung - 215051233

Class: ITE1125E-A03E

Instructor: Nguyen Thi Thanh Truc

Ho Chi Minh City – 04/2024


<C++> - Super Market Management

3
<C++> - Super Market Management

MEMBERS

Number Name ID
1 Tran Tien Dung 215051376

2 Dao Minh Hung 215051233

3 Thi Ngoc Thuan 215050675

4 Nham Manh Cuong 215050396

WORKSHEET

Number Full Name Task


1 Tran Tien Dung Complete Project Report

Use Case Diagram Design

Software Diagram Design

2 Nham Manh Cuong Coding

Data Base Design

3 Thi Ngoc Thuan User Interface Design

Use Case Spec

4 Dao Minh Hung Use Case Spec

Coding

4
<C++> - Super Market Management

TABLE OF CONTENTS

Contents
WORKSHEET.............................................................................................4

1 INTRODUCTION.......................................................................................7

Purpose....................................................................................................7

Scope …………………………………………………………………………………………… 7

Definitions, Acronyms, and Abbreviations................................................7

References...............................................................................................7

Overview..................................................................................................7

2 OVERALL DESCRIPTION...........................................................................9

3 FUNCTIONAL REQUIREMENTS................................................................10

<The actors>.........................................................................................10

<The use cases>....................................................................................11

<Use Cases Diagram>............................................................................12

<Use case Spec>....................................................................................13

4 SOFTWARE DETAILS DESIGN.................................................................27

5 ACTIVITY DIAGRAM...............................................................................37

6 STATE DIAGRAM....................................................................................38

7 ERD DIAGRAM........................................................................................42

8 User interface........................................................................................43

5
<C++> - Super Market Management

6
<C++> - Super Market Management

1 INTRODUCTION

Purpose

The purpose of Supermarket Management software is to provide a


comprehensive solution for managing various aspects of supermarket
operations, including merchandise management, employee management,
sales tracking and customer management

Scope

The software will include functions such as product management,


employee management, order management, sales, sales reporting and
customer information management. It aims to streamline supermarket
operations, improve efficiency and enhance customer experience.

Definitions, Acronyms, and Abbreviations

SRS: Software Requirements Specification


UI: User Interface

References

No specific references are cited for this SRS document.

Overview

The Super Market Management software will be developed using the C++
programming language with an emphasis on modularity, scalability, and
maintainability. It will feature a user-friendly interface to facilitate ease of
use for both managers and employees
The supermarket management system will include the following features:
Inventory management: Including adding, modifying, and deleting
products, checking inventory quantities, and automatically updating
during sales transactions.
Employee management: Recording personal information of employees,
managing work schedules, and assigning appropriate access permissions.
Order management: Creating, viewing, and updating orders from
suppliers, and recording information about receiving goods.

7
<C++> - Super Market Management

Sales management: Processing sales transactions, calculating total invoice


values, and providing sales volume information

Functional Requirements

The system must allow users to log in and log out.


Users should be able to add, modify, and delete products from the system.
The system must automatically update inventory quantities after each
sales transaction.
Managers need to be able to manage employee information and their work
schedules.
The system must support the creation and management of orders from
suppliers.
Users should be able to add products to invoices and calculate total invoice
values.

Non-Functional Requirements

The system must ensure data security.


The user interface must be user-friendly and intuitive.
The system must be able to efficiently handle large amounts of data.

System Requirements

The system must be able to run on standard personal computers.


The system must be developed using a programming language appropriate
to the project requirements.
The system must have backup and data recovery capabilities.

8
<C++> - Super Market Management

2 OVERALL DESCRIPTION

The software will function as a standalone application, handling all


supermarket management tasks internally without the need for
integration with external systems.
With general factors affecting the product. Including items such as:
• Products must have complete information
• Which user is the product suitable for?
• Product prices must be consistent with system data

9
<C++> - Super Market Management

3 FUNCTIONAL REQUIREMENTS

<The actors>

[An Actor is someone outside the system that communicates directly with
the system]
[List the actors of the system with their permissions, privileges…]

Warehouse Customer
Number Main functions Sales Assistaint Manager
Staff

1 Make an invoice x

2 Login x x

Manage
3 Employees x
Information

Manage
4 Customers x
Informatio

5 Sales Report x

Create Good
7 x
Delivery Note

Create Good
8 x
Received Note

Import
9 x
Management

Export
10 x
Management

11 Examine Goods x

Create A Return
12 x
Sheet

13 Place Order x

14 Payment x

10
<C++> - Super Market Management

<The use cases>

[A Use Case is a description of a complete flow of events that results in


something of value to an Actor.]

System Functions Main Use Cases Use Case

Functional Requirement One

Log in Login UC01

Log in Login UC03

Functional Requirement Two

Make Make an invoice UC02

Functional Requirement Three

Manage Manage Employees Information UC04

Manage Manage Customers Information UC05

Manage Import Management UC10

Manage Export Management UC11

Functional Requirement Four

Order Place vendor order UC06

Functional Requirement Five

Create Create goods delivery note UC07

Create Create goods received note UC09

Create Create A Return Sheet UC13

Functional Requirement Six

Report Sales Report UC8

Functional Requirement Seven

Examine Examine Goods UC12

Functional Requirement Eight

Pay Payment UC14

11
<C++> - Super Market Management

<Use Cases Diagram>

12
<C++> - Super Market Management

<Use case Spec>

3.1.1.1<Login>

User Case ID UC01

Name Log in

Describe Sign in to be able to order products from the store

Actors Sale Assistant

Pre- Must have a registered account


conditions

Post- Successful login


conditions
View personal information

Flow 1. Visit web site

2. Login

3. Fill in personal account information

Alternative Sign up if you don't have an account.

Fill in your username, last name, first name, phone number,


address and email.

Exception If role is not correct, show error message and ask to log in
again.

Import incorrect account information.

13
<C++> - Super Market Management

3.1.1.2< Make an invoice >

User Case ID UC02

Name Make an invoice

Describe The cashier will bill based on the purchase order to receive
money from the delivery staff

Actors Sale Assistant

Pre- Have a cashier account


conditions
Have a successful order slip from the delivery staff

Enough money for goods

Post- Successful receipt preparation


conditions

Flow 1. Cashier account login

2. Collect purchase slips from couriers

3. Collection of goods

4. Prepare receipts

Alternative Confirm with the recipient if the order slip is lost

Recipient successfully confirms

Exception Wrong information

Confirm with the recipient if the order slip is lost or damaged

The recipient has not received the order

Insufficient funds

14
<C++> - Super Market Management

3.1.1.3 < Log in >


User Case ID UC03

Name Log in

Describe Successfully logged into the system to perform management


functions

Actors Manager

Pre- The manager has a valid account in the system


conditions
The system is operating normally

Post- The manager has a valid account in the system


conditions
The system is operating normally

Flow 1. Import login information

2. Authenticate Information

3. Successful login

4. Login failed

Alternative Store login information

Automatically log in

Password management

Exception System error

Manage forgotten password

15
<C++> - Super Market Management

3.1.1.4 < Manage employees information >


User Case ID UC04

Name Manage employees information

Describe Manage employee information including: employee code, full


name of employee, address, phone number, job (order
approval, delivery, cashier, ...)

Actors Manager

Pre- Must have a managerial position


conditions
During working hours

Post- Successful login


conditions
Edit employee information

Manage orders

Flow 1. Management account login

2. Access store management software

3. Select employee categories

4. Update employee information

Alternative Without

Exception Entered incorrect account information

16
<C++> - Super Market Management

3.1.1.5 < Manage customer information >


User Case ID UC05

Name Manage customer information

Describe Customer information management includes: customer code,


name of customer, address, phone number,..

Actors Manager

Pre- Must have a managerial position


conditions
During working hours

Post- Successful login


conditions
Edit customer information

Manage orders

Flow 1 Management account login

2. Access store management software

3. Select customer categories

4. Update customer information

Alternative Without

Exception Wrong login information

17
<C++> - Super Market Management

3.1.1.6 < Create goods delivery note >


User Case ID UC06

Name Create goods delivery note

Describe Warehouse workers create delivery note

Actors Warehouse Staff

Pre- Order confirmed


conditions
The goods have been inspected and packaged

Post- Ticket creation request is successful.


conditions
The display system is not faulty

Flow 1 The warehouse employee logs into the warehouse


management system

2. The warehouse staff selects "Create delivery slip"

3. The warehouse staff enters the order ID or selects the


order from the list

4. The system displays the details of the order

5. Warehouse staff check the information and confirm

6. The system generates delivery slips and displays them to


warehouse staff

7. The warehouse staff prints the delivery note and


attaches it to the package

8. The warehouse staff updates the order status to


"Delivered"

Alternative Cancel delivery ticket request

Exception System unavailable

Data error

18
<C++> - Super Market Management

3.1.1.7 < Sales Report >


User Case ID UC07

Name Sales Report

Describe This manager will aggregate and report sales activity (if
needed)

Actors Manager

Pre- Must have a managerial position


conditions
There is data to summarize goods and revenues

Post- Summing up the success


conditions
Can track daily revenue

Flow 1 Management account login

2. Access store management software

2. Select a summary category

3. Check revenue and quantity at the beginning of the day -


end of the day

Alternative Difference in revenue

Compensation amounts must match the system

Differences in goods

The amount must be compensated at the same price as the


goods that have deviated

Exception Wrong information

The data does not match the system

19
<C++> - Super Market Management

3.1.1.8 < Create goods received note >


User Case ID UC08

Name Create goods received note

Describe Warehouse staff create receipts

Actors Warehouse Staff

Pre- The order has been confirmed


conditions
The supplier delivered the goods to the warehouse

Post- Ticket creation request is successful


conditions
The display system is not faulty

Flow 1 Check information

2. Goods inspection

3. Import information into the system:

4. Print the receipt

5. Store receipts

Alternative The system can automatically generate a receipt based on the


delivery note information

The system can warn if there are errors or damage during the
inspection of goods

Warehouse staff may request the supplier to return the goods


if there is a defect or damage

Exception Goods may be damaged during transportation

Errors may occur during the inspection of goods

Warehouse staff may enter incorrect information into the


system

20
<C++> - Super Market Management

3.1.1.9 < Import management >


User Case ID UC09

Name Import management

Describe Warehouse staff perform inventory of the quantity of goods in


the warehouse and manage warehousing

Actors Warehouse Staff

Pre- The order has been created and confirmed.


conditions
The supplier has delivered the goods to the warehouse

Post- The order has been created and confirmed.


conditions
The supplier has delivered the goods to the warehouse.

The information coincides with the delivery note.

Flow 1 Delivery

2. Cargo Inspection

3. Enter commodity information into the system

Alternative The system can automatically generate an inventory slip based


on information from the delivery note.

The system can track the quantity and status of goods in the
warehouse.

Exception Cancel an entry request

System Unavailable

Data errors

21
<C++> - Super Market Management

3.1.1.10 < Export management >


User Case ID UC10

Name Export management

Describe Warehouse staff perform inventory of the quantity of goods in


the warehouse and manage discharge

Actors Warehouse Staff

Pre- The order has been confirmed and paid.


conditions
The goods are available in stock

Post- The order has been confirmed and paid.


conditions
The goods are available in stock.

The information coincides with the release slip.

Flow 1 Taking stock from warehouse

2. Goods inspection

3. Packing goods

4. Delivery to customers

Alternative The system can automatically create warehouse receipts based


on order information.

The system can track delivery status.

Customers can track orders online

Exception System unavailable

Data errors

22
<C++> - Super Market Management

3.1.1.11 < Examine goods >


User Case ID UC11

Name Examine goods

Describe Warehouse employees perform inspections of goods

Actors Warehouse Staff

Pre- Goods are warehoused


conditions

Post- The goods have been warehoused.


conditions
Warehouse staff must inspect in person

Flow 1 Quality inspection of goods

2. Inspection of goods packaging

3. Check the quantity of goods

4. Check the expiry date of goods

5. Report on inspection results

Alternative Warehouse staff can use assistive tools to inspect goods, such
as barcode readers.

The system can automatically alert if there are goods that are
about to expire or have expired.

Exception Warehouse employees may check the goods carelessly.

Errors may occur during the inspection of goods

23
<C++> - Super Market Management

3.1.1.12 < Create a return sheet >


User Case ID UC12

Name Create a return sheet

Describe Warehouse staff will create a return slip

Actors Warehouse Staff

Pre- Warehouse staff receive return requests from customers or


conditions other departments

Post- A new return slip is created in WMS, recording the returned


conditions items, quantity, reason for return, and condition.

Inventory levels for returned items are accurately reflected in


the WMS.

Documents for processing returns are available

Flow 1 The warehouse employee accesses the warehouse


management system and begins creating a new return.

2. The system requires warehouse staff to enter details


about the returned item.

3. Warehouse staff scan the barcodes of returned items


using a barcode scanner or manually enter the product code if
scanning is not possible.

4. The system verifies item information and confirms


return requests based on defined criteria.

5. If the return is valid, the system will automatically


update inventory levels for the returned items.

6. Warehouse staff prints a copy of the return slip for


records and/or as a packing slip for returned items. (Optional)

7. Warehouse staff complete any necessary actions specific


to the return reason

Alternative Warehouse Associate will be notified and may need to contact


the customer or supervisor for further instructions.

Warehouse Staff can manually import the product code.

Exception The system cannot confirm the return request.

Barcode scanning failed.

24
<C++> - Super Market Management

3.1.1.13 < Place order >


User Case ID UC13

Name Place order

Describe The customer orders the product or service from the system to
receive the desired product

Actors Customer

Pre- The client has access to the ordering system


conditions
The product to be ordered must be in stock

Post- The client has access to the ordering system


conditions
The product to be ordered must be in stock

Flow 1. Search for products

2. View product details

3. Add products to cart

4. View cart

5. Cart updates

6. Choose a payment method

7. Choose a shipping method

8. Order confirmation

9. Order tracking

10. Delivery

11. Product Review

Alternative Without

Exception Out-of-stock products:

Payment error

25
<C++> - Super Market Management

3.1.1.14 < Payment >


User Case ID UC14

Name Payment

Describe The customer successfully pays for the order placed

Actors Customer

Pre- The customer has an order that needs to be paid


conditions

Post- The customer has enough money to pay


conditions

Flow 1. Choose a payment method

2. Online payment

3. Payment confirmation

4. Payment upon delivery

5. Payment confirmation

Alternative Payment by installments

Pay with a gift card

Use of points

Exception Payment system error

The customer does not have enough money to pay

26
<C++> - Super Market Management

4 SOFTWARE DETAILS DESIGN

1. Class diagram

27
<C++> - Super Market Management

2. Sequence Diagram
2.1. Sales Login Sequence

28
<C++> - Super Market Management

2.2. Manager Login Sequence

2.3. Make An Invoice Sequence

29
<C++> - Super Market Management

2.4. Manage Imployees Information

30
<C++> - Super Market Management

2.5. Manage Customer Information

31
<C++> - Super Market Management

2.6. Sale Report Sequence

2.7. Export Management Sequence

32
<C++> - Super Market Management

2.8. Import Management Sequence

33
<C++> - Super Market Management

2.9. Create Delivery Sequence

2.10. Create Received Sequence

34
<C++> - Super Market Management

2.11. Examine Good Sequence

2.12. Create Return Sheet Squence

35
<C++> - Super Market Management

2.13. Place Order Sequence

2.14. Payment Sequence

36
<C++> - Super Market Management

5 ACTIVITY DIAGRAM

37
<C++> - Super Market Management

6 STATE DIAGRAM

1. Customer State Diagram

38
<C++> - Super Market Management

2. Sales Assistant State Diagram

39
<C++> - Super Market Management

3. Manager State Diagram

40
<C++> - Super Market Management

4. Warehouse Staff State Diagram

41
<C++> - Super Market Management

7 ERD DIAGRAM

42
<C++> - Super Market Management

8 USER INTERFACE

43

You might also like