Closed samalloing closed 10 years ago
Voorstel voor dit rapport (in objects.xml toe te voegen (in app/plugins/statisticsViewer/xml/SqlRequests) (ik veronderstel dat deze vraag niet op de ZM van toepassing is)
<statistics_group>
<title>Object Relationships</title>
<statistic>
<id>7</id>
<title>Objects without collection</title>
<comment></comment>
<sql>SELECT obj.object_id as "Object id", idno as "Idno", name as "Object naam" FROM ca_objects obj
INNER JOIN ca_object_labels AS lab ON obj.object_id = lab.object_id AND lab.is_preferred = 1
WHERE obj.deleted = 0
AND UPPER(idno) NOT LIKE 'ZM_%'
AND obj.object_id NOT IN (SELECT object_id FROM ca_objects_x_collections)
</sql>
<columns>Object id, Idno, Object naam</columns>
<total_columns></total_columns>
<charting>column</charting>
<charting_columns>Object id, Idno, Object naam</charting_columns>
</statistic>
</statistics_group>
ok
Een rapport maken voor de StatisticsViewer met objecten zonder een collectie aan. Er moet minstens een lijst getoond worden van alle object_ids en de idnos.
cc @roxannewyns