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

Community site session details

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

How to delete all database records (contacts for example) (not in a live System!)

(0) ShareShare
ReportReport
Posted on by 397 User Group Leader

Hey,

I want to clear all records in my contact database/list - how is that possible?

Tried it with the config-packages but that didn't worked out as I wished ...

Greetings,

T_Mauser

pastedimage1640701192479v3.png

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at
    RE: How to delete all database records (contacts for example) (not in a live System!)

    Hi

    In configuration package if you download the package and delete all lines and leave only one line (it is important to leave one line) then select "Delete Table Records Before Processing" then it should delete all contact and leave you with one contact that you can delete manually.

    What is your goal and why the above method did not work the way you wanted it?

    The other method is to ask you partner to create a page that gives you access to entire contact table and then you can delete from that page.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,045 Moderator on at
    RE: How to delete all database records (contacts for example) (not in a live System!)

    The easiest way is to do it in code.

    But if you can not do it in code. You can try to use the edit in Excel if that function is available for the table you want to delete data in. It should be available for contacts.

    So you use edit in Excel, delete all the records in Excel and then update back to Business Central.

  • Verified answer
    S.Kawamura Profile Picture
    1,530 on at
    RE: How to delete all database records (contacts for example) (not in a live System!)

    Hi,

    Import one record with the "Delete Table Records Before Processing" checkbox turned ON. Then, delete the imported contact.

    If there are zero records to be imported, the "Delete Table Records Before Processing" flag will not work.

    I hope this is helpful to you.

    S.Kawamura

  • T_Mauser Profile Picture
    397 User Group Leader on at
    RE: How to delete all database records (contacts for example) (not in a live System!)

    I had do create a new package - now it works as it should.

    Sometimes it's better to start at the beginning ;)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,828

#2
Sumit Singh Profile Picture

Sumit Singh 2,617

#3
YUN ZHU Profile Picture

YUN ZHU 1,861 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans