An inventory system with periodic regular review and flexible emergency review