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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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