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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

boolean expression

(0) ShareShare
ReportReport
Posted on by

I am trying to create an boolean expression on selective vendor bill get to My Report.

i want that which i select vendor name(boolean) get report vendor name raw field data which i selected not all vendor data.

please suggest me.

*This post is locked for comments

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

    Can you elaborate more what will be your condition for displaying the vendor name?  

  • Suggested answer
    Suresh Kulla Profile Picture
    49,418 Super User 2025 Season 2 on at
    RE: boolean expression

    You query is little confusing and hard to understand, but looks like you are want to populate a variable based on other variable which you can accomplish by using simple IF or CASE statement.

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: boolean expression

    Hello, I think its a custom table, but you can do also.

    write some logic, like

    If ven1 then
        Stock.Setrange(VendorNo, vendor1)
    Else If ven2 then
        Stock.Setrange(VendorNo, vendor2)
    Else If ven1 then
        Stock.Setrange(VendorNo, vendor1)

    Note:

    For better, update an excel sheet with all data, and in another sheet put what you want to get that data only.

    So we can update you.

  • Community Member Profile Picture
    on at
    RE: boolean expression

    dataitem   : stock                       : <stock>

    column     : "stock",bill date               :<bill date.>

    column     : "stock",bill no.                :<bill no.>

    column     : "stock",vendor name   :<vendor name>

    column     : "stock",item        :<item>

    colum :  venr1                     vendor1

    column :  ven2             vendor2

    column :  ven3            vendor3

    ven1,ven2 and ven3 is Boolean Varriables.

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: boolean expression

    Hello comyash,

    I'm unable to say exact, because we don't know your report, but you can do something like, Use Setrange,

    Setrange(BooleanField,TRUE);

    FINDSET;

    Note: Based on your Report you have to set filters, You can also use SETTABLEVIEW and then USE RUNMODAL.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans