working on batch qty validation