issue #20734: Build out basic algorithm to handle inventory distirbution. First Pass.