MUHAMMAD MUBUSHER ASLAM
01/28/2021, 7:18 AMWatz
01/28/2021, 7:19 AMWatz
01/28/2021, 7:20 AMWatz
01/28/2021, 7:53 AMMUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:12 AMWatz
01/28/2021, 8:13 AMMUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:13 AMWatz
01/28/2021, 8:14 AMWatz
01/28/2021, 8:15 AMMUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:16 AMdefine(
[
'N/search',
'N/record',
'N/cache',
'N/format',
'N/https'
],
function (search, record, cache, fmt, http) {
function updateRecord(context) {
try {
const id = context.recordId;
const type = context.type;
const values = context.values;
const options = context.options;
return JSON.stringify(record.submitFields({
id: id,
type: type,
values: values,
options: options || {}
}));
} catch (err) {
log.debug({
title: 'PUT',
details: JSON.stringify(err)
});
return JSON.stringify(err);
}
}
return { post: updateRecord };
});MUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:16 AMMUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:16 AMWatz
01/28/2021, 8:20 AMWatz
01/28/2021, 8:23 AMMUHAMMAD MUBUSHER ASLAM
01/28/2021, 8:26 AM