Automate the trading activities of a bookstore as a business process improvement factor

. This article presents a project of a bookstore information system, the main purpose of which is to automate the trading activities of a bookstore, work with reports on sales and purchases. The purpose of creating the system is: to increase the number of clients served per unit of time due to the automatic generation of checks and invoices; reducing the time for processing and processing orders, searching for the necessary information about the product and generating invoices by storing and systematizing data in electronic form; reduction of costs and time for registration of deliveries of goods due to partial auto-completion of documents


Introduction
In the modern world there is a lot of competition between different areas in the field of trade. This has not bypassed bookstores. Someone might say that in the age of information technology, paper books have lost their position in the trading market. However, this statement will not be true. Since some books cannot be downloaded from Internet resources for free, someone still prefers the paper format of the book, and paper books have not been canceled in schools. It follows from this that paper books are still popular [1][2][3].
Also, the relevance of this topic is due to the lack of analogues with low cost and the necessary functionality on the market and the need to automate the trading activities of the bookstore in order to simplify the control of purchases and sales, and record keeping.
The bookstore specializes in the purchase and retail resale of books. The purchase occurs from various suppliers at various prices, but the sale is made at a fixed, predetermined price. If the purchased goods do not meet the declared quality or other declared criteria, then such goods are returned to the supplier and an appropriate entry is made in the supply log. If the buyer is not satisfied with the purchased goods or there are other reasons for returning the goods to the store, then he has the right to return the goods and receive a refund of the amount of money that he paid upon purchase. All sales, deliveries and returns are recorded in the appropriate records. For all records, reports are subsequently generated, for example, a report on the amount of sales for each type of item. in warehouses, where the goods are stored at regular intervals, an inventory is carried out, the results of which reveal a surplus of goods or their absence, a deviation in quantity and amount. After a deviation is detected, write-off or posting is carried out, which allow you to correct information about the goods that are stored in the warehouse [4][5].
To solve the task, you must do the following: -select the necessary subsystems; -implement a user interface; -implement the internal business logic of the application; -carry out algorithmization of typical information requests. Figure 1 shows a diagram of the organizational structure, which schematically reflects the composition of the enterprise's divisions. The sales department includes the main worker of the hall and the worker of the hall. The employee of the hall sells the goods to the buyer. The main worker of the hall performs the same functions as the worker of the hall, but also deals with the registration of the return of goods from the buyer [6,7].

Functional and organizational structure
The warehouse department includes the chief warehouse worker and the warehouse worker. The warehouse worker can take deliveries of goods to the warehouse and take inventory. The chief warehouse worker performs the same functions as the warehouse worker, but is also involved in processing the return of goods to the supplier, writing off and posting goods in the warehouse.
The accounting department includes an accountant who deals with the payroll of employees.
The sale of goods includes: -sale of goods; -issuance of paid goods; -return of goods from the buyer. Purchase of goods includes: -purchase and placement of goods in the warehouse; -return of goods to the supplier; -inventory; -write-off of goods; -posting of goods.
Personnel work includes: -enrollment of an employee; -payroll for employees; Reporting includes: -formation of a report on sales of goods by the amount of sales; -formation of a report on sales of goods by the number of sales; -generation of a report for each type of nomenclature; -formation of a report on sales of employees; -formation of a report on accrual of employees.
Administration includes: -setting information about the organization.

Description of data flows and business processes
A business process is a combination of interrelated activities and works that are aimed at the implementation of a specific product or service at the request of the consumer. For a graphical description of activities, flowcharts are used [8,9].
The context diagram "Information system of the bookstore" is shown in Figure 2. The overall function is then broken down into larger subfunctions. This process is called functional decomposition. The decomposition diagram of the context diagram is shown in Figure 3.
The diagram shown in Figure 3 includes the following activities: -checking the availability of goods (A0.1); -registration of PrEP (A0.2); -receipt of goods by the customer (A0.3).  Next, it is necessary to carry out the algorithmization of typical information requests by drawing up diagrams of activities and sequences.
An activity diagram can be thought of as a granularity of use case diagrams. The main element is a certain action (a certain function to be performed), but the distinguishing feature is that it is internal to the system and should not be "closed" to an external subject. The action is drawn as a rectangle shape, and inside the rectangle is a description of the action to be performed. Transitions between actions are represented by a solid line with an arrow. A conditional jump is shown as a diamond. The beginning and end of the algorithm are shown as circles. The activity diagram is shown in Figure 4.
A sequence diagram is a UML diagram that shows the life cycle of a particular object and the interaction of IS actors within a single precedent for a certain set of objects on a single axis.
Sequence diagrams are intended to clarify use case diagrams and describe the logic of use cases. This tool is suitable for documenting a project based on its use case.
A sequence diagram consists of object labels, vertical "lifelines" to show the passage of time, and arrows to show the exchange of messages between certain objects. The sequence diagram is shown in Figure 5. An activity diagram allows you to describe the logic of procedures, business processes and workflows. It resembles flowcharts, but the main difference between this diagram and flowchart notation is that the activity diagram supports parallel processes. The constructed activity diagram displays a list and algorithm of actions for performing the main business process "Sales of goods", and the activity diagram describes the main process of employee interaction with the application.

Conclusion
In the course of the research work, the following results were obtained: -a pre-project analysis of the subject area was carried out, the input of which was an idea of the main functionality that should be implemented in the system being developed; -system design was carried out, as a result of which the concept and architecture of the information system being developed was developed and a list of necessary technical support was compiled; -an information base has been developed for the information system of the bookstore, which will allow organizing the storage and management of all necessary information within the system, as well as diagrams of activities and sequences.
This information system will allow employees of the enterprise to correctly maintain documentation related to the sale and supply of goods, serve customers faster and manage the turnover, which will reduce the time for the formation and maintenance of documentation, increase the number of customers served per unit of time and reduce costs and time for managing the turnover.