How to track the status by Batch No

My factory is manufacturing doors. We count every 20 products into 1 batch. Because we need to send products by containers and pallets, each pallet can only hold 20 doors. So it is easier to manage items if we count 20 products each batch.

Now we want to track every batch’s purchase order, item code, and the progress of it (update info by barcode scanner on each workstation), quality control, then show all of them on a Kanban.
Is it possible? I see that only finished products can have batch number right now, and job cards / work orders cannot separate them into batches (20 each).
Or, is there a better way to track the status of semi-manufactured-product?