Hi, from the screenshot all these components point to the PLANNING YMMT batch, but the parent lines behind them seem to be gone. Show opens the worksheet and finds nothing, so it looks like orphan planning components. They still count as demand for D20ZZW00010, and lot-for-lot just covers them, that’s where your extra purchase quantity comes from.
I seen this mostly when people run planning in more than one batch, or delete lines from the worksheet in a way that leaves components behind. Planning from another batch then sees them as real demand.
What I would do, go through all batches of the planning worksheet template, YMMT included, and delete every line. Then run Calculate Regenerative Plan once, in one batch only. If the order tracking still shows these lines with nothing behind them, they’re stuck orphans and somebody needs to clean them up with a small codeunit, there’s no page in standard to delete them.
► If this solved it, marking it verified helps others too.
Regards,
Grigorios Mavrogeorgis
Business Central Consultant & AL Developer
Work: Gmsoft Limited
Blog: insidebusinesscentral
LinkedIn: linkedin.com/in/gregorymavrogeorgis