All,

I have the following query:

query "Open RTV Lines"
    line : DetailLine(status in (StatusConstants.OPEN, StatusConstants.PARTIALLY_MATCHED))
end

And what appears to be happening is it is only picking up those lines that are marked with StatusConstants.PARTIALLY_MATCHED and not those marked with StatusConstants.OPEN. 

Now here is the rub, if a line gets marked as StatusConstants.OPEN then it gets pulled off the agenda for further processing.  Could this be why it is not getting picked up by the query?

Ron