Hi again!
I'm sorry, I was using orders and invoices interchangably. It is the Invoice file we are reading, and the Invoice is deleted by Order Entry personnel if an error is made, or the Order was cancelled.
Per AccPac, the Invoice itself remains in the files, but flagged as deleted. The invoice will also transfer over to AR, as this is a safety measure so that an Order Entry person cannot Invoice something, and then deleted the Invoice to have no record that this was done.
So, there must be some kind of flag to indicate if the Invoice detail or header is marked as deleted. Right? If so, how do I access it to prevent these deleted invoices from printing them?
My selection criteria does include "Document Type = 'Invoice'" and I feel that I am using the appropriate groups of "()".
Just to let you know, we only noticed recently that these deleted records were showing up. Not to say it didn't happen before, but.....
Thanks again for your help!
Jeff