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.
Month: June 2021
Oneweld.ca : Shipping Methods
Jira No: TAIP-677 Requirements FREE SHIPPING – available for any order amount and the shipping cost is Free! – this should be the only shipping option available Solution We have to extend the function used for the shipping methods in checkout to filter the shipping method list. Also, we need to create a configuration object or… Continue reading Oneweld.ca : Shipping Methods
Reallocate Log Enhancement V2.0
Reallocate Item Log
Estimate, SO, and Invoice PDF Updates Proposal
Estimate, SO, Invoice Form and PDF update
Numerik integration proposal
Netsuite-Numerik Integration
Sales Data
Proforma Invoice Proposal
Proforma Invoice
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
Attaching Records to A support Case
Solution We can attach records to a support case by following code syntax : record.attach({ record:{ id: caseid, type: record.Type.SUPPORT_CASE}, to: {id: id, type: ‘transaction’} }); Where case id – case record internal id id : internal id of the transaction which we want to attach Module : N/record
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”