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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Record Does Not Exist Error
I wrote a suitelet script that allows me to select the record type and submit it to delete all records for that record type. I'm doing this to cleanout my production environment in preparation for go-live. The issue that I'm running into is after the record is deleted, I get an error stating the Record does not exist which throws an error and forces my script to stop. I'm not sure why it's doing that.
Here's the error I'm getting.
Function: productioncleanup
Error: RCRD_DSNT_EXIST
That record does not exist.
Stack Trace: deleterecords(ProductionCleanup.js:92)
productioncleanup(ProductionCleanup.js:52)
My debug logs shows the record was deleted right before and I do notice that when I manually delete a record, it takes me back to the record so it gives me this error.