dispatch details and working on edit batch details