Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Create Transfer Fund using suitescript
Hello.
Please help to solve this problem. Here is my test code of suitelet script. I'm trying create transfer
function main(request, response) { var record = nlapiCreateRecord('transfer'); record.setFieldValue('fromaccount',136); record.setFieldValue('toaccount',135); record.setFieldValue('trandate','12/01/2014'); record.setFieldValue('fromamount',1000); record.setFieldValue('toamout',18.3); record.setFieldValue('memo','Test transaction'); try { var recordId = nlapiSubmitRecord(record); response.writeLine(recordId); } catch (e) { if (e instanceof nlobjError) { response.writeLine(e.getCode() + " " + e.getDetails()); } else { response.writeLine(e.toString()); } } } The system return this message
USER_ERROR Please enter value(s) for: Amount
0