Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

boolean expression

Posted on by Microsoft Employee

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

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 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
    Suresh Kulla 43,745 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
    Binesh 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
    Community Member Microsoft Employee 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
    Binesh 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans