Assigning a number to custom table record via Web service:


I have a custom table, which is getting populated via the HP Connect-It SM web services connector.
The unique key in the custom table is 'cu.number' (char field).

I have created the extaccess record for this table and

the action is 'add'
Label : create
Allowed action: Create Only

Under the expression tab, I have added the below condition , so I could assign the number when the record is created

$L.void=rtecall("getnumber", $L.rc, $, "cuIncoming")
cu.number in $L.file=$

But this is method is not working out. It giving me error code 71 "validation failed'.

Is there any other way to assign the number to the record. ?


Parents Reply
  • Did you have a chance to try the change with the variable name?

    The reason for the change is that just like $L.file is used internally to represent the current record.  The variable $L.rc is also used internally for the state of the return code.

    It is possible that your use of $L.rc altered the value that some later RAD is depending upon.