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

Announcements

News and Announcements icon
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 401 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,613 on at

    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
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    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,532 on at

    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
    401 User Group Leader on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 572 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 331 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 330 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans