web
You’re offline. This is a read only version of the page.
close
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

Custom service take over 3 minutes and doesn't return a response

(0) ShareShare
ReportReport
Posted on by 110

Hi everyone;

I have a custom service that create general ledger in D365FO with thousand lines and takes over three minutes to run. The execution ends until the last line of service operation method; however, it does not return a response to the service that invoked it (External service). If the execution take less than 3 minutes, it returns the answer correctly.

I have configured the timeout on the client 10 minutes but it does not return a response.

Thanks in advance.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Adolfo,

    As you do have a customization, it would be useful to share some more details about your custom service.

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    when you say "custom service that create general ledger" ,do you create General  journals using this custom service ? If yes why would you need custom service for that ?

  • Adolfome9 Profile Picture
    110 on at

    Hi Sukrut;

    Yes, I create General  journals using custom service.

    Indeed, our client requires that a process that they execute in a system (External to D365FO) generates a General  journal  in the D365FO automatically and this contains thousands of lines in detail. Another possibility is to do it by importing from an excel file but that means user intervention and time.

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    You can use data entity instead of using custom service . Standard entity LedgerJournalEntity  does set based operation and its really fast. Did you try using that ?

  • Adolfome9 Profile Picture
    110 on at

    Hi Sukrut;

    Our customer requirement is to integrate an external process; I understand that Standard entity LedgerJournalEntity I can use when I have an Excel file....

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    Well I used this entity to import data from other system using xml format,  Even i tried it using JSON format through postman for testing purpose so its not limited  to excel format only.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Adolfo,

    Did you also reached out to Microsoft Support with this issue?

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    I'm missing an important piece of information. You said what doesn't happen (the service doesn't return a response), but not what does happen. Do you get TimeoutException, for instance?

  • Adolfome9 Profile Picture
    110 on at

    Hi Sukrut Parab;

    Do you have related information where you can guide me (Even i tried it using JSON format through postman)?

    Thanks in advance.

  • Adolfome9 Profile Picture
    110 on at

    Martin Dráb;

    Yes; I got the timeout exception; but I think it's custom service timeout exception that invokes and not from D365FO server. Because the General  journal achieve to be created.

    2019_2D00_11_2D00_25_5F00_09_2D00_01_2D00_13.png

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans