System is allowing to cancel the delivery without cancelling invoice.These days it was throwing error message, but now allowed.
Please check and put required validation.