cancel
Showing results for 
Search instead for 
Did you mean: 

SAC: Not equal to sign in Data Action script?

kashif_abbas1
Explorer
0 Kudos

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

 

Accepted Solutions (0)

Answers (2)

Answers (2)

N1kh1l
Active Contributor
0 Kudos

@kashif_abbas1 

You can just exclude in the scope definition

MEMBERSET [d/Customer] !="#"

In DATA() and RESULTLOOKUP() != is not allowed.

 

Hope this helps !!

Nikhil

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 😊)