1
I suggest to implement optimization by using SetAutoCalcFields() instead of single CalcFields() actually call for each record in the loop, on following codeunits/functions (all are in the same pattern)
Rerefence : https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-setautocalcfields-method
STATUS DETAILS
Needs Votes
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team