1b.app
Link copied -

The product is not returned to the warehouse

Process https://erp.openshop.ua/admin/customorder/order/14631/edit/
This is a drop order, at the stage we will immediately credit and sell https://erp.openshop.ua/admin/shop/workflowstatus/103/action/new/
Error returning
I suspect that the problem is related to the fact that the product is first sold and then credited, although the first action is posting, but first it creates a sale, and then posting
Will it work like this, is it a bug or is it supposed to be like this?
Original question is available on version: ru

Answers:

Hi. I made a return, there was the same date and therefore sometimes the wrong transaction came across.
17.08.2021, 17:10
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

.
OneBox production wrote:
Hi. I made a return, there was the same date and therefore sometimes the wrong transaction came across.

so this is the second case, how to get around this so that in the future they have different dates?
17.08.2021, 17:20
Original comment available on version: ru

When I wrote the code, I rewrote it so that it sorts by date + id so that the last entry is taken exactly. I also returned the handles through the stage to test
18.08.2021, 11:22
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Got it, thanks, I'll try something
18.08.2021, 11:59
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