Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Quick help with Case When formula
This is likely a very simple thing, but I just can't get it to work. Ultimately all I want is a statement that says "if the type is credit memo, use the negative amountremaining, else use amountremaining"
I assume that a case when statement is what I'll use for this, but I keep getting "invalid expression" when I run the search. I based this formula off of what I saw others use in this forum. The field names *should* be right as I grabbed the name by selecting them from the field list.
Case when {type} = ’Credit Memo’ THEN –{amountremaining} when {type} != ’Credit Memo’ then {amountremaining} END
0