T
T
Timur-jan2021-01-28 09:26:20
SQL
Timur-jan, 2021-01-28 09:26:20

How to correctly implement adding the quantity of goods to the warehouse?

Hello, not so long ago I began to study this Framework and faced a task in which you need to implement a banal warehouse of office equipment, where there is a warehouse (ID, name of office equipment, quantity in stock). And the second part of it is the receipt of goods from the supplier.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2021-01-28
@d-stream

where conditionally there is a warehouse (ID, name of office equipment, quantity in the warehouse).

In fact, there are:
- N receipts of goods in some quantity from some supplier of some number
- M write-offs of goods in some quantity to some recipient of some number,
but the difference between receipts and write-offs - will give the presence in the warehouse, limited by the date - the state of the warehouse on a specific date ...
This is if it is completely simplified.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question