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
Average Sold Per Day
This will be my first SuiteScript-ing.
I want to write a script to store in a custom field the Average Sold Per Day for inventory items. My plan is to query Sales Orders for the given item, sum the quantities of the line items connecting the given inventory item to the given Sales Order, divide by number of days, and store the value.
Can anyone point me in the right direction to start on this kind of operation?
I'm looking over the documentation but it seems like if someone who knows what they're doing takes 30 seconds to get me going, it'll save me hours.
0