On the bullwhip and inventory variance produced by an ordering