Skip to main content
Solved

Mass deleting records


Hey there,

 

We’re working on migrating to Acumatica. We uploaded our stock items, but the move to new system has been delayed, and the data is outdated. I’d like to just mass delete the records, and do a fresh upload, rather than go and update 100’s of products. 

 

How do I mass delete records? Deleting 10,000 products one at a time would take a long time.

 

Thank you!

Best answer by nassim

Hey @jsalmont

 @Naveen B  “ your method is concerned by deleting records by pages”

In @jsalmont ‘s case with 10.000 records or mine with more than 44.000 records, you need to go throw an import scénario.

Here are all steps:

1- Export records to be deleted ( in my case stock items IN2025PL)

2- Upload it in a data provider ( type excel provider)

3- go on import scenario screen SM206025 and create a new one with your new data provider file 

Bilding scenario:

in my case 

stock item summery=>inventory ID=> Inventory ID

stock item summery=> <Action: Delete >

stock item summery=> <Dialog answer> => ‘OK’

Then go to import by scenario screen, select your scenario, prepare and import .

here are some screenshots :

 

View original
Did this topic help you find an answer to your question?

5 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3410 replies
  • July 14, 2021

Hi @jsalmont Below article may help you on mass deletion of records. please find the link below

https://nexvue.com/acumatica-tips-tricks-how-to-enable-mass-delete-records/


  • Freshman I
  • 1 reply
  • Answer
  • August 19, 2021

Hey @jsalmont

 @Naveen B  “ your method is concerned by deleting records by pages”

In @jsalmont ‘s case with 10.000 records or mine with more than 44.000 records, you need to go throw an import scénario.

Here are all steps:

1- Export records to be deleted ( in my case stock items IN2025PL)

2- Upload it in a data provider ( type excel provider)

3- go on import scenario screen SM206025 and create a new one with your new data provider file 

Bilding scenario:

in my case 

stock item summery=>inventory ID=> Inventory ID

stock item summery=> <Action: Delete >

stock item summery=> <Dialog answer> => ‘OK’

Then go to import by scenario screen, select your scenario, prepare and import .

here are some screenshots :

 


  • Freshman II
  • 6 replies
  • October 20, 2022

I used this import scenario where I have similar 10k records to be deleted.

I kept running this the whole night it managed to delete only around 900 records.

I saw this link where we can edit the generic enquiry to enable mass delete. Although it is manual I found it quick to do. 

Would there be a faster way of doing it by manipulating the generic enquiry? 


Foujan
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • 20 replies
  • March 20, 2023

If not happy using import scenario, I just tested this option, but probably for fewer items:

  1. Navigate to GI of the stock items screen
  2. Enable mass deletion of records
  3. back to the records
  4. select all and delete

 


Forum|alt.badge.img

I realize this is 3 years old and I want to make a recommendation of a best practice.  Since stock items are not actually “deleted” from the database when you delete them, I suggest doing a Change ID on each one to a random ID that’ll you’ll never use.  I would export the stock items as suggested, create a new column and name is New Inventory ID or something similar.  Then delete.  What we’ve run into is if you re-create the inventory item with a delete ID it creates problems.    

 

Use this Excel function to create a random alpha-numeric inventory ID.  

=TEXTJOIN("", TRUE, 
    MID("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", RANDBETWEEN(1,62), 1),
    MID("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", RANDBETWEEN(1,62), 1),
    MID("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", RANDBETWEEN(1,62), 1),

 

For each MID() function, that’s a character.  So if you want to do a 30 character random, create 30 lines of those MID’s.  The example above gives you  3-character random inventory ID.  
  


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings