简体   繁体   中英

Issue with Netsuite saved search formula

I keep getting an invalid expression. Does anyone know why?

This is my query:

case when {systemnotes.field}is 'Discontinued' then {systemnotes.date} else '' end

You need to replace the keyword IS with the equality operator = to test for equality between {systemnotes.field} and 'Discontinued' . Also check the formula type to ensure it matches the data type returned.

我认为您需要使用CASE,当{systemnotes.filed}就像“已停产” THEN {systemnotes.date}''END

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM