Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
back to school for me...
I've written a script to colour code the background of the user interface based on subsidiary so you can have a visual reminder of what company you're working within in OneWorld.
function setColour()
{
var subsid = nlapiGetFieldValue('subsidiary');
{
if (subsid == 1)
{
document.getElementById('div__body').style.backgroundColor="#FFFFCC"
}
else if (subsid == 3)
{
document.getElementById('div__body').style.backgroundColor="#CCFFCC"
}
}
}
But this only works in edit mode. What am I missing here? Or can't this be done in view mode?