1b.app
Link copied -

How do checkboxes work in unloading?

Есть вопросы по работе с системой?
Вы всегда можете создать топик на нашем форуме и партнеры-интеграторы с радостью вам помогут! Создать топик на форуме
Right here
http://box.magbaby.ua/admin/auto/action/hour/edit/
Interested in this activity

Worth this tick

Try to enable this checkbox

But either it doesn't work that way, or this checkbox is not related to the previous one at all. setting?
The task is to unload the presence of the goods "in stock" if all the components are in stock, but if the components are in stock in another warehouse (not on what is selected in the action), then it is necessary that the product writes in stock "false" - but if there are no leavers at all, then emptiness
According to the checkboxes, it should work like that, but it doesn't work like that :(
Original question is available on version: ru

Answers:

Can you provide an example of a product for which, in your opinion, the settings do not work correctly?
We will check the data
18.10.2021, 09:56
Original comment available on version: ru

Here
http://box.magbaby.ua/admin/shop/products/24836/edit/
He falls into this unloading
http://box.magbaby.ua/admin/shop/priceplaces/?id=17
He has a passport
http://box.magbaby.ua/admin/shop/products/24836/passport/
There are 2 products in the passport
This one is only in another warehouse (not on what is indicated in the action)
http://box.magbaby.ua/admin/shop/products/23664/storage/
This one is also in the main warehouse (which is indicated in the action) and in others
http://box.magbaby.ua/admin/shop/products/23663/storage/
It turns out that we need the main product to stand as "under the order".
Since its components are, but one of the components is in another warehouse (not in the main one)
This checkbox should do it
18.10.2021, 10:10
Original comment available on version: ru


The setting "If the goods are available only in other warehouses that are not selected in the action, then instead of being present, send "false", if not anywhere - do not send anything" does not interact with the availability check by passport, but with the setting "If a warehouse is selected, then the availability in the warehouse will be unloaded, instead of the value of the "in stock" checkbox.
To check the availability according to the passport using the setting "If the product is produced and it has a passport, consider that the product is in stock only if all the components are in stock" - you can set the setting "Take into account the availability of components only in selected warehouses" - and then if the selected warehouses do not have any of the components and the product has a passport - false will be transmitted instead of true
20.10.2021, 16:11
Original comment available on version: ru

and how much will it cost to make the tick work with passports?
20.10.2021, 17:21
Original comment available on version: ru


and how much will it cost to make the tick work with passports?

without any additional settings - I think about 1 hour
21.10.2021, 16:59
Original comment available on version: ru

then invoice
Finally, I'll write it all right?
If the product has a passport - then put it in stock only if all the components are in stock (in the selected warehouse)
Further conditions ______
1. If the components are in the warehouses, but not in the main ones, that is, if they are actually in the warehouse, but at least 1 is not in the selected one, but in some other one, then you need to transfer
- under the order (in the field availability = false)
2. If there is at least 1 component, then pass emptiness in the presence field
25.10.2021, 15:25
Original comment available on version: ru

Doesn't work, or show exactly how the checkboxes should be ticked?
Here is the upload action
http://box.magbaby.ua/admin/auto/action/hour/edit/#done

Here is 1 set of ticks

Here is the second

Here is the item we are checking.
http://box.magbaby.ua/admin/shop/products/25183/edit/
He has a passport
http://box.magbaby.ua/admin/shop/products/25183/passport/
This passport does not have this product in stock with us

http://box.magbaby.ua/admin/shop/products/24489/storage/

According to the specification, if at least 1 component is missing, you need to pass emptiness in the presence field
But in unloading "false"

Could you tell me what checkboxes should be enabled for it to work as it should?

Ryabovol Victoria wrote:
If the product has a passport - then put it in stock only if all the components are in stock (in the selected warehouse)
Further conditions ______
1. If the components are in the warehouses, but not in the main ones, that is, if they are actually in the warehouse, but at least 1 is not in the selected one, but in some other one, then you need to transfer
- under the order (in the field availability = false)
2. If there is at least 1 component, then pass emptiness in the presence field
20.12.2021, 14:34
Original comment available on version: ru

Here is your main discussion:

Ryabovol Victoria wrote:
The task is to unload the presence of the goods "in stock" if all the components are in stock, but if the components are in stock in another warehouse (not on what is selected in the action), then it is necessary that the product writes in stock "false" - but if there are no leavers at all, then emptiness


Ryabovol Victoria wrote:
It turns out that we need the main product to stand as "under the order".
Since its components are, but one of the components is in another warehouse (not in the main one)

Based on it, a solution was proposed to work as discussed above:
- if all goods of the passport are in the required warehouse = true
- if any of the products is not on the main ones = false
- if the components are in other warehouses = false
- if there are no components at all in other warehouses = emptiness
Actually, this was implemented. And false is transmitted because the components of the passport are in other warehouses.

Ryabovol Victoria wrote:
2. If there is at least 1 component, then pass emptiness in the presence field

Perhaps initially I did not quite correctly understand your need.
Specify how you want in the end:
1. if there are all components in the main warehouses (selected) - pass true
2. if some of the components is not on the main ones, but is on the others - we pass false
3. if any of the components is not in stock at all - we transfer emptiness
If such logic is necessary - please confirm, I will redo it.
20.12.2021, 15:22
Original comment available on version: ru


Tyndyk Maxim Vadimovich OneBox production wrote:
Perhaps initially I did not quite correctly understand your need.
Specify how you want in the end:
1. if there are all components in the main warehouses (selected) - pass true
2. if some of the components is not on the main ones, but is on the others - we pass false
3. if any of the components is not in stock at all - we transfer emptiness
If such logic is necessary - please confirm, I will redo it.

Check now - does the availability meet your requirements?
20.12.2021, 17:08
Original comment available on version: ru


Tyndyk Maxim Vadimovich
OneBox production wrote:
1. if there are all components in the main warehouses (selected) - pass true
2. if some of the components is not on the main ones, but is on the others - we pass false
3. if any of the components is not in stock at all - we transfer emptiness
If such logic is necessary - please confirm, I will redo it.

yes, it is necessary, now we will check and unsubscribe)
And tell me by the checkboxes, there are already so many of them, they are right now in action, so that we can test the correctly configured action
20.12.2021, 19:36
Original comment available on version: ru


Ryabovol Victoria wrote:
yes, it is necessary, now we will check and unsubscribe)
And tell me by the checkboxes, there are already so many of them, they are right now in action, so that we can test the correctly configured action

Ok, test it.
Now the checkboxes are set as needed for your availability example.
21.12.2021, 15:27
Original comment available on version: ru

does not work :(
Or it stopped working, now we are checking
Here is the item
http://box.magbaby.ua/admin/shop/products/25193/edit/
Here are the ingredients

Each of the components is in stock, just 1 of them is in the wrong warehouse

That is, the product must be "under the order" according to the settings
__________________________________
1. if there are all components in the main warehouses (selected) - pass true
2. if some of the components is not on the main ones, but is on the others - we pass false
3. if any of the components is not in stock at all - we transfer emptiness
If such logic is necessary - please confirm, I will redo it.
____________________
but this does not happen in export
item in "out of stock" status

Here is the download
http://box.magbaby.ua/admin/shop/priceplaces/?id=17
settings have not been changed, please check
25.01.2022, 15:02
Original comment available on version: ru


Can you please tell me why it doesn't work as it should?
30.01.2022, 11:35
Original comment available on version: ru


Could you look at an example?
Products are not in the correct stock on the site, customers order what is not in stock
02.02.2022, 11:02
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