i am trying to create a capcaity planning module for a manufacturing company that has multi levels of BOMs.
i have brought in the TOP level using historical sales.
this knows what machines these sales products were run on.
i have then connected what Plain products are needed along with the machine that that runs on
along with the sheet it uses and again what machine the sheet runs on.
so in essance i can have
top level - product a - 100.000 for march 2020
plain stock - plain stock used for product a - 100.000 for march 2020
sheet stock - sheet needed to create plain stock for product a - 780.000 for march 2020
each of these are on the same sql line but all run on a different machine and have different quantities.
i am needing to group all the quantities per machine and months.
can anybody help
happy to give more information