GetRecIdFromKey

Converts a key to a record ID. The key is always part of the page result.

Method Signature

string GetRecIdFromKey(string key)

Parameters

ParameterDescription
keyType: String

The bookmark of the record that includes both primary key and concurrency information.

Results

Result nameDescription
StringType: String

The record ID that was obtained from the key.

Faults

SOAP fault messageDescription
[record name] [field] [value] does not exist.Indicates that the record has been deleted by another user or process after it has been retrieved for this operation.

Usage Example


Customer_Service service = new Customer_Service();
Customer cust = new Customer();
service.UseDefaultCredentials = true;
string id = service.GetRecIdFromKey(cust.No);
cust = service.ReadByRecId(id.ToUpper());

Basic Page Operations