Rephrasing your query,
You have three w/c WC1, WC2, and WC3 and QM is activated after GR at WC3, Correct?
You can make a characteristic LOT_NO, assign it to the 023 class of this material(s). Put the values like 1,2 and 3 for the first, second and third lot/run respectively during first confirmation.
Now, when this batch is issued to next w/c, you can use the functionality to copy LOT_NO value to output batch. Similarly, copy this to trimmed output batch.
So whenever, there is some defect, QA inspector can refer the Lot_No to get the lot/run detail.
I hope this helps !
ntn