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!
Unlink invoice from opportunity
Hi everyone,
In order to improve our performance, we decide to remove opportunities created 6 months ago or before; about 500,000 records.
We're using nlapDeleteRecord to remove the records; but we are receiving the following error message:
This transaction cannot be deleted because it is linked to by one or more transactions.
The linked transactions are invoices. I unlinked the opportunity from the invoice (the opportunity field from the invoice was cleaned), but we are still receiving the same error message.
Could anyone help me with this problem?
Thanks in advance,
Harry Obregon
0