RecordSortedList.ins Method
Inserts a new record in a RecordSortedList, unless it is a duplicate.
Syntax
public boolean ins(Common record, [boolean updateIfExists])
Run On
Called
Parameters
- record
Type: Common Table
A record buffer to be inserted into the list.
- updateIfExists
Type: boolean
Whether to discard or replace duplicate records; optional. If false, the new record will be discarded if it is a duplicate. If true, the new record will replace an existing record if it is a duplicate.
Return Value
Type: boolean
true if the record was added or replaced; otherwise false.