`CASE WHEN {type} = 'Estimate' THEN {tranid} ELSE ...
# suiteanalytics
j
CASE WHEN {type} = 'Estimate' THEN {tranid} ELSE NULL END
- is this not valid for finding Estimates? It works for the Sales Order, but on the same search, they also want the doc number of the last Quote as a separate column. They could be unrelated transactions.
n
{transaction.type}
a
If Rusty's suggestion doesn't work, try switching null to ''.
j
Thank you! I will try these and let you know!
@Nicolas Bean I get ERROR: FIELD NOT FOUND with your suggestion. Thanks, though!
n
what are your search criterias?
j
@Nicolas Bean I got it to work by replacing NULL with ' '.
n
nice!
j
Thanks everyone! 🙂