Hi Darren,
I remind to have lost a lot of time, some month ago on something similar.
Bins are managed by stock units and document lines by sales units. And with a bit of luck, they are different and the factor to go from the second (sales unit) to the first (stock unit) is not one. So you have unallocated quantities, by using the same number.
Regards,
Eric