Hello,
We are trying to send some data for our physical objects to our high density storage system. The problem I am having is finding the accession records that have physical objects.
I started with the slug from the physical object record
mysql> select * from slug where slug = 'box-1-a83412035813';
+-----------+--------------------+--------+---------------+
| object_id | slug | id | serial_number |
+-----------+--------------------+--------+---------------+
| 129271 | box-1-a83412035813 | 150841 | 0 |
+-----------+--------------------+--------+---------------+
1 row in set (0.00 sec)
Used that to find the physical object record
mysql> select * from physical_object_i18n where name like '%A83412154332%';
+---------------------+-------------+----------+--------+---------+
| name | description | location | id | culture |
+---------------------+-------------+----------+--------+---------+
| Box 1, A83412154332 | NULL | Annex | 129271 | en |
+---------------------+-------------+----------+--------+---------+
1 row in set (0.03 sec)
and can find the same record in the object table
mysql> select * from object where id = '129271';
+---------------------+---------------------+---------------------+--------+---------------+
| class_name | created_at | updated_at | id | serial_number |
+---------------------+---------------------+---------------------+--------+---------------+
| QubitPhysicalObject | 2022-01-31 10:57:11 | 2022-08-31 15:01:50 | 129271 | 0 |
+---------------------+---------------------+---------------------+--------+---------------+
1 row in set (0.00 sec)
However, I can't find a relation that gets me to the accession record
mysql> select * from accession_i18n WHERE title LIKE 'Papers'\G;
*************************** 1. row ***************************
appraisal: 18
archival_history: NULL
location_information: Pre-fire 2018: 1 Box, 1.25 Cubic Feet; Stack G:R5/S19/Sf5
physical_characteristics: 3 notebks
processing_notes: 18
received_extent_units: NULL
scope_and_content: Reprints of publications
source_of_acquisition: data
title: Papers
id: 3553
culture: en
1 row in set (0.00 sec)
I'm sure I am missing a simple relation somewhere, but I just can't seem to find it.
Thanks!
Tom