Hi, BC doesn't really give you a undo of a registered pick. The movement worksheet moves the stock physically, but it doesn't touch Qty. Picked on the prod. order component line, so the order still believes the wrong lot is picked and sitting in the to-production bin. That is the link you are missing.
If consumption was already posted for the wrong lot, reverse that first — negative quantity in the consumption journal with the same lot. It comes back to the to-production bin, then you move it out with the movement worksheet.
For the correct lot the is that Qty. Picked is cumulative, so a fresh pick for the same expected quantity won't be created. What you can do is add a separate component line for the correct item tracking, or raise the expected qty, and pick against that.
Glad to help - follow up if anything is unclear.
► 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