wsangster
09/02/2021, 7:40 PMobjRecord.setText({
fieldId: 'custrecord_created_from_so',
text: '<a href=' + salesOrderUrl + '>' + salesOrderText + '</a>',
});
I have tried with .setValue and .setText.
With this bit of code it just drops in the value but when you view the record you can see the <a href>
If I use the console window with the custom record in edit mode and type nlapiSetFieldValue('custrecord_created_from_so','<a href=https://{url to sales order}>SO10487</a>')
it give me the hyperlink with just the SO10487.CD
09/02/2021, 8:41 PMwsangster
09/02/2021, 9:05 PMwsangster
09/03/2021, 1:17 PMCD
09/03/2021, 1:22 PM