LookupListUpdateEntryWithClientID
![]() | Note: This function is available for use in sub-tenancy environments only.
|
Syntax: LookupListUpdateEntryWithClientID(TableName, Key, KeyValue, Comment, ClientID)
Arguments:
- TableName is the Lookup List table name.
- Key is the key to look up in the table.
- KeyValue is the new string value for that Key.
- Comment is the string value for comment. The number of available characters for the Comments argument is limited to 66 characters.
- ClientID is the client ID from the transaction data.
Return Type: Integer
1: If it fails.
0: If it is successful.
-1: If there are more than 32 add, update, or remove operations per transaction.
-2: If the record size exceeds the maximum record size (currently 1024 characters).
Description: Updates a List lookup entry based on ClientID in the List table.
Examples:
retCode is an integer;
Key is a string initially CRTRAN24.pan;
Value is a string initially “Pin”;
Comment is a string initially "Restrict Pin";
ClientID is a string initially CRTRAN24.clientIdFromHeader;
retCode = LookupListUpdateEntryWithClientID(SYSTEM_RESTRICT, Key, Value, Comment, ClientID);