[Customer_Code]=custcode and [Inv_Nr]=blank and not (deleted)