Script Execution and Time displayed on Map/Reduce Deployment

To set a scheduled submission, the Status field on the deployment record must be set to Scheduled. Additionally, you must configure one or more upcoming times on the record’s Schedule subtab. Deployment times can be scheduled with a frequency of every 15 minutes. For example, you could configure a script to run at 2:00 pm, 2:15… Continue reading Script Execution and Time displayed on Map/Reduce Deployment

Binding Map/reduce script to Suitelet

Create a suitelet script file and call the dependent Map/Reduce Script   let scriptTask = task.create({         taskType: task.TaskType.MAP_REDUCE,         deploymentId: ‘customdeploy_jj_mr_xyz’,         scriptId: ‘customscript_jj_mr_xyz’,         params: {           ‘custscript_jj_from_date’ : dateFrom,           ‘custscript_jj_to_date’ : dateTo         }         });         log.debug(“param Dates”, scriptTask.params);         scriptTask.submit();            let taskStatus = task.checkStatus({            taskId: scriptTask.id         });         if (taskStatus.status === ‘FAILED’) {            const authorId = 6;            const recipientEmail… Continue reading Binding Map/reduce script to Suitelet

Payment Notification to Customer Contact

Map/Reduce Script to send the payment notification email for Billing Contact of Customer, using Merge template function. Script uses all externalized, searches, email templates etc. /**  * @NApiVersion 2.1  * @NScriptType MapReduceScript  * @NModuleScope SameAccount  */ /*************************************************************************************  Update tax item for customers * Description : Map/Reduce Script to send the payment notification email for Billing… Continue reading Payment Notification to Customer Contact

Creating IF, Invoice and Payment Record From Sales Order

The client needs to create IF, Invoice and Payment Records from sales orders. The sales order details was given in CSV file and Inventory setup was need to do in IF. /**  * @NApiVersion 2.1  * @NScriptType MapReduceScript  */ define([‘N/record’, ‘N/search’,’N/file’,’/SuiteScripts/Jobin and Jismi/RLPL-143 IF_INV_Payment Automation/papaparse.min.js’],     /**  * @param{record} record  * @param{search} search  */… Continue reading Creating IF, Invoice and Payment Record From Sales Order