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

Filter in dropdown

(0) ShareShare
ReportReport
Posted on by

Hello!

I have made a dropdown at Purchase order for a page "Fiscal Purchase" (created by me) every vendor at this page has a amount, now i want that at purchase order dropdown must have vendors with positive (+) amount and at Purchase credit memo must have vendors with negativ (-) amount.

The table relation that I have is working

TableRelation=IF ("Import from fiscalization"=const(true))"Fiscal Purchase" where ("Vendor No."=field("Buy-from Vendor No."));
I know that is something with document type , I have tried in different ways but none of them isn't working.
Thank uu for ur time! 
I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

    Vendor balances are negative by default with credit memos being positive.  Not sure what you are asking....

  • Community Member Profile Picture
    on at

    It's not the amount of sistem is another field amount that I added

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Instead of table relation you can declare CALCFORMULA property and sent your conditions there with Lookup or sum method. You can take an idea how to declare from Item Table.

    pastedimage1667402329751v1.png

  • Suggested answer
    Shathika Karunaratne Profile Picture
    on at

    It can be work with a separate page with an action where you can display the vendors with the particulars filter. Or else you can use a Flow Field with a COUNT calculation formula in the table as below

    pastedimage1667405542519v1.png

    Hope this will help you.

    Thanks.

    Shathika

  • Suggested answer
    YUN ZHU Profile Picture
    95,593 Super User 2025 Season 2 on at

    Hi, Just adding another idea, hope this can give you some tips.

    If you need more flexible control, you can create two variables that collect data when the page is opened. Then use the OnDrillDown (Page Field) Trigger to display the content you need.

    Thanks.

    ZHU

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 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans