Material transfer of full/empty containers

I would like to log material transfers where an employee swaps a full container with an empty one. The container is essentially the same item, just that we have 2 serials. Now, depending on whether this item will be loaded or unloaded, I would like the ERP to change the item status from full to empty and vice versa.

Can someone come up with a solution to that? Where could we track this alternating item status?