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.
bug with ie7,8 when nlapiSetCurrentLineItemValue call
Hi. I have a client script, which disables and sets value at some field (taxcode) in the current line in subtabs Item, when user adds an item.
Exceptions arise in this line:
nlapiSetCurrentLineItemValue("item", "taxcode", 116, nlapiGetCurrentLineItemValue("item","taxcode").length==0, true) This code generates 3 errors with the exception:"Uncatch exception: [Object object]".
All parameters are correct. 116 is the ID of the existing taxcode provider.
When I called this code in the IE debugger, it works correctly without exceptions.
When I looked at this error using debugger I saw that nlapiGetCurrentLineItemValue method consistently called a lot of Netsuite .js files and the exception was generated in these files.
0