Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
HELP! Simple Delete Records Mass Update Script
This script should be so straightforward to implement but it's returning an error that I can't figure out how to correct.
I created a new Mass Update SuiteScript to Delete Record types via Mass Update.
Here it is:
Function delete_records(recordType, recordID)
{
nlapiDeleteRecord(recordType, recordID); // Delete record
}
But, the error that is coming back once I run the mass update is: Error: UNEXPECTED_ERROR
missing ; before statement (DeleteRecords.js#1)
What am I missing???
Thanks!