Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

create a query using custTable and CustInvoiceJour

(0) ShareShare
ReportReport
Posted on by 619

Hi

I do have a class with a dialog, having range values entered by user.

I want to create a query having CustTable data matching the values. All range values except 1 are for custTable. 1 is for the invoicedate on custinvoicejour.

In the case there are records in the custinvoicejour with an invoicedate in a specific timeframe I want to get only those custTable records, if there is no time-frame specified I want to get all custTable records matching the ranges

How can I build up the query to match the effort

  • RE: create a query using custTable and CustInvoiceJour

    What is the meaning of all range values except 1? Do you have a new dialog field that is capturing values 1 and other values and if it is 1 build a range on custinvoiceTrans along with building a range on custTable and if it is anything other that 1 just build a range on custTable irrespective of invoice Date. Am i correct?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans