There should be an option in the inventory to redeem how many units of one resource should be withdrawn to use .
For eg: if I need 2 diamonds and I have 30 in my inventory when I click the CLAIM option the total amount of units that my store house can store (in my case it's 26 now) is redeemed...