cancel
Showing results for 
Search instead for 
Did you mean: 

SAC: Not equal to sign in Data Action script?

kashif_abbas1
Explorer
634

Hello there,

in the example, i want to specify that all customers are in consideration. So i want NOT EQUAL to #. Any idea how can i implement it in SAC? Its subset of Javascript so i assume the syntax should have worked

kashif_abbas1_0-1712822230643.png

 

View Entire Topic
ThomasK
Participant
0 Kudos

Hi,

this should work.

IF [d/Customer] != "#" THEN
	DATA(...) ....
ENDIF

For each DATA and RESULTLOOKUP statement where [d/Customer] should be different as in the IF you have to define it explicitly (e.g. [d/Customer] = "#"

BR Thomas

(If helpful thanks for Kudos 😊)

PrasangSachdev
Discoverer
0 Kudos