[open-ils-commits] r11517 - branches/rel_1_2/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 11 11:06:35 EST 2008


Author: miker
Date: 2008-12-11 11:06:33 -0500 (Thu, 11 Dec 2008)
New Revision: 11517

Modified:
   branches/rel_1_2/Open-ILS/examples/fm_IDL.xml
Log:
add OCLC "bibs with new/deleted holdings" reporting source (IDL addition)

Modified: branches/rel_1_2/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/rel_1_2/Open-ILS/examples/fm_IDL.xml	2008-12-11 16:05:34 UTC (rev 11516)
+++ branches/rel_1_2/Open-ILS/examples/fm_IDL.xml	2008-12-11 16:06:33 UTC (rev 11517)
@@ -2533,6 +2533,24 @@
         </links>
     </class>
 
+    <class id="ergbhu"
+           controller="open-ils.reporter-store"
+           oils_obj:fieldmapper="extend_reporter::global_bibs_by_holding_update"
+           oils_persist:tablename="extend_reporter.global_bibs_by_holding_update"
+           reporter:label="Bib IDs by Holding Add/Delete Time (OCLC batch update)">
+        <fields oils_persist:primary="id">
+            <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
+            <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
+            <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
+            <field reporter:label="Bib ID" name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id" />
+            <field reporter:label="Update Time" name="holding_update" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="timestamp" />
+            <field reporter:label="Update Type" name="update_type" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text" />
+        </fields>
+        <links>
+            <link field="id" reltype="has_a" key="id" map="" class="bre"/>
+        </links>
+    </class>
+
 	<!-- ********************************************************************************************************************* -->
 	<!-- What follows is a set of example extensions that are useful for PINES.  Comment out or remove if you don't want them. -->
 	<!-- ********************************************************************************************************************* -->



More information about the open-ils-commits mailing list