CRMRecord object
The CRMRecord object represents records in a table. This object is an enumerator that returns the specified fields in a table.
CRMRecord contains a higher-level understanding of the columns than CRMQuery. Use CRMRecord properties and methods to manipulate information in columns and save any edits.
To return the record that you manipulate, use the CreateRecord(TableName) and FindRecord(TableName, QueryString) methods.
Examples of syntax to create the record object:
var record;
record = CRM.CreateRecord("cases");
var record;
record = CRM.FindRecord("cases","case_caseid=20");