Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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.