Average Cost without Dock locations

SOLVED

We Want to find a way to exclude the products that are still in Dock locations from the average cost on the product site level?

For example

I have in Stock 10 PC with average cost of 1$ (The base amount is 10$)  

I received 5PC to the dock location with value of 2$ per PC  , the average cost in product site should not be affected neither the base amount  (should remain 10$ until I move it from the dock location to normal location)