1b.app
Link copied -

Action work Return process content to warehouse

Explain how an action works in the following situation:

- 2 items shipped in progress

- one product was returned manually through the Warehouses section, it was deleted in the process

- the process does not go to the stage with the action Return the contents of the process to the warehouse, it gives an error it has not yet been credited

I understand that it is trying to return the goods that were returned manually, but it is not in the process, and there is a Return operation in the warehouses. Why is it trying to return an already returned one?
Original question is available on version: ru

Answers:

The action walks through the content process and attempts to return EVERY non-deleted item in the process in turn. In this case, he takes the first product, sees that no one sold it anywhere, and shows an error. To avoid errors in action, most likely there is a checkbox "take into account only marked products" so that it is possible to return only part of the products of the process.
14.04.2023, 23:34
Original comment available on version: ru



.dev

OneBox production wrote:

In this case, he takes the first product, sees that no one sold it anywhere, and shows an error.



Just in the process there was a sold product, and it gives an error.

Here is the test process https://one-box.shine-bright.com.ua/309639/

Only the shipped goods remained in the order. The second item was manually returned and removed from the order.

Gives an error when going to the Edit Pickup step (the return of goods action is set)
15.04.2023, 13:23
Original comment available on version: ru

The action cannot return the item because the transaction in which it was sold has already been returned. You need to remove the first return operation and return all products as an action, or manually return.
16.04.2023, 19:19
Original comment available on version: ru

Understood thanks. But then it's strange that when you check the box "Take into account only marked products", the return is triggered, although it is also a return for the same transaction.
16.04.2023, 21:27
Original comment available on version: ru


.dev
OneBox production wrote:
To avoid errors in action, most likely there is a checkbox "take into account only marked products" so that it is possible to return only part of the products of the process.


Farkhshatov Rodion wrote:
But then it's strange that when you check the box "Only consider checked products", the return works,

Well, that is, you could just do what I wrote right away. But okay, the problem is solved - it's already good.
16.04.2023, 23:32
Original comment available on version: ru

Not decided, this option is not suitable.
The goal is to edit a shipped order. ALL sold goods must be returned to the warehouse, only those that actually remained in the process. Those. not a part, but all that remained in the process. With the proposed setting, you will have to select all the products in the process. When it would be possible to simply transfer the process to a stage.
This means that the action tries to return the already returned product too, since it gives an error. And with the ONLY MARKED option, it returns only the selected product, despite the fact that it is in the transaction for which the refund was made.
17.04.2023, 00:16
Original comment available on version: ru


.dev
OneBox production wrote:
You need to remove the first return operation and return all products as an action, or manually return.

and by the way, if you delete the first return operation, then the action in the process can no longer be returned, because the returned item has already been removed from the process.
17.04.2023, 00:25
Original comment available on version: ru


Farkhshatov Rodion wrote:
The goal is to edit a shipped order. ALL sold goods must be returned to the warehouse, only those that actually remained in the process. Those. not a part, but all that remained in the process. With the proposed setting, you will have to select all the products in the process. When it would be possible to simply transfer the process to a stage.

before going to the stage, set an action that will select all objects with the required number. Those. so that the "selected" field contains the number of shipped goods for each product of the process.
17.04.2023, 11:10
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