C/AL + AL: SetAutoCalcFields
SetAutoCalcFields is very similar method to CalcFields method. The only difference is that CalcField is run on the records already loaded from the database. On the other hand, SetAutoCalcFields is set before the records are loaded from the database. Although it can be seen as a small difference, it could have a huge impact on
1 min read