/**
*@NApiVersion 2.1
*@NScriptType ClientScript
*/
define([],
() => {
saveRecord = (context) => {
const currentRecord = context.currentRecord;
let memo = 'Testing';
let poNumber = 'PO Number'
currentRecord.setValue('memo', memo);
currentRecord.setValue('otherrefnum', poNumber);
return true;
}
return {
saveRecord: saveRecord
};
});
require(['N/record'], function(record){
});
require(['N/record'], function(record){
record.submitFields({
type: record.Type.SALES_ORDER,
id: 15135,
values: {
memo: 'ABC'
}
});
});
Jaime Requena is a seasoned NetSuite Consultant and Solutions Architect, known for delivering WHITE GLOVE service to businesses. With 15+ years of experience and 3x certifications in ERP, Developer, and Admin, Jaime specializes in highly customized NetSuite accounts, transforming operations for 200+ satisfied customers all across the globe.
We aim to bring unmatched expertise and professionalism to your NetSuite initiatives. Let’s talk about how our NetSuite consultancy can make a difference!
It’s Been 4+ Years Now And We Have Worked With Hundreds Of Clients, Building Our Way To The Top, One Happy Client After Another! Their Voices Of Satisfaction Serve As A Testament To Our Success –