web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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;
                }

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    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

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 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans