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 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Mass closure purchase contracts
Hi community,
we have a list of purchase contract transactions (>150) that have to be closed.
We checked and there are not standard solution to do this update via Mass Update or CSV upload.
Thus, we create this following script:
var k = [6426656, 6426762, 6403895, 6404031, 6404033, 6404034, 6404035];
for (var j = 0; j < k.length; j++) {
close_remaining(k[j], 'purchcon');
}
We are running this script via console and it is working. However, it's working ONLY in the browser transaction page; it means I cannot run this script for multiple transactions.
Do you have a solution for this issue?
Thanks
Riccardo
0