Rent of Warehouse needs to be distributed into valuation rate of Warehouse stock

Hello ERPNext Team,
Kindly help in the below use case.
When stock is transferred into a WH, if we add transport cost, the cost gets added on to the valuation rate of these items transferred.
Now assume i have 100kg of rice, 200kg of wheat at a WH.
Assume i pay rent(10K per month) to this WH.
Now i want to distribute this monthly rent of 10K between the rice and wheat based on their quantity so that the valuation cost gets updated every month, how do i do that.

Pls let me know.

Any help on this pleaseā€¦