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!
Scripting Help
I'm trying to use scripting to enter a log whenever a Project reaches a certain 'Stage' and my very very limited Java knowledge has got me so far but rather unsurprisingly it doesn't work as it 'expects a conditional expression'.
Any thoughts??
function AssignmentStage() {
var stage = NSOA.form.getValue ('project_stage_id');
if (stage = 4)
{NSOA.meta.log ('Assignment Closed: ' + new Date)}
}
0