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...
Suggested Answer

Trying to create a Custom "PageType=List UsageCategory=Lists using "Value Entry" dataset

(0) ShareShare
ReportReport
Posted on by 150

Hello,

I am trying to create a Custom "PageType=List UsageCategory=Lists using "Value Entry" dataset to get all line items from Posted Sales Invoice and Posted Sales Credit Memo. but ValueEntry only populates "Item" type line items. I want to include "G/L Account" Type and other types line item as well, which is not happening, is there any other dataset available where i can get all line items from all Documents of all document types specially "Posted Sales Invoice" and "Posted Sales Credit Memos" ? I thought of creating Query and link/merge tables but unfortunately AL doesnt support UNION. cant join tables at same level. Any thought , Any workaround?

page 50100 SalesReport

{

    PageType = List;
    UsageCategory = Lists;
    ApplicationArea = All;
    InsertAllowed = false;
    DeleteAllowed = false;
    Editable = false;
    ModifyAllowed = false;

    Caption = 'Sales Report (List)';

    SourceTable = "Value Entry";
    SourceTableView = sorting("Document No.", "Entry No.") order(ascending)
        where(
                "Document Type" = filter("Sales Invoice" | "Sales Credit Memo")
                        , Adjustment = filter(false)
              );
Thanks
Bharat
I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Are you sure that you don't want the G/L Entry table?

  • bgajjar Profile Picture
    150 on at

    I cant use G/L Entry Table, it merge line items under one Sales G/L Account based on "Gen. Prod. Posting Group".

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,045 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans