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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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