Hi Clint

I think you should capture the contract number a different way than through the use of the APL. If one invoice always contains only items on one contract, then you can enter it into an Optional Text field and have GridView filter on it.

If one invoice can have items on multiple contracts, then that's trickier, since OrderEntry doesn't have an Optional Text field at the detail level (yet). It would have to be a prefix to the item description.

It might be helpful to see what kind of a report you are generating from GridView, because I am not sure I understand what you are trying to accomplish.

Steve