Formula Return Type = Number
I have set this up as such:
If(Accounts.30 Day Trial Date Setup
=! null, (Datecomp(${Accounts.Invoice Date},${Accounts.30 Day Trial Date Setup}))/1440, (Datecomp(${Accounts.Invoice Date},${Accounts.Inquiry Date}))/1440)
No matter what I keep trying I keep getting an invalid argument error. I believe this is because the If statement is checking a Date field, however the formula returns a Number.