This paper presents the solving mode of the optimal organization of storing parts in compartments, so that the delivery of random request be made within a unit of time (i.e. in a shift). The solving is made by using a limit theorem for dynamic series, in the case of two components of the store. Finally, the generalization of the problem for N components is suggested, supposing that every type of part can be stored in K compartments.