get_val_for_wc

Document created by Gutis Champion on Dec 9, 2015
Version 1Show Document
  • View in full screen mode

SPEL API methods

get_val_for_wc

Gets value of single object attribute by where clause

 

Definition:

get_val_for_wc(string, string, string) ;

 

string - object factory

string - where clause

string - attribute to get value

 

 

working example:

send_wait(0, top_object(), "call_attr", "api", "get_val_for_wc", "in", "ref_num ='182'","status");   
  if (!msg_error()) {
   int i;    
   for (i=0;i<msg_length();i++) {    
     printf("msg[%d]: '%s'", i, msg[i]);    
   }
  }
2 people found this helpful

Attachments

    Outcomes