var curRate = nlapiCreateRecord("customrecord_currency_exchange_rates",{recordmode: 'dynamic'});
serverDt = "09/25/2013 06:00:01 am"
var timezone = compConf.getFieldText('timezone');
curRate.setDateTimeValue('custrecord_effective_date' ,serverDt ,timezone);
nlapiSubmitRecord(curRate);
您好,我尝试设置日期/时间类型的custrecord_effective_date字段。但执行后它会在下面给出一个错误。 如何设置此字段?如何在netsuite中使用suitescript设置日期/时间字段
感谢您的帮助。
INVALID_FLD_VALUE您输入的字段值无效2013年9月25日上午6时00分01秒的以下字段:custrecord_effective_date
它是什么样的字段'custrecord_effective_date'? – Rockstar
它是一种日期/时间字段 –