This message was deleted.
# suitescript
s
This message was deleted.
n
because blank is not equal to '-None-' The blank is a value, and 'None' is a text. Also, you might not want to do that.
What you should write is something like : if(srno != '') or even better if(srno && srno.length > 0)
p
even they are showing the none value
n
Then there must be a space or something that is missing in your comparison. Try copying that None from the Log and use trim in the comparision. Something like: if(srno.trim() != '- None -') should resolve your problem.
p
thnx its work
👍🏻 1