Thus, there is a need to drop the above limitations and develop a more general inventory model in which the demand and deterioration rates are functions of time, each cycle has its own demand rate and its own trade credit so that many of the previously introduced models can be obtained (if needed) as special cases of a such general model. The purpose of this paper is to generalize most of the above introduced models in the following fronts.