Dynamics 365 Business Central: SetLoadFields performances with reference passing or value passing parameters

The partial records capability is one of the latest and more important feature available in Dynamics 365 Business Central for writing performant code. Using Record.SetLoadFields can help you on improving your performances, expecially when looping through records. In this way you can avoid joins with table extensions and you can load only the needed fields for your computation.

Source : Stefano Demiliani
Read more…