Virtual and Computed Columns in x++

 Computed field -

  1. Computed field: Value is generated by an SQL view computed column.
  2. During read, data is computed by SQL and is fetched directly from the view.


Virtual field:- 
  1. Is a non-persisted field.
  2. Is controlled by custom X++ code.
  3. Read and write happens through custom X++ code.
  4. Virtual fields are typically used for intake values that are calculated by using X++ code and can't be replaced by computed columns.

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

how to post trade agreement journals automatically using x++ code

x++ code to submit and approve and reject the invent movement workflow in d365 F&O