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!
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
Client Script hack that could save your life!
Ladies/Gents,
Ever create a SS 2.0 script (or migrate one from SS 1.0) only to find an unsupported or non-working API call? Well, needless to say I have. One of my battles was to try and disable a sublist field.
Well, here's a hack you can use to continue to code with SS 2.0, and 'bridge the gap' of those missing SS 1.0 features.
Simply, access those old SS 1.0 functions from the 'window' object.
Example:
window.nlapiDisableLineItemField('assignee', 'serviceitem', true); // TODO: Come back and update once SS 2.0 is ready Notice: I 'tagged' this line of my code with a TODO, so that I remember to update it accordingly later.
0