Skip zero quantities when prefiling an inventory

issue3976
review6391002