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 :
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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,638

#2
YUN ZHU Profile Picture

YUN ZHU 837 Super User 2025 Season 2

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 704 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans