In this research, the interarrival time of each customer into a store and the purchasing quantities of perishable goods by customers can be seen as random variable. Under this circumstance, it is a very important issue for decision makers to plan an optimal inventory strategy to maximize the total expected profit. However, the demand of product and manpower allocation are variate in different periods. Therefore, the main purpose of this study is to formulate an inventory mathematical model under the consideration for different parameters. Based on transaction data and optimization techniques to find out the optimal ordering quantity to maximize the total expected profit. Sensitivity analysis is also taken for system parameters. Sum up all of products’ transaction data in each period to decide the suitable manpower allocation. Finally, a numerical example is analyzed, and demonstrated. Five conclusions were drawn for further studies and practical applications.