I am trying to burst invoices by email and printing for the 3 scenarios below.
1) Email invoice if delivery method is Email AND the email address is not NULL.
2) Send an email internally when the delivery method is Email AND the address is NULL (to ensure corrected)
3) Print invoice if delivery method is NOT Email (could potentially want to print in case #2 also).
Is it possible to have code do 1-3 in the filter for the xapi template (ANDs and ORs)? If so, what is the syntax? If not, are there alternatives? Can NULLs be included in the filter?