Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Non-responsive Dynamics365BusinessCentral custom query

(1) ShareShare
ReportReport
Posted on by 3

The custom query is joining two tables:

21 (Cust. Ledger Entry)

254 (VAT Entry)

using documentNo in a left join condition, the purpose is to get the VAT amount for relevant transactions.

It has worked fine for a number of different companies but with one particular company it is non-responsive. The company has a lot of data, I know it has around 330K customers.

Is there anything I can do to extract the data for this company?
I am filtering by postingDate.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,532 Super User 2024 Season 2 on at
    Non-responsive Dynamics365BusinessCentral custom query
    It is recommended to add some filters in Query.
    For example,
    Filtering in Query objects
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 7,281 on at
    Non-responsive Dynamics365BusinessCentral custom query
  • Suggested answer
    Non-responsive Dynamics365BusinessCentral custom query
    Hello,
     
    Try to set some additional filters and run query few times to get your data.
     
    If you paste your code we could give you better answer for sure.
     
    Also, you have all that data in the GL entries and you can filter by source type and source no for more specific customer no so you would not have a need for joining tables.
     
    Greetings

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,724 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans