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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Source field not available to Workflow and Script?
I need to run a script on Vendor Bills, but only one ones brought in from Nexonia, which uses Web Services. I am trying to create a condition based on Source, but the Source comes across as null. However, when I add the Source field to my List View in the UI, I can see a value of "Web Services". The Source field doesn't seem to have a value when accessed through script or Workflow. Is there a different, hidden field for the stored Source?
this is my criteria in the UE script, which runs on AfterSubmit:
var source = newRec.getFieldValue("source");
0