Home / Questions / Why should we use a View instead of tables in an AOT query?
Explanatory Question

Why should we use a View instead of tables in an AOT query?

👁 2 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

A View is used when:

  • Multiple tables are joined repeatedly

  • Business logic is already defined

  • Calculated fields are required

  • The same dataset is used in many reports

It keeps the DP class clean and simple.