General X++ Development

What is the difference between `Common`, `RecordInsertList`, and a normal table buffer?

Asked by Sunny Vasty· Aug 13, 2026· 1 answers

What is the difference between Common, RecordInsertList, and a normal table buffer?

SSunny Vasty75 reputation · answered Aug 13, 2026

They solve different problems.

A normal table buffer is strongly typed to one table:

X++
CustTable custTable;

Common lets generic code hold different table buffer types:

X++
Common common = custTable;

RecordInsertList is a helper for efficiently collecting and inserting multiple records.

So I would not think of these as three versions of the same thing. One is a normal record buffer, one is a generic record buffer, and one is a bulk insert utility.