Hi Craig,
Neglect stock posting of batch 5054.
Consider stock posting of batch 5057.
For stock posting I have entered 7 quantities for return to vendor and 3 quantities to unrestricted stock.
Material document posting is right.
In MMBE t-code 7 quantities are still in quality inspection and 3 quantities in unrestricted stock.
Below is the screenshot of log-