siebel - Script compilation failed at line 19 in procedure 'BusComp_PreWriteRecord': -


i getting following error, when tries save following script.

"script compilation failed @ line 19 in procedure 'buscomp_prewriterecord': syntax error @ line 31 position 59:expected ')' (sbl-scr-00128)"

function buscomp_prewriterecord () {      var obj = theapplication().getbusobject("service request");      var optybc = obj.getbuscomp("service request");      optybc.activatefield("sr type");      //optybc.activatefield(“typeâ€);      optybc.setviewmode(3);      optybc.cleartoquery();      optybc.setsearchspec("sr type",this.getfieldv alue("sr type"));      //optybc.setsearchspec(“typeâ€,this.getfieldv alue(“typeâ€));      optybc.executequery(forwardonly);      if(optybc.firstrecord())      {          theapplication().raiseerrortext("duplicate records");      }  } 

does knows reason above error?


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -