I have created a layout in Crystal reports for AR Invoice. There are some case when I don't want to print the Invoice. I put the condition in the Record selection (after DocKey@ = OINV.DocEntry with "and") and I have chacked "suppress printing if no records selected".
When I preview in Crystal I get a blank page, what I wanted. But when I print in SAP Business One I get error:
Error during printing; ensure all parameters are defined
Error while printing; one or more pages cannot be printed
This is annoying but tolerable.
When I choose "Document Printing" function in SAP B1 to print more invoices then I get the same Errors and the printing interrupts after the first invoice (what I don't want to print.) So this function is unusable.
I use SAP B1 9.0 - PL08 and Crystal Reports 2011 (for SAP Business One)