I experienced the same issue some time ago.
I did the query that the Line | Item Receipt Line do.
It use very complex way to find the Receipt Line, using the Value Entry. What a very complex way, isn't it?
Unfortunately, since it uses Value Entry as the compass, it should only work just for ITEM.
But, how about G/L Account, etc?
I then find a little bit workaround here. I did a little customisation:
Add a new field Purch. Receipt No. and Purch. Receipt Line No., and add a code to fill these fields with those standard fields "Receipt No." and "Receipt Line No.".
Add these new 2 fields into the Purch. Inv. Line table too.
So, once you Get the Receipt Lines, these new fields are populated, and when you post the Invoice, you could pull that information later :)
From now on, leave that complicated Value Entry query ;)
I have tried it, and it works like a charms! Give it a try!