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

QuickEntry of customer No. in a temp integer page

(0) ShareShare
ReportReport
Posted on by 5

Hi experts ;) 

I'm struggling with the following. I've a custom page (AL Extension) based on Integer table. 
On the page I've a Code field wich is linked to Customer Table by a OnLookUp. 

But...I'd like that the code behaves like the Quick Entry option when you use this customer data directly like on a Customer Card or any other page where you use a field with a Tablerelation to Customer. 

Could anyone tell me if this is possible and what I'm missing now? 

Thanks in advance

Frank

page 50028 "RNB Shipping Wizard Header"
{
    Caption = 'Shipping Wizard', Comment = '[NLD = Expeditie verzendwizard]';
    PageType = Card;
    UsageCategory = Tasks;
    ApplicationArea = All;
    SourceTable = Integer;
    SaveValues = true;
    SourceTableTemporary = true;
    LinksAllowed = false;
    ShowFilter = false;

    layout
    {
        area(Content)
        {
            group(Filters)
            {
                field("Customer_No_Filter"; CustomerNoFilter)
                {
                    Caption = 'Customer No. Filter', Comment = '[NLD = Klantnr. filter]';
                    ApplicationArea = All;
                    QuickEntry = true;

                    trigger OnValidate()
                    begin
                        GetRecords();
                    end;

                    trigger OnLookup(var Text: Text): Boolean
                    var
                        Customer: Record Customer;
                    begin
                        if not Customer.Get(CopyStr(CustomerNoFilter, 1, MaxStrLen(Customer."No."))) then
                            Clear(Customer);
                        if Page.RunModal(page::"Customer List", Customer) = Action::LookupOK then begin
                            CustomerNoFilter := Customer."No.";
                            GetRecords();
                        end;
                    end;
                }

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks

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

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans