Schedule Script for Invoke the Existing Saved CSV Import

/**  * @NApiVersion 2.1  * @NScriptType ScheduledScript  */ define([‘N/search’,’N/record’,’N/file’,’N/task’,’N/email’,’N/runtime’],  function (search,record,file,task,email,runtime) {       function execute(scriptContext) {    try {         log.debug(“scriptContext.params”,scriptContext)                   let script = runtime.getCurrentScript();                             let recId = script.getParameter({           name: ‘custscript_jj_custom_rec_id_apun_154’ // Replace with your script parameter ID         });                   log.debug(“recId”,recId)         let customRecDetails = CustomerPriceListDetails.getCustomerPriceListDetails(recId);         customRecDetails.recId = recId;         CustomerPriceListDetails.updateCustomerPriceList(customRecDetails);              } catch (error) {     log.error({title:… Continue reading Schedule Script for Invoke the Existing Saved CSV Import