MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.