Feature orderstocklocation

This started as me poking around trying something out, but escalated quickly into a solution for a feature request.  Greg - let me know if this approach is ok or if something needs to be changed/tweaked.