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)

Vendor List

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  I am using Posted WareHouse Receipt Header & Posted WareHouse Receipt Line Table. In Posted Warehouse Receipt Header i have field Source No in which Vendor Id is stored. In Request Page in this report it displays dropdown but list of Vendors is not displayed. I want Unique Vendors List to be displayed.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    You need to write code on OnLookup trigger by using Vendor table to display the list of unique vendor

  • jsshivalik Profile Picture
    3,099 on at

    Hi

      Can u pls help me in detail where i should write the code. Field is displayed by adding filter from Posted Warehouse Receipt Line

    Thanks

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello,

    Already we discussed earlier, see below link:

    https://community.dynamics.com/nav/f/34/t/251684

    Only the variable is different. In this you have to filter your table instead of "CustomerPostingGroups " and pass your table.

    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]

    //filter CustomerPostingGroups  as you want and finally pass this Record variable.
    IF PAGE.RUNMODAL(110,CustomerPostingGroups) = ACTION::LookupOK THEN BEGIN
    CustomerPostingGroupG := CustomerPostingGroups.Code;
    END ELSE CLEAR(CustomerPostingGroups);
    //<<Sbinesh

  • ManishS Profile Picture
    86 on at

    Create a global variable vendor of code 20, show this field on request page & in property of this field set table relation to vendor table.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Create a new global variable for Vendor No. and use that in the request page for filtering, set the tablerelation for that variable to vendor and use that value to filter the Source No. onPreDataItem of the DataItem.

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