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!
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