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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

CDS - How to create a view with the order details (related entity) of an primary Order (primary entity)?

Posted on by 10

I have created 2 Entities: Order and OrderDetail.

The main Order Entity contains the general information of the Order and the fields: OrderNo, Client, Date, Total Amount, etc.

The OrderDetail Entity contains the details of the different Client Orders: OrderNo, Item, Category, Quantity, Price, etc.

The Main Order Form has 2 tabs: 1st: General (general order information) 2nd: Details (order details - I've added a subgrid).

I need an advice about how to create a view to filter and display only the lines of an specific OrderNo and not see all details of the orderDetail table when I click or select an OrderNo.

In other words when I select a specific OrderNo I would like to see only the detailed list regarding to that order.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans