Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Script to enable reservation of inventory to non-webstore customers
I have a need for a scheduled script which would be able to disable webstore sales for items if their available quantities fall below 2 weeks supply, in order to reserve this inventory for our B2B customers..
Basically, if specific location qty available is at or below 2 weeks supply (previous 90 days sales / 6), then script would check box “true” on field “Don’t Show Price” (Field ID: dontshowprice ). Otherwise, It would un-check same box (items are now back in-stock, and available for sale in webstore).
We want the items to continue to display on out site, just not for sale......
I think this could be a fairly simple script, would greatly appreciate any help, or if someone could point me in the direction of somebody who may be able to write this for me.