Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Empty fields not returning '' ???
I may be going insane here, but here's what I am doing -
if( invoice.getFieldValue('custbody_linked_journal')=='') {
So normally, if the field I am checking has no value, it will read '', so I can then do stuff.
I am running this code, and that if is NOT returning true. I have checked the value using log execution, and all I see is blank. And I KNOW this used to work. But now, no matter what I do, empty fields are not returning '', nor null, nor anything I can actually compare against.
Crazyness??
0