BOM order stock requirements (with priority)

Haha no worries.

My point is about the complexity that’s there. In fact, it shouldn’t be that hard, but I believe I’m missing something …
For each bom item, go and get the ordered quantity of the order line of current order. Multiply this with bom item qty. Finally, do cumulative total of that total at bom item level based on the ranking of the orders. Just tried that on the EDNA bot … no luck.