How to: Define Views in Microsoft Dynamics 365 Business Central MSDYN365BC

In Dynamics 365 Business Central we can define Views to provide an alternative view for data that customer needs very frequently.

For eg: Released Sales Order, In Stock Item in Item List, Out Standing Customer in the Customer list.

Snippet :tview

A view offers:

  • Filtering on multiple table fields.For more information, see Filters.
 Filters = where("Item Tracking Code" = filter(<> ''));

  • Sorting of the data.
OrderBy = ascending ("Item Tracking Code");
  • Layout changes, modifying page columns.
layout
{
    movefirst(Control1; "Item Tracking Code")
    modify(Control1)
    {
        FreezeColumn = "Item Tracking Code";
    }
}

The following example shows a page customization of the Item List page. The definition of the view adds a caption which is displayed on the left side in the UI.

If we Run Item List in Dynamics 365 Business Central mordern Client then we can see it as shown in below screenshot.

Create PAGE Extension in MSDYN365BC

To get new updates and learn about Microsoft Dynamics 365 Business Central Microsoft Learn and Self Learning

Download Link for different version of NAV and Business Central

Happy Reading.

One thought on “How to: Define Views in Microsoft Dynamics 365 Business Central MSDYN365BC

Leave a comment