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!
How to add new function in Models.js
While adding new function in Models.js ssp file is giving following error "Uncaught TypeError: undefined is not a function". I tried creating new function called removeLineAll in models.js and is called by Cart.Views.js. The function is meant for removing all items from the cart based on some item options value.
Do we have to define function as well some where?
0