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 :
Microsoft Dynamics NAV (Archived)

Request Page

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  In Request Page I am displaying a list from Customer Posting Group in a variable of DataType Text . In Request Page in Properties I have given TableRelation "Customer Posting Group" . I want first record value should automatically gets displayed in that field for user selection.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello jsshivalik ,

    Write C/AL Code on RequestPage of Field/Variable Looup triger

    CustomerPostingGroupG - OnLookup(VAR Text : Text) : Boolean
    //>>Sbinesh
    // CustomerPostingGroups is a record variable of TABLE Customer Posting Groups
    // CustomerPostingGroupG is a global variable [you can use that variable/field you want to lookup]
    IF PAGE.RUNMODAL(110,CustomerPostingGroups) = ACTION::LookupOK THEN BEGIN
    CustomerPostingGroupG := CustomerPostingGroups.Code;
    END ELSE CLEAR(CustomerPostingGroups);
    //<<Sbinesh

    See below screenshot for better understanding.

    4885.r.png

     

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans