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??