inventory

I'm trying to close lines on a open purchase order and it says I can't.  I tried using the Receipt of Invoice and it will not pull over that purchase order.  Does anyone have any ideas?