Mandatory field in SAP Business One: BatchNumber.
To display the form in the application:
To deallocate batches without actually remove them from the stock (based on a delivery document) is to update the Sales Order so that it has no batches defined. Note that batches allocated by Reserve Invoice cannot be deallocated. Batches allocated by Reserve Invoice can only be drawn to a Delivery or Invoice document.