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]);
}
}