Script Features:

  • Sort records by the primary field. Empty records should be at the top of the sort.
  • Retrieve and check only non-computed fields. Should improve performance for tables with lots of computed fields.
  • Stop looking for empty records after reaching batch limit of 50.
  • Improved comments and variable names.