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
Script to check if item quantity is less than 5, alert
I have a working script to check
1. Item available quantity is <=5,
2. popup a message " Available quantity is running low, please reorder".
However, the behaviour is not consistent.
1. When first item added is = 0, it gives the default netsuite message saying that item is .. 0 in back order, 0 available - which is fine.
2. If first item added is >= 5 but not 0, it gives my message saying"Available quantity is running low..."
Then, if my script was triggered first, it will never display the Netsuite message when item is less than or equal 0 again and not let user enter anything else or save the record.
0