We have a customer who has accidentally created multiple new warehouses. They have automatic assignment of Items to Warehouses switched to on. So to delete the incorrect warehouses we need to delete all of the item warehouse assignments.
There are over 4000 items and 2 warehouses incorrectly created, so we have 8000 deletions to do.
I have created a script which can delete a warehouse from an item, then just goes to the next record.
Is it possible to cycle through this script 8000 times for each item warehouse assignment which requires deletion?
Regards
Brodie