General Distribution System with Batch Wise Stock