The function of a warehouse is to store the goods and also to handle the goods inside a warehouse so…