Hi, Is there a way to validate search formulas? ...
# general
m
Hi, Is there a way to validate search formulas? I have this one
Copy code
CASE WHEN FLOOR({custcol_ed_total_discount})={custcol_ed_total_discount} THEN TO_CHAR({custcol_ed_total_discount}) ELSE CONCAT(TO_CHAR(ROUND({custcol_ed_total_discount}, 2)), '000') END
something is wrong with it, but I can't figure it out
s
avoid complicated search formulas.
🧐 1
seriously. They are difficult to debug, as Marwan is finding out.
m
I have too. The data will be imported into another system, that has a lot of requirements on how the data should look like.
s
Perhaps consider a script to post-process the data prior to it being made available to the other system? On a broader level, perhaps considering a dedicated analytics tool (e.g. outside netsuite)?
m
I guess we will have to process the data first yeah.
k
plop it into Analytics, it will tell you what’s wrong