Skip to content

Instantly share code, notes, and snippets.

@ztirom

ztirom/ax_insert Secret

Created November 30, 2018 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/7a06236b2389eb6b805dabff0a4244d9 to your computer and use it in GitHub Desktop.
Save ztirom/7a06236b2389eb6b805dabff0a4244d9 to your computer and use it in GitHub Desktop.
AX Insert vs RecordInsertList #1
public static void insert(int rows)
{
BulkInsertTable bulkInsertTable;
for (var i = 0; i < rows; i++)
{
bulkInsertTable.Id = i;
bulkInsertTable.StringValue = strFmt("Value - %1", i);
bulkInsertTable.insert();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment