Replies: 4 comments
-
I'm also having this problem. I created a bunch of parts before figuring out storage only to find I can't bulk assign them. This feature would be amazing! |
Beta Was this translation helpful? Give feedback.
-
Moving Components to Another Storage Location with SQLCaution Working directly with SQL can lead to data loss. This process is not supported by the developer and should only be performed by someone who fully understands the implications. Note When changing the storage location, the filter is set to the attribute "Favorite". Steps:Important
-- Declaration and assignment of variables
SET @current_id = 1;
SET @target_id = 70;
SELECT *
FROM part_lots
WHERE id_part IN (
SELECT id
FROM parts
WHERE favorite = 1
)
AND id_store_location = @current_id
-- AND ISNULL(id_store_location) -- Use this variant if the storage is NULL (unknown location)
;
-- Declaration and assignment of variables
SET @current_id = 1;
SET @target_id = 70;
UPDATE part_lots
SET id_store_location = @target_id
WHERE id_part IN (
SELECT id
FROM parts
WHERE favorite = 1
)
AND id_store_location = @current_id
-- AND ISNULL(id_store_location) -- Use this variant if the storage is NULL (unknown location)
; |
Beta Was this translation helpful? Give feedback.
-
I would also like to have the possibility to change the storage location in bulk like I can change the category for mutiple parts at once. However, I think because you can have multiple storage locations for a part that it is not as easy to implement as for the category. |
Beta Was this translation helpful? Give feedback.
-
I have a ton of parts that are currently stored in Storage Location 1, but I want to move those parts (but not all the parts in Location 1) to Storage Location 4. Can a way be added to select all those parts and move them?
Beta Was this translation helpful? Give feedback.
All reactions