Understanding stock levels

Hi there.

Can someone please explain how the stock levels works? Also, what is the difference between actual qty and waiting qty?