I want to show all unblocked customer printed invoice, i did this code in my page, however I only get all invoices from one unblocked customer, how should I get all printed sales invoices from a list of Customer? Am I do this alright to use Rec:=xxxx?
IF Cust.FIND(’-’) THEN BEGIN
SalesInvoiceHead2.SETRANGE(“Sell-to Customer No.”,Cust.“No.”);
Rec := SalesInvoiceHead2;