How does the integration with D365 work when processing invoices? What are HTTP calls?
Dooap has implemented intelligent caching practices to speed up and streamline interactions with D365 Finance, ultimately making the experience smoother and more responsive for users.
When processing invoices, Dooap connects with D365 through HTTP calls. This article explains how Dooap optimizes performance by managing these calls effectively.
Smart Caching in Integration Acceleration
To reduce the number of calls to D365 and keep Dooap responsive, we use a caching system. This means that when Dooap sends repeated requests to D365 for the same information within a set timeframe, it can use the previous response instead of contacting D365 again.
For example, if a cash discount calculation has been validated within the last five minutes, Dooap won’t re-check with D365 until the cache refreshes.
Microsoft has introduced user-based limits on D365 usage, and Dooap’s caching can help keep usage within these limits.
Cache Refresh Times for Key D365 Information:
- Cash discount validation: 5 minutes
- Company address: 1 hour
- Default project dimensions: 15 minutes
- Dimensions validity and validations: 1 hour
- Open period check: 5 minutes
- Main Account validity: 1 hour
- Payment term (calculate due date): 1 hour
- Purchase Order confirmation: 1 minute
- Remaining quantity: 1 minute
- Purchase order prepayment: 1 minute
- Tax calculation: 15 minutes
- Vendor remittance address: 1 hour
More information in Microsoft's page.
An Admin user can clear this cached D365 data in Admin > Tenant General Settings if needed. However, this is usually unnecessary, and clearing the cache may temporarily slow down the system for a few minutes.