Skip to main content
Solved

How to TRUELY mass delete records?


Forum|alt.badge.img

How to delete all stock item/non stock item records?

I have uploaded 300k records and I would like to start fresh again. So far I have found nothing to mass delete that amount of records in one go, the closest is https://nexvue.com/acumatica-tips-tricks-how-to-enable-mass-delete-records/ that I can only select all records on a paged result, but I need something like “select all” option that beyond the first page, like in Gmail.

Happy to do it via API if it’s possible, but an UI would be better.

Cheers

James

 

Best answer by Laura02

Hello,

This morning I created a Data Provider and Import Scenario for you, to delete Stock Items.

You will need to import the attached XML in the Import Scenario, remove my file from the related Data Provider, and attach your own Excel file to the Data Provider.  Your Excel needs only one column labeled Inventory ID,  containing your list of 300,000 items to be deleted.

YouTube and Acumatica Open University have videos you can watch to learn about using import scenarios, if you are new.  Good luck!

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

13 replies

Forum|alt.badge.img+1
  • Jr Varsity II
  • 35 replies
  • October 12, 2022

You can set up an Import Scenario to delete records.


Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • October 12, 2022

Hello, here is an example of an import scenario to delete non-stock. Sorry, I don’t have one for stock items handy, but this is quite similar.

 


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 12, 2022
dboes14 wrote:

You can set up an Import Scenario to delete records.

Thanks can you please elaborate a bit further? The import and delete seem contradicting each other.


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 12, 2022
laura01 wrote:

Hello, here is an example of an import scenario to delete non-stock. Sorry, I don’t have one for stock items handy, but this is quite similar.

 

Thanks, I can’t seem to find “Non Stock” in Provider, what am I missing?


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 12, 2022
jamesl wrote:
laura01 wrote:

Hello, here is an example of an import scenario to delete non-stock. Sorry, I don’t have one for stock items handy, but this is quite similar.

 

Thanks, I can’t seem to find “Non Stock” in Provider, what am I missing?

I presume I need to define the provider? What type should I choose?


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 12, 2022
jamesl wrote:
jamesl wrote:
laura01 wrote:

Hello, here is an example of an import scenario to delete non-stock. Sorry, I don’t have one for stock items handy, but this is quite similar.

 

Thanks, I can’t seem to find “Non Stock” in Provider, what am I missing?

I presume I need to define the provider? What type should I choose?

Also, this import scenario seems I need to provide a list of IDs?


Forum|alt.badge.img+1
  • Jr Varsity II
  • 35 replies
  • October 12, 2022

You can make a provider out of the stock item GI


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 12, 2022
dboes14 wrote:

You can make a provider out of the stock item GI

How do I convert a GI into a provider please?


DConcannon
Varsity II
Forum|alt.badge.img+2
  • Varsity II
  • 120 replies
  • October 12, 2022

Hi @jamesl 

here are some screen shots that should help you create the provider:

Select Active and then Fill Schema Fields

 


Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • Answer
  • October 13, 2022

Hello,

This morning I created a Data Provider and Import Scenario for you, to delete Stock Items.

You will need to import the attached XML in the Import Scenario, remove my file from the related Data Provider, and attach your own Excel file to the Data Provider.  Your Excel needs only one column labeled Inventory ID,  containing your list of 300,000 items to be deleted.

YouTube and Acumatica Open University have videos you can watch to learn about using import scenarios, if you are new.  Good luck!


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 13, 2022
laura01 wrote:

Hello,

This morning I created a Data Provider and Import Scenario for you, to delete Stock Items.

You will need to import the attached XML in the Import Scenario, remove my file from the related Data Provider, and attach your own Excel file to the Data Provider.  Your Excel needs only one column labeled Inventory ID,  containing your list of 300,000 items to be deleted.

YouTube and Acumatica Open University have videos you can watch to learn about using import scenarios, if you are new.  Good luck!

ok thank you!


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 15, 2022
DConcannon wrote:

Hi @jamesl 

here are some screen shots that should help you create the provider:

Select Active and then Fill Schema Fields

 

thank you


Forum|alt.badge.img
  • Author
  • Jr Varsity I
  • 15 replies
  • October 15, 2022
laura01 wrote:

Hello,

This morning I created a Data Provider and Import Scenario for you, to delete Stock Items.

You will need to import the attached XML in the Import Scenario, remove my file from the related Data Provider, and attach your own Excel file to the Data Provider.  Your Excel needs only one column labeled Inventory ID,  containing your list of 300,000 items to be deleted.

YouTube and Acumatica Open University have videos you can watch to learn about using import scenarios, if you are new.  Good luck!

thank you


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