Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2950 Представления

If at least one component is not available, the online sale of the finished product is blocked.


Аватар
Отменить
Автор Лучший ответ


1. Configuration of the finished product:

  • One BoM

  • Routes: MTO & Manufacture

  • Out of stock: continue selling is TRUE


2. In the BoM line itself:

  • Add the “Free to Use Quantity” (and make this field stored in the database)

  • Add a checkbox “To Reorder”

  • Create the automated actions below



  • And the opposite automated actions:


(30 or more if you have more than 30 lines in your BoM)


Each time you will have a component stock equal to 0, the BoM line will be moved up (the sequence will be equal to 1):


3. In the product form:

  • Add the related field “To Reorder”

  • Create the automated action:


  • And the opposite automated action:



Now, when a product will have at least one of its component out of stock, the checkbox “continue selling when out-of-stock” will be unchecked. As the product is manufactured on demand, the stock is always 0, and the product will not be saleable on the webshop.


Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
янв. 24
5244
3
авг. 23
5589
1
апр. 24
15990
2
авг. 22
6323
0
апр. 25
1141