after new customer refund record saved (after submit user event) need communicate external web service , update 2 fields in record. when code executed load customer refund
var o = nlapiloadrecord("customerrefund", 1906);
this error message returned:
invalid_trans_typ transaction type specified incorrect.
i found list of supported records in "chapter 60 suitescript supported records" of suitescript developer & reference guide says customer refund available in server side script.
how should go updating customer refund record?
without seeing more code, looks ok. double check internalid of 1906 correct.
also, if you're submitting 2 fields, use nlapisubmitfield(), take less governance points , quicker netsuite rather nlapiloadrecord / nlapisubmitrecord.
Comments
Post a Comment