Defer line with open po

Defer line with open po. At the present time you can defer a line with a po. We would need that you can’t defer a line with an open po, just like a work order. we need to have a pop up saying that this line is attached to an open po prior being able to defer the line.