We consider a stochastic dynamic single product inventory model with finite horizon and allow the demand process to be dependent. Conditions are found for the optimally of a (zZ) strategy. In case of an independent demand process the results carry over to the optimality of an (sS) strategy.