Hi Everyone,
I’m trying to understand formulas in GIs. The documentation does not provide guidance on how to use formulas. There is a Report Designer guide that lists each formula and how it’s used (Isnull() on p. 63) but it lacks detail about how data types affect expressions within the formula. If you know of another resource, please share :-)
On to Isnull(). Here’s the documentation.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/9351e6a9-56a4-4fe3-8d82-20b90e9edff3.png)
I’ve written a simple formula with unexpected results:
=
Isnull(
CStr( 'NULL'
)
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/a6d9c196-5158-4d35-8455-3c5b27bd6461.png)
in row 1, ‘9698’ does not match either of the referenced columns. Why?
My ultimate goal is to have this algorithm in a way that Acumatica understands:
If CustomerID is null, return ReferenceID, else return CustomerID