Skip to main content

Notifications

Community site session details

Community site session details

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

Delete Integration Record

(0) ShareShare
ReportReport
Posted on by 160

Hi mates! :)

I want to delete all records from Integration Record (5151). This is an obsolete table.

How can I do it?

Thanks you so much!

  • JMartin Profile Picture
    160 on at
    RE: Delete Integration Record

    Yup! I'm sure.

    Any code example for deleting the records?

    First time deleting records on AL.

    Thanks! :)

  • Suggested answer
    Greg Enns Profile Picture
    1,102 on at
    RE: Delete Integration Record

    I wouldn't try to delete until I was sure that the system wasn't creating new Integration Records anymore. If you've done that, then writing an AL codeunit which deletes all the records in this table (just a few lines of code), and then running that codeunit, is not difficult. Definitely test in a Sandbox first though.

  • JMartin Profile Picture
    160 on at
    RE: Delete Integration Record

    Thanks Mr. Zhu!

    Record Deletion Tool doesn't work on BC19 and Data Administratio, like you say, is not there.

  • Suggested answer
    YUN ZHU Profile Picture
    84,274 Super User 2025 Season 1 on at
    RE: Delete Integration Record

    Hi, yes, although I personally don't recommend it, the final resort is to delete the data via the AL tool.

    For example:

    GitHub - wbrakowski/Record-Deletion-Tool: This tool can be used to remove transactional data from a company in Business Central.

    Also you can try to use Data Administration page to clean data, but as far as I know, there is no Integration Record in it.

    https://yzhums.com/15246/

    Hope this also help.

    Thanks.

    ZHU

  • JMartin Profile Picture
    160 on at
    RE: Delete Integration Record

    I tried all this options but didn't work :(

    Any other ideas? Like programming on AL?

    Thanks!

  • Suggested answer
    YUN ZHU Profile Picture
    84,274 Super User 2025 Season 1 on at
    RE: Delete Integration Record

    Hi, I think Microsoft will automatically clear the data after a certain period of time.

    If you want to delete data right now, hope the following will help.

    4 WAYS TO DELETE RECORDS FROM A TABLE

    https://navinsights.net/2020/10/27/4-ways-to-delete-records-from-a-table/

    Thanks.

    ZHU

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Delete Integration Record

    By the way, did you find a method to disable this function? Looks like the following article is out dated.

    docs.microsoft.com/.../disable-integration-records-integration-management

  • Suggested answer
    MahGah Profile Picture
    15,445 on at
    RE: Delete Integration Record

    Hi

    1) See below article. it is related to on-prem but maybe give you some idea.

    2) Maybe (I did not test this / test in Sandbox). Download the table in configuration package then delete all lines and leave only one line. Then select "Delete Table Records Before Processing" and then upload it back.

    archerpoint.com/.../

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans