Filter Inventory Dimension values based on stock data

Set up

We have created Inventory Dimensions named Rack. When adding Purchase Receipt, we set the Rack value for every document.

What we need

How do we limit the Rack list to only show those Racks where the Item was actually stored during Purchase Receipt?