RecordSortedList.ins Method [AX 2012]

Inserts a new record in a RecordSortedList, unless it is a duplicate.

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.

Community Additions

ADD
Show: