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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Statement to show most current invoice
Hey guys.
I am generating the invoice and statement at the same time through SuiteScript.
I generate the invoice first and commit it by calling nlapiSubmitRecord.
I generate the statement with following parameters:
Statement date in the future: invoice date= 1/25/2012, Statement date= 2/1/2012
Blank value for startdate.
False to Only include open invoices
The PDF version of the statement does NOT include invoice I just generated. When generate the statement thorugh UI, it includes it.
any idea on this?
:h_a_w::h_a_w:
0