Notifications
Announcements
No record found.
Hi All,
Computed column's value is generated by an SQL view computed column and during read, data is computed by SQL and is fetched directly from the view. Does this mean that query is stored in backend once we synchronize the new computed column to db and it references the same for every read.
Also, for virtual column why do we prefer postLoad method.
Thanks.
Hi AX Dev,
yes, computed columns are synchronized to the database during db sync.
Virtual fields and postLoad method are slower, but you can use x++ code and have all the benefits of running the business logic within the actual D365 system. For example you can call existing methods and don't have to cram everything in one T-SQL statement.
Yes,
Especially read the writings of Nikolas and Joris. In fact, they are all valuable, but they are not exactly relevant to our topic.(It would be useful to read Joris's link.)
community.dynamics.com/.../why-computed-column-has-to-be-string
I don't quite understand the second question but postLoad method can be used for mapping data fields to virtual fields
l-->
this.FullName = this.LastName + ", " + this.FirstName;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 451 Most Valuable Professional
André Arnaud de Cal... 428 Super User 2025 Season 2
BillurSamdancioglu 239 Most Valuable Professional