Hi, I would like to create a simple IF Statement, if value from field like example Payment_XLNVIRI=“Vorkasse” then print “VK-Rechnung”, else “Rechnung”.
I tried like this, but I can see it does not work.
iif(FreeTextInvoiceHeader/ExtensionFields/@Payment_XLNVIRI=“Vorkasse”,“VK-Rechnung”, “Rechnung”)