Mark Mckinney
Member
- Joined
- May 19, 2026
- Messages
- 2
- Thread Author
- #1
Hi Community,
I’m currently working on extending Microsoft Dynamics 365 Business Central (cloud, latest version) using AL, where we handle high-volume transactional data (50k+ records/day). I’m facing challenges related to performance degradation and data consistency, especially when implementing custom logic in posting routines and integrating with external APIs.
Here are the specific concerns:
I’m currently working on extending Microsoft Dynamics 365 Business Central (cloud, latest version) using AL, where we handle high-volume transactional data (50k+ records/day). I’m facing challenges related to performance degradation and data consistency, especially when implementing custom logic in posting routines and integrating with external APIs.
Here are the specific concerns:
- Long execution times when processing batch jobs (e.g., posting sales invoices with custom validations).
- Database locking issues, leading to occasional deadlocks when multiple users/processes run simultaneously.
- Maintaining data integrity while using temporary tables and background sessions.
- Best practices around event subscribers vs direct code modifications for scalability.
- Efficient use of SetAutoCalcFields vs CalcFields in large record loops.