Академический Документы
Профессиональный Документы
Культура Документы
Description:
The factories keep records of the production and distribution of products at points of sale. In
production, each product is assigned a unique serial number. Sales outlets can be handed over
request for the delivery of the necessary products, indicating how much they need. There are
more factories and multiple outlets within the company, where sales outlets send requests to
the headquarters companies, and each factory can, if necessary, send products to any point of
sale.
Tasks:
1. Create a company
5. Create an employee at the factory, 'Worker 2', indebtedness: production supervisor. This one
the employee is the supervisor 'Worker 1'.
8. Create 20 monitors in the factory "Factory", under the control of 'Worker 2'
9. Send a request from the 'Store' store for the delivery of 10 monitors and 50 keyboards
10. Transport 10 monitors and 30 keyboards from factory "Factory" to sales point 'Store',
controlled by 'Worker 3'
12.' Buyer 1' buys a monitor from 'Store' at a price of 80 eur, pay in cash, from seller 'Worker 4'
-------------------------------------------------------------------------------------------------------------------
Extra task:
Add a log of actions in the system. Actions log in format [date] [time] [action] [extra information]
Example of a single log file line: [03/20/2016 11:30] Transport, products: 10 x keyboard, 15 x
mouse, from:
- Production of each product individually (serial number, product type, factory where it is
- Transport of products (factory name, name of destination - point of sale, list of types with
quantities,
- Every sale (list of serial numbers, point of sale, name of the employee who sold,