getDefaultRecord

Returns a default record suitable for insertion into a table. If a display name is supplied, the record will use that name where appropriate, either as a display name, description, or ID.

Arguments

Name Type Description
skey string

table_name string

The name of the table to create a default record for.

pname string

The display name of the new record.

Return

The getDefaultRecord method returns a record filled with default values (a Record).