PartKeepr icon indicating copy to clipboard operation
PartKeepr copied to clipboard

Move to another Storage Location Multiple Items

Open marcolino7 opened this issue 3 years ago • 4 comments

Hi, I have to move multiple items to another Storage Location. Is it possible to achieve this? And in general is this possible to perform a massive update to items? I Have the development version checked out a couple of week ago.

Thanks

marcolino7 avatar Feb 25 '21 12:02 marcolino7

You can use drag and drop in the partlist.

Apart from that, you can directly access and tweak the database.

christianlupus avatar Feb 27 '21 18:02 christianlupus

How I can change Storage Location using Drag and Drop? Thanks

marcolino7 avatar Feb 27 '21 22:02 marcolino7

I am sorry, I misread your text. I thought you were referring the categories.

I fear the fastest way is to change the database itself.

christianlupus avatar Feb 28 '21 11:02 christianlupus

Dear Marcolino If you have direct access to your server you can do it via SQL scripts, is not too hard. some tips https://readthedocs.web.cern.ch/display/PARTK/12+-+Dealing+with+MySQL https://readthedocs.web.cern.ch/display/PARTK/Partkeepr+tables https://readthedocs.web.cern.ch/display/PARTK/scripts+to+update+different+things

you need to search in https://readthedocs.web.cern.ch/display/PARTK/table+Part for the storage location (old id) and replace with the storage location (new id) at the field storageLocation_id of Parts table. the storage location ids are in https://readthedocs.web.cern.ch/display/PARTK/table+StorageLocation

ghost-from-the-past avatar Mar 02 '21 23:03 ghost-from-the-past