1b.app
Link copied -

It does not correctly show the warehouse, some kind of nonsense with reserves and balance

I look at the product https://baza.cn.ua/admin/shop/products/62086/storage/
Show on the balance 4 pieces and 2 in reserve
When I started to deal with the reserve, I found a problematic order https://baza.cn.ua/admin/customorder/order/28707/edit/
The order is in the status on which the product is already sold
I look at operations here https://baza.cn.ua/admin/shop/products/62086/storage/ by order 28707
Shows that it is in 2020-11-29 16:53:04 operation type "Sale"
That is, some kind of nonsense comes out, it seems like this product was sold, but at the same time it is in reserve
Tell me what the hell is this
Logically, it seems like there should be 3 left and one of them is in reserve (but I'm not sure anymore)
Original question is available on version: ru

Answers:

Good afternoon. The extra reserve was removed, the reason for which it remained, unfortunately, could not be clarified
18.12.2020, 18:04
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
Good afternoon. The extra reserve was removed, the reason for which it remained, unfortunately, could not be clarified

1. Describe in detail what you did, it seems to me that you did something wrong, more precisely, you generally deleted what you don’t need to delete, but you didn’t delete what you need to delete (moreover, I consider it unacceptable to arbitrarily delete something from the database without understanding it)
Here it shows the reserves for the goods https://baza.cn.ua/admin/shop/storage/reserve/?balanceid=36529
Shows a problematic order https://baza.cn.ua/admin/customorder/order/28707/edit/ which should not
Shows the correct reserve https://baza.cn.ua/admin/customorder/order/31022/edit/ (will be written off today)
AND DOES NOT SHOW this order https://baza.cn.ua/admin/customorder/order/29974/edit/
For which there should be a reserve but it is not
If you look at the history, you can see that you are deleting the binding
2. Regarding "the reason why he stayed, unfortunately, it was not possible to find out," and what were the attempts to find out (did you look at the history of operations, the history of the order and the history of actions?
3. Do I understand you correctly that it is normal when the system gives such failures and you become in the position "unfortunately it was not possible to find out"?
19.12.2020, 11:00
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)
Wait for an answer or create a new task?
21.12.2020, 13:19
Original comment available on version: ru

1. I removed the binding
2. This is inside information, I cannot disclose it to you.
3. Unfortunately, I do not know what is normal for you or not, this is a very relative concept.
21.12.2020, 13:27
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
1. I removed the binding

Did you see that you removed the wrong binding?
21.12.2020, 13:53
Original comment available on version: ru

if I deleted the wrong reserve, I apologize. Naturally, I did not see this at the time of removal.
21.12.2020, 13:55
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
if I deleted the wrong reserve, I apologize. Naturally, I did not see this at the time of removal.

1. Return what you deleted incorrectly
2. Describe why this happened (the situation that is described in the description, why you switched to the status while leaving a reserve and writing off this product)
21.12.2020, 13:58
Original comment available on version: ru

Unfortunately, I do not know in which of the orders this reserve was. You know?
21.12.2020, 14:20
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
Unfortunately, I do not know in which of the orders this reserve was. You know?

There are 2 open processes for this product
Here they are:
https://baza.cn.ua/admin/customorder/order/29974/edit/
https://baza.cn.ua/admin/customorder/order/31110/edit/
Logically, there should be reserves for them
And for this there should not be a reserve https://baza.cn.ua/admin/customorder/order/28707/edit/ (by the way, payments were duplicated for this order, that is, the payment was made 2 times, I deleted the extra one, I will figure it out)
1. Please do not make sudden hasty deletions and correct what would be correct as it should be
2. Please describe why this happened
3. I also ask you to correct the situation with this order and describe why the system worked this way https://baza.cn.ua/admin/customorder/order/20109/edit/
Some bullshit comes out
In the history it shows that the status is "Paid (Card)"
The list shows the status of "Vikonano" https://baza.cn.ua/admin/shop/products/43397/orders/?dateFrom=&dateTo=2020-1... %BB%D1%8C%D1%82%D1%80%D1%83%D0%B2%D0%B0%D1%82%D0%B8
By product from the order https://baza.cn.ua/admin/shop/products/43397/storage/
Shows what is in reserve for this order https://baza.cn.ua/admin/shop/storage/reserve/?balanceid=10467
The same trouble for this product (second from the order) https://baza.cn.ua/admin/shop/products/60404/storage/
21.12.2020, 15:08
Original comment available on version: ru

Can you independently display the "Reserve" field in the product table and reserve where necessary and remove where not needed? Thank you.
21.12.2020, 15:13
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
Can you independently display the "Reserve" field in the product table and reserve where necessary and remove where not needed? Thank you.

No, this is your mistake and you must correct it.
Plus answer questions 2 and 3
21.12.2020, 15:25
Original comment available on version: ru

1. Fixed
2. System failure.
3. Is this related to the current ticket? If not, please create a separate one.
21.12.2020, 15:29
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry
Employee wrote:
2. System failure.

Do I understand correctly that by this phrase you meant the word bug / bug, that is, an error in the code?

Bodyako Dmitry
Employee wrote:
3. Is this related to the current ticket? If not, please create a separate one.

Yes, this is a similar situation, only for another product you need to fix it + solve the bug that led to this problem (if you haven’t solved it yet)
21.12.2020, 17:11
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment