Explain how an action works in the following situation:
[file]19520[/file]
[file]19521[/file]
- 2 items shipped in progress
[file]19520[/file]
[file]19521[/file]
- one product was returned manually through the Warehouses section, it was deleted in the process
[file]19520[/file]
[file]19521[/file]
- 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
[file]19520[/file]
[file]19521[/file]
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?
[file]19520[/file]
[file]19521[/file]
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?
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.
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.
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)
[quote]
[file]19926[/file]
.dev
[file]19926[/file]
OneBox production wrote:
[file]19926[/file]
In this case, he takes the first product, sees that no one sold it anywhere, and shows an error.
[file]19926[/file]
[/quote]
[file]19926[/file]
Just in the process there was a sold product, and it gives an error.
[file]19926[/file]
Here is the test process https://one-box.shine-bright.com.ua/309639/
[file]19926[/file]
Only the shipped goods remained in the order. The second item was manually returned and removed from the order.
[file]19926[/file]
Gives an error when going to the Edit Pickup step (the return of goods action is set)
[file]19926[/file]
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.
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.
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.
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.
.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.
[quote]
.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.
[/quote]
[quote]
Farkhshatov Rodion wrote:
But then it's strange that when you check the box "Only consider checked products", the return works,
[/quote]
Well, that is, you could just do what I wrote right away. But okay, the problem is solved - it's already good.
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.
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.
.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.
[quote]
.dev
OneBox production wrote:
You need to remove the first return operation and return all products as an action, or manually return.
[/quote]
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.
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.
[quote]
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.
[/quote]
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.
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
Donate
You don't have enough funds in your account Top up