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.
Hi Adolfo,
As you do have a customization, it would be useful to share some more details about your custom service.
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 ?
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.
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 ?
Our customer requirement is to integrate an external process; I understand that Standard entity LedgerJournalEntity I can use when I have an Excel file....
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.
Did you also reached out to Microsoft Support with this issue?
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?
Hi Sukrut Parab;
Do you have related information where you can guide me (Even i tried it using JSON format through postman)?
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.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,157
André Arnaud de Cal... 883 Super User 2025 Season 2
Sohaib Cheema 674 User Group Leader