Hello, I'm working on a project where we want to build a scheduling model. But there is one think that I'm dealing with for a while now. I want to capture mid phase stock. For example if we have part A, which has 5 sequences to be produced. But at previous order we did not push all the parts through production, so now we have some stock on different operations. What I want to achieve is, that when my order come I firstly look at general stock of finished products (OK). If there is not enough stock I want to look at how many parts I have on the stock before last operation, if there is enough I don't want to create new entities but use this stock and produced new parts. If there is not enough parts before last operation we of course look at every previous sequences and if there are still not enough parts only then I want create new manufacturing order and with that new entities. If any of you guys deal with system like that before it will be really helpful. If you haven't but have some idea how to solve this problem, it will also be helpful because I've already tried a lot of options and now I'm stuck. Best regards!