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...
Answered

Page Not Appearing

(0) ShareShare
ReportReport
Posted on by 3,518

Hi:

Below is AL code for a query and page that I created in Visual Studio Code.  

Upon publishing, I receive no error.  But, the list page does not appear in my Sandbox.

Does anyone have any ideas, as to why not?

Thanks!

John

query 50100 "Lot Avail. by Bin"
{
    QueryType = Normal;
    elements
    {
        dataitem(Item_Ledger_Entry; "Item Ledger Entry")
        {
            column(Item_No_; "Item No.") { }
            column(Lot_No_; "Lot No.") { }
            dataitem(Warehouse_Entry; "Warehouse Entry")
            {
                DataItemLink = "Location Code" = Item_Ledger_Entry."Location Code",
                           "Item No." = Item_Ledger_Entry."Item No.",
                           "Lot No." = Item_Ledger_Entry."Lot No.";
                column(Entry_No_; "Entry No.") { }
                column(Location_Code; "Location Code") { }
                column(Zone_Code; "Zone Code") { }
                column(Bin_Code; "Bin Code") { }
                column(Sum_Quantity; Quantity) { Method = Sum; }
                dataitem(Bin; Bin)
                {
                    DataItemLink = Code = Warehouse_Entry."Bin Code";
                    dataitem(Bin_Type; "Bin Type")
                    {
                        DataItemLink = Code = Bin.Code;
                        DataItemTableFilter = Pick = CONST(true);
                    }
                }
            }
        }
    }
}
page 50141 "Lot Avail. by Bin"
{
    PageType = List;
    SourceTable = "Warehouse Entry";
    SourceTableTemporary = true;
    UsageCategory = Lists;

    layout
    {
        area(Content)
        {
            repeater(Group)
            {
                field("Item No."; "Item No.") { ApplicationArea = Basic; }
                field("Location Code"; "Location Code") { ApplicationArea = Basic; }
                field("Bin Code"; "Bin Code") { ApplicationArea = Basic; }
                field("Serial No."; "Serial No.") { ApplicationArea = Basic; }
                field(Quantity; Quantity) { ApplicationArea = Basic; }
            }
        }
    }
    trigger OnOpenPage()
    var
        LotAvail: Query "Lot Avail. by Bin";
    begin
        LotAvail.Open;
        while LotAvail.Read do begin
            Init;
            "Item No." := LotAvail.Item_No_;
            "Bin Code" := LotAvail.Bin_Code;
            Quantity := LotAvail.Sum_Quantity;
        end;
    end;
}
I have the same question (0)
  • Verified answer
    Akshay_Panchal Profile Picture
    402 on at

    Specify the ApplicationArea property on page.

  • Suggested answer
    JAngle Profile Picture
    137 on at

    No application area property

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,457

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 742 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 669 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans