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

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: Request Page

    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans