Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Why Are My CASE WHEN Formulas Working Inconsistently?
Hello Gurus!
I need a little help please. We have some formulas that do not have any "expression errors". However, they are not picking up values as expected.
Formula 1:
CASE WHEN { recordtype } IN ( 'cashsale', 'itemfulfillment' ) THEN { cogsamount } ELSE 0 END
Formula (currency), summary = sum
Use case: I have a cash sale trx and an IF trx that use the cogs accounts and show it in GL impact. However, when I run this formula, other components of the search are valid, such as inventory affected and display correct numbers, etc., but the cogs column is empty. Interestingly, it works for some older, pre-existing trxs affecting cogs accounts, but not my new trxs. I compared those old trxs with my new test trxs and i don't see any difference in terms of any setup or any account usage. Any ideas?