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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Filter Current Company

(0) ShareShare
ReportReport
Posted on by 87

I want to filter query on purhreqtable using the current company by adding range and relation with company info


2134.Capture.PNG

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Essa,

    You can add Companyinfo to PurchReqTable based the field CompanyInfoDefault. You can then create a range in data source CompanyInfo and set the value to curExt().

  • pavilionit Profile Picture
    87 on at

    like this because there is an error when I do it

    1)

     2620.Capture2.PNG

    2)

    5483.Capture3.PNG

  • pavilionit Profile Picture
    87 on at

    Look at the image, please.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    It is working fine for me. Please check the screenshot below

    pastedimage1649066997266v1.png

    For the data source CompanyInfo, what is the Dynamic Fields property set to?

  • pavilionit Profile Picture
    87 on at

    Dynamic fields: I tried to set  no & yes & unselected

    But the same error 

    5852.Capture4.PNG

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    I have set it to Yes and there were no compile errors.

    Could you try closing all the tabs in Visual Studio and compiling your Dev model to check if there are any compile errors? If there are no errors, try building your solution again.

  • pavilionit Profile Picture
    87 on at

    it's not work

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Are you getting the same compile error?

  • pavilionit Profile Picture
    87 on at

    yes, the same error

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Does your Dev model have a reference to "Directory" package (CompanyInfo table belongs to this package)?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 586 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 551

#3
CP04-islander Profile Picture

CP04-islander 408

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans