blue
11/25/2019, 2:40 AMAlex Hirota
11/25/2019, 2:46 AMblue
11/25/2019, 2:53 AMAlex Hirota
11/25/2019, 2:56 AMmichoel
11/25/2019, 2:58 AMAlex Hirota
11/25/2019, 3:07 AMblue
11/25/2019, 3:11 AMmichoel
11/25/2019, 3:15 AM/* comment */
is a hack to trick NetSuite to let you use Oracle analytic functions. There's a great explanation here: https://blog.prolecto.com/2015/05/26/solving-the-netsuite-cumulative-saved-search-tally-challenge/blue
11/25/2019, 3:34 AMmichoel
11/25/2019, 3:35 AMmichoel
11/25/2019, 3:37 AMCASE WHEN SUM/* comment */(1) OVER(PARTITION BY {number}, {type}) > 1 THEN '<div style="background-color: red;">' || {number} || '</div>' ELSE {number} END