SO Line Cancellation

Basically, I am trying to cancel an SO line from Update > Deliver and its throwing below messages. Pls suggest a way out via configuration or this is a bug? Thanks

Rest other lines have been invoiced in the same SO.

pastedimage1562860551204v1.png