Map/Reduce script FAILED while triggering from Restlet.

Script let processTask = task.create({ taskType:task.TaskType.MAP_REDUCE, scriptId:’customscript_hms_fix_hospice’, deploymentId:’customdeploy_hms_fix_hospice’, params:{custscript_hms_data_to_be_processed:queRecId} }) try{ let processId = processTask.submit() }catch(err) { if(err.name != “NO_DEPLOYMENTS_AVAILABLE”) { // If error except no deployments availble log.error(“error”,err); throw err; } } getInputData works fine. Map reduce work while clicking on save & Execute Issue: The integration record should have following permissions to access… Continue reading Map/Reduce script FAILED while triggering from Restlet.

Standard PDF invoice

Jira Code: FEN-81 Need to create to PDF Invoice which will display the data from the Invoice record. We also want to fetch the kit components separately.Standard invoice PDF/HTML template is used for the requirement. Normal Item Template

Sample Suitelet – User interface Form

/** * @NApiVersion 2.1 * @NScriptType Suitelet */ /** * Simple form with Name field – Say hello */ define([‘N/ui/serverWidget’], /** * @param{serverWidget} serverWidget */ (serverWidget) => { /** * Defines the Suitelet script trigger point. * @param {Object} scriptContext * @param {ServerRequest} scriptContext.request – Incoming request * @param {ServerResponse} scriptContext.response – Suitelet response *… Continue reading Sample Suitelet – User interface Form

Oneweld – Set Acccount as “11003 OneWeld Receivables”

Jira No: TAIP-671 Requirements Set  “11003 OneWeld Receivables” account is automatically for newly created customers – Oneweld website Solution We need to update the account registration function to set the Default Receivables Account to  “11003 OneWeld Receivables” for the customer who creates their own account on the oneweld.ca website Budget and Time Description Time Required… Continue reading Oneweld – Set Acccount as “11003 OneWeld Receivables”