@All, I want to update one transaction body field ...
# suitescript
v
@All, I want to update one transaction body field having data type as date with current date. I have written user event script with below code var date = new Date(); var date1 = nlapiDateToString(date); var date2 = nlapiStringToDate(date1); nlapiSetFieldValue('custbody_xxx',date2); But the field is not getting updated