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
Price Levels
Is there a way to access price levels from a script? I am trying to assign a price level to a customer based on the partner they are associated with. I have 2 problems:
1) I can't seem to create a custom field for partners of type price list
2) I can't access the price list from a script. Below is the code trying to access the price list:
// filter out all customer records that don't have the promo code value from the sales order var filters = new Array(); filters[0] = new nlobjSearchFilter('name', null, 'is', custentitypricelevel); var searchresults = nlapiSearchRecord('pricelevel', null, filters, null); 0