1. Trang chủ
  2. » Luận Văn - Báo Cáo

Báo Cáo + Full Code ứng dụng quản lý bán hàng C# ( MÔN HỌC ADO.NET)

24 16 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 24
Dung lượng 827,8 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Báo Cáo + Full Code ứng dụng quản lý bán hàng C# ( MÔN HỌC ADO.NET)

Trang 1

SPECIALIZED PROJECTS

PROGRAMMING LANGUAGE

TEACHER: TS Trần Xuân Sang

STUDENT: Hồ Văn Cường

ID: 18574802010178

CLASS: 59K CNTT_CLC

Trang 2

TABLE OF CONTENTS

INTRODUCE 2

1.1 Description of the problem 3

1.2 Subject specification 3

CHAPTER 2 SYSTEM SURVEY AND ANALYSIS 5

2.1 ANALYSIS OF TOPIC REQUIREMENTS 5

2.1.1 FUNCTION 5

2.1.2 REQUIREMENTS 5

2.2 SYSTEM ANALYSIS AND DESIGN 6

2.2.1 SITUATION SURVEY AND NEW SYSTEM BUILDING 6

2.2.2 SYSTEM ANALYSIS 6

CHAPTER III BUILDING MODELS – SCHEDULE 10

3.1 BUILD MODELS 10

3.1.1 Solutions 10

3.1.2 SALES PROFIT DATABASE 10

3.2 Design the theme 15

3.2.1 Login form 15

3.2.2 Main form 16

3.2.3 Category form 17

3.2.4 Customers form 17

3.2.5 Suppliers form 18

3.2.6 Staff form 19

3.2.7 Products form 19

3.2.8 Pass form 20

3.2.9 Invoice form 21

3.2.12 Inventory form 21

3.2.13 Revenue form: 22

CONCLUDE 23

RESEARCH PAPERS 24

Trang 3

Nowadays, people's lives are developing day by day, leading to increasedshopping and trading needs of people The management work of large and smallgrocery store owners is more and more difficult and complicated There are manysoftware solutions offered to solve this problem, but it is expensive and difficult toapply to small and medium-sized stores

Through research, learning from teachers and friends about sales managementsolutions combined with the actual survey process on many stores, I would like tocome up with a sales solution for small and medium stores Hopefully this productcan help managers control the entire business process of their store

Therefore, I have implemented the project "BUILDING A SALESMANAGEMENT PROGRAM" for an ABC grocery store

With the enthusiastic guidance of Mr Trần Xuân Sang, I have completed thisproject report Although we have tried our best to learn, analyze, design and installthe system, it is inevitable that there will be shortcomings I look forward toreceiving your understanding and suggestions Thank you sincerely

Performed by Student : Ho Van Cuong

Student ID: 18574802010178 Class : K59-CLC-IT

Nghe An , June 6, 2021

Trang 4

CHAPTER 1 OVERVIEW 1.1 Description of the problem

Sales management in enterprises is an important job, requiring theManagement department to conduct many complex operations

The application of IT has brought a new breakthrough for sales management,helping businesses capture information about goods, supplies, customerinformation, and the status of orders in a way accurate and timely From there,managers can make the right plans and decisions, reduce costs and increasecompetitiveness, and improve production and business results

1.2 Subject specification

Sales management software must support the management of information forbusinesses trading in goods and services automate the process of managing goodsand materials, reducing labor costs, and increasing the accuracy of orders andprovide prompt service to customers It was developed with the aim of promptlymeeting all functions from import, export, inventory, goods arrangementmanagement, revenue, order management in order to increase production andbusiness efficiency for Business

The management department of a ceramic shop has full control over thesystem, some employees take on other tasks such as selling, importing goods,recording information about customers, suppliers and customers printing invoices.Each type of goods that the company is allowed to trade usually includesmany items Each item is identified by item name, unit of measure, suggested priceand assigned a code called item code for easy tracking Shop owners, in addition tocapturing the market, also have to monitor the sales situation of their goods to dobusiness effectively At the same time, receive a summary inventory report to seewhich items are still below the allowable threshold, then propose to management for

a solution, possibly selling at a discount to recover capital for trading other items

Trang 5

When the store buys goods, they have to carry out procedures forwarehousing Each time the warehouse is imported, an import invoice is generated.Each import invoice only deals with the import of goods from one supplier and ismade by an employee and is responsible for checking the quantity and quality ofimported goods On the entry form, the supplier's code and name are clearly writtenfor easy tracking later; code and full name of the store employee responsible forstocking the same items, quantity, expiry date, date of stocking, purchase unit priceand the corresponding amount Import work happens every day when goods arepurchased.

When selling goods to customers, an invoice is issued Invoices are issued byonly one employee and only for one customer The invoice includes informationabout item code, quantity, unit price, discount rate and total amount sold

At the end of the month, the manager will make statistics of the items tosummarize the revenue and check the business situation of the store

Trang 6

- Allow to update rows in the database.

- Displays a list of items by category

- Display the goods the customer has selected to buy

- Display customer information

a Equipment and software

- MySQL database management system

- Install Visual Studio 2019

b Systematic program requirements are as follows:

- The owner of the application has the right to control all activities ofthe system This person is provided with a username and password to loginto the system to perform his/her functions:

- Function to update, edit, delete items, types of goods, manufacturers,customers, employees (must control the system) It requires precision

Trang 7

- Receive payment, check, issue invoices for customer orders Displayorders.

- Statistics by date, time period

In addition to the above functions, the chapter must be designed so that it iseasy to understand, the interface is easy to use, beautiful and easy for users tomanipulate

2.2 SYSTEM ANALYSIS AND DESIGN

2.2.1 SITUATION SURVEY AND NEW SYSTEM BUILDING

* After the survey, I have grasped the following information:

- Customer management: Each customer can manage the followinginformation: full name, address, phone number, Date of birth and gender

- Management of goods: goods code, name of goods, import price, sellingprice, quantity, image, details, code of goods, name of goods

- Manufacturer management: manufacturer code, manufacturer name,representative, phone number, email

- Employee management: full name, address, phone number, date of birth andgender

2.2.2 SYSTEM ANALYSIS

- Build functional hierarchy chart Data Flow Diagram: We build the data flowchart as follows

Trang 8

SALE MANAGEMENT PROGRAM

Figure 2.1 function hierarchy chart

- Functional hierarchy diagram of the Admin job

Figure 2.2 Diagram of business functions Admin

Trang 9

- hierarchy diagram of warehouse management

Figure 2.3 Functional chart of warehouse management

- Functional hierarchy diagram of the Sales operation

Trang 10

Figure 2.4 Functional chart of sales

- Algorithm add, edit, delete

Figure 2.5 Block diagram add, edit, delete a field

Trang 11

CHAPTER III BUILDING MODELS – SCHEDULE

3.1 BUILD MODELS

3.1.1 Solutions

Figure 3.1 Diagrams model

3.1.2 SALES PROFIT DATABASE

- The Users table stores the list of users Table of fields:

Trang 12

3 UserName nvarchar(50) User name

4 Password nvarchar(150) password

- The Customers table stores a list of customers The table contains the

3 Sex nvarchar(10) Sex

4 Address nvarchar(250) Customer's

address

5 Phone nvarchar(15) Customer

phone

6 BirthDay nvarchar(15) Date of birth

- The Categories table stores the type of goods The table contains the

following fields:

Trang 13

2 CategoryName nvarchar(50) Name of goods

2 CompanyName nvarchar(100) Company

Name

3 ContactName nvarchar(50) Contact Name

4 Address nvarchar(250) Company

address

5 Phone nvarchar(11) Contact phone

6 Email nvarchar(50) email address

- The Products table stores product details The table contains the following fields:

Trang 14

4 ProductName nvarchar(150) Product Name

5 Quantity float Quantity

5 Importprice float Import price

6 Price float Price

7 Description nvarchar(MAX) Note

8 Image Nvarchar(MAX

)

Images

9 ExpirationDate date Expiration Date

- The Orders table stores purchase invoices Table of fields:

1 CustemerID

(FK)

int Customer's code

3 StaffID (FK) int Employee code

4 OrderDate datetime Order Date

5 TotalAmount float Total Amount

- The OrderDetails table stores order details The table contains the following fields:

Trang 15

1 OrderID (FK) int Code orders

3 ProductID

(FK)

int Product code

4 Quantity float Quantity

5 UnitPrice float Unit Price

6 Sale float Sale %

7 IntoMoney float Into Money

- The Staff table stores a list of employees Table of fields:

name

2 StaffName nvarchar(50) Staff Name

3 Sex Nvarchar(10) Sex

4 Address nvarchar(250) Address

5 Phone nvarchar(11) Contact phone

6 Birthday datetime Right of birth

7 Pass Nvarchar(150) password

3.2 Design the theme

3.2.1 Login form

- Form name: frmLogin

Trang 16

Figure 3.2 login form design

3.2.2 Main form

- Form name: frmMenu

Here, the owner or the employee can manipulate to select the function to dohis job

Trang 17

Figure 3.3 Menu form design

3.2.3 Category form

- Form name: UsCategory

Here, users who log in step 2 into the system can manage, add, edit, and deleteitems The manager cannot add or edit items with the same name as the data already

in the shop In addition, the manager can search for product type name easilythrough the search bar

Trang 18

Figure 3.4 Category form design

3.2.4 Customers form

- Form name: UsCustomers

Here, users who log into the system can manage, add, edit, and delete items.The manager cannot add or edit customers that match the data already in the shop

In addition, the manager can search for customers easily through the search bar

Figure 3.5 Customers form design

Trang 19

3.2.5 Suppliers form

- Form name: UsSuppliers

Here, users who log into the system can manage, add, edit, and delete items.Managers cannot add or edit companies with existing data in the shop In addition,managers can search for suppliers easily through the search bar

Figure 3.6 Suppliers form design

3.2.6 Staff form

- Form name: UsStaff

Here, users who log into the system can manage, add, edit, and delete items.Managers cannot add or edit Employees that match data already in the shop Inaddition, managers can search for Employees easily through the search bar

Trang 20

Figure 3.7 Staff form design

3.2.7 Products form

- Form name: frmProducts

Here, users who log into the system can manage, add, edit, and delete items.The manager cannot add or edit products that match the data already in the shop Inaddition, managers can search for products easily through the search bar

Figure 3.9 Prpoducts form design

Trang 21

3.2.8 Pass form

- Form name: UsPass

Here, users who log into the system can change their login password

Figure 3.10 Pass form design

3.2.9 Invoice form

- Form name: UsInvoice

Here, users who log in to the system can manage and add orders, Managers

cannot edit orders when the data is saved in the shop In addition, the manager cansearch for orders easily through the search bar

Trang 22

Figure 3.11 Invoice form design

3.2.12 Inventory form

- Form name: UsInventory

Here, users logged into the system can manage inventory easily through thesearch bar

Figure 3.12 Inventory form design

3.2.13 Revenue form:

- Form name: frmRevenue

Trang 23

Here, users who log into the system can manage the store's revenue according

to the conditions that the management wants

Figure 3.13 : Revenue form design

CONCLUDE

On the basis of studying knowledge from the ".NET Technology" textbook ofTeacher Hoang Huu Viet and some related documents, I carried out the topic "SalesManagement" and achieved the following results:

- Completed the objectives and tasks set out by a management systemprogram, with the same functions as the design analysis system described above

- Build a complete program that can be applied in practice

I would like to express my sincere thanks to Professor “Trần Xuân Sang” forhelping us to complete this thesis

Trang 24

RESEARCH PAPERS

[1] https://www.w3schools.com/

Ngày đăng: 24/08/2021, 21:27

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w