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 :
Small and medium business | Business Central, N...
Answered

Purchase Invoices new View not displayed in DropDownList

(0) ShareShare
ReportReport
Posted on by 77

I am trying to create a new view for Purchase Invoices. I am using this example: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-views

When I import the extension on my demo tenant sandbox environment successfully, there were no errors while executing the AL Package command and there where no problems publishing and installing the extension, the new view is not listed in the dropdown for views on the page.

This is my code for the view:

profile BusinessManagerProfile
{
    Caption = 'random caption';
    RoleCenter = "Business Manager Role Center";
    Customizations = PurchaseInvoiceCustomizaton;
}

pagecustomization PurchaseInvoiceCustomizaton customizes "Purchase Invoices"
{
    views
    {
        addfirst
        {
            view(name of view)
            {
                Visible = true;
                SharedLayout = true;
                Caption = 'name of view';
                Filters = where(Status = filter('released'));
            }
        }
    }
}

I am working in an al project that has successfully made pageextensions for subforms, cards and forms, but I am having problems with my pagecustomization.
  • THE Italian Profile Picture
    Microsoft Employee on at

    That should work. I

    f it does not using the latest 15.x or 16.x platform files then I would encourage you in contact your CSP Partner or Reseller and open a request to Microsoft support. 

  • Verified answer
    Genie Cetas Profile Picture
    472 on at

    Hi chigivigi,

    Better to create your View in Purchase Invoice Page itself. Make and Extension of Purchase Invoice Page and there you define your Views.

    For your Reference am attaching few screenshot, am created a view in Item List page with filter of Inventory >= 10000.

    pastedimage1591343573511v1.png

    pastedimage1591343824889v2.png

    pastedimage1591343865606v3.png

  • Community Member Profile Picture
    on at

    are you sure about the code:

    pastedimage1591344929064v1.png

    it should be view("name of view")

    I suggest you replace 'released' with 'Released'

  • chigivigi Profile Picture
    77 on at

    I moved the code to the Purchase Invoices pageextension as shown in your image and after importing the extension it is shown.

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

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 720 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 436 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 409 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans