web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Stopping Job queue from auto rollback if error in any one record occurs

(2) ShareShare
ReportReport
Posted on by 234
Hello,
We have a scenario where we have integrated our BC from a legacy CRM to get data in Custom Opportunity table. Is there any way that we can skip a record if it throws any validation error and move to next record. There are around 400 fields so validation on every field seems little lengthy. Also, if anyone can provide me an extensive documentation about BC integration best practices through API.
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,171 Super User 2026 Season 1 on at
    Maybe this will help point you in the right direction.
     
    First, are you using the default Business Central APIs or a custom API integration for your CRM-to-BC sync?
     
    If it’s a custom integration, then yes — you can handle this scenario by adding error handling logic in your API processing code. Instead of letting a single record failure stop the entire Job Queue or transaction, you can:
     
    Wrap your record processing in a try…catch block (if using AL or external integration logic).
     
    Log the error message and the failed record to a custom error log table or external system.
     
    Continue processing the next record without rolling back the whole batch.
     
     
    This will prevent auto-rollback and give you better traceability for failed records.
     
    Unfortunately, BC doesn’t support this behavior out-of-the-box for batch API processing — it needs to be handled in your integration layer.
     
    Mark this as the verified answer if it helps. Let me know if you want an AL code example
  • Gerardo Rentería García Profile Picture
    26,084 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.Batch calls with Business Central (2) – Error handling – Kauffmann @ Dynamics 365 Business Central

    Best Regards
    Gerardo

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,287 Super User 2026 Season 1 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,951 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,141 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 752 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans