SHARE
TWEET

Clientscript Suitelet

a guest Jul 27th, 2017 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  *@NApiVersion 2.x
  3.  *@NModuleScope Public
  4.  *@NScriptType ClientScript
  5.  */
  6. define(['N/search'], runClientscript);
  7.  
  8. function runClientscript(search, record){
  9.     SEARCHMODULE = search;  
  10.    
  11.     function fieldChanged(context) {
  12.         alert('Field Changed Called');
  13.     }
  14.  
  15.     //*********** RETURN OBJECT ***********
  16.    
  17.     var returnObj = {};
  18.     returnObj.fieldChanged = fieldChanged;
  19.     return returnObj;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top