From c67356cb8b363b083f36f2e7480f606374a6328d Mon Sep 17 00:00:00 2001 From: Stefan Sosic <59221826+StefanSosic@users.noreply.github.com> Date: Wed, 4 Jun 2025 00:03:28 +0200 Subject: [PATCH] Description header --- content/docs/BestPractices/SetAutoCalcFields/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/BestPractices/SetAutoCalcFields/index.md b/content/docs/BestPractices/SetAutoCalcFields/index.md index 9df9893f..bfb647d7 100644 --- a/content/docs/BestPractices/SetAutoCalcFields/index.md +++ b/content/docs/BestPractices/SetAutoCalcFields/index.md @@ -6,6 +6,8 @@ categories: ["Best Practice"] _Created by SosicStefan, Described by SosicStefan_ +## Description + In Business Central, `SetAutoCalcFields` is an essential method for optimizing the retrieval of calculated fields, such as FlowFields. Without `SetAutoCalcFields`, FlowFields require explicit calculation via `CalcFields`, which adds performance overhead. By automatically computing FlowFields upon retrieval, `SetAutoCalcFields` reduces unnecessary calls and improves efficiency when reading FlowFields from multiple records in a loop. See the documentation on learn.microsoft.com for more information about [SetAutoCalcFields](https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-setautocalcfields-method).