web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Data entity computed columns

(2) ShareShare
ReportReport
Posted on by 137
Hello,

 

I am trying to extract list of items with columns for total open sales orders, open purchase orders, open production orders and total on hand inventory. I searched for existing data entities and did not find this information. I am wondering if I create a new data entity using inventtable as primary data source, is it better to add the open count fields as computed columns using data entity methods or create separate views with computed columns using view methods - then add these views as data sources in the data entity? I am new to X++ :)

 

Thanks!

 

Joseph

Categories:
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,800 Super User 2025 Season 2 on at
    Hi Joseph,
     
    Thanks for asking your question. In case you will create methods using T-SQL on the data entity, a view is created on the SQL server. The performance will be similar by creating additional views or creating computed columns.

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.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 417 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 325 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans