Shelby Owens
04/03/2025, 7:03 PMCeligo AI
04/03/2025, 7:03 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To mass delete 10000s entries of a custom record, you have a few options: 1. Mass Update Script: You can use a Mass Update Script to delete the records. Here is a sample script:
javascript
/**
 * @NApiVersion 2.1
 * @NScriptType MassUpdateScript
 * @NModuleScope Public
 */
define(['N/log', 'N/record'], function(log, record) {
    function each(params) {
        const { type, id } = params;
        record.delete({ type, id });
    }
    return { each };
});Celigo AI
04/03/2025, 7:03 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.854717553
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851487398
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850816727
Celigo AI
04/03/2025, 7:03 PM