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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
NetSuite Admin Tip | View Invoices using SuiteScript Search Module
As an Administrator, there are times when you need to quickly review or extract specific transactional data without going through multiple saved searches or reports. If you're looking to programmatically retrieve all invoices from a specific date onward—like the beginning of 2025—SuiteScript can help streamline this task.
Below is a simple SuiteScript 2.x example that creates a search for invoices dated January 1, 2025, and later. It then logs key details such as the Invoice Number, Customer, Total Amount, and Transaction Date.
require(['N/search'], function(search) {
var invSearch = search.create({
type: search.Type.INVOICE,
filters: [
['mainline', search.Operator.IS, 'T'], Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Advanced Accounting. RSVP on this event now!
Tagged:
0
