I'm trying to target open AP invoices in a Generic Inquiry, but no matter what I try, the formula always defaults to the else condition.
- =IIF([APInvoice.Status] = 'Open', 0, 1)
- =IIF([APInvoice.Status] = 'O', 0, 1)
- =IIF([APInvoice.Status] = 'o', 0, 1)
- =IIF([APInvoice.Status] = 1, 0, 1)
- =IIF([APRegister.Status] = 'Open', 0, 1)
- =IIF([APRegister.Status] = 'O', 0, 1)
- =IIF([APRegister.Status] = 'o', 0, 1)
- =IIF([APRegister.Status] = 1, 0, 1)
I’ve also confirmed that my conditions are limited to open and closed invoices, yet the formula always returns the result for the else part.
Any insight on how the status field is actually stored or how to get this to work would be appreciated
Thanks!


