title: How to modify a Customer Refund in an After Submit User Event
body: <p>After a new Customer Refund record is saved (After Submit user event) I need to communicate with an external web service and then update 2 fields in the record. When this code is executed to load the Customer Refund</p>
  
  <pre><code>var o = nlapiLoadRecord("customerrefund", 1906);
  </code></pre>
  
  <p>This error message is returned:</p>
  
  <pre><code>INVALID_TRANS_TYP
  Transaction type specified is incorrect.
  </code></pre>
  
  <p>I found a list of supported records in the "Chapter 60 SuiteScript Supported Records" of <a href="https://system.netsuite.com/core/media/media.nl?id=5732122&amp;c=NLCORP&amp;h=5fca4bf5dd825a28ab41&amp;_xt=.pdf&amp;addrcountry=US" rel="nofollow">SuiteScript Developer &amp; Reference Guide</a> which says the Customer Refund is only available in a server side script.</p>
  
  <p>How should I go about updating the Customer Refund record?</p>