[open-ils-commits] r9826 - branches/rel_1_2_2/Open-ILS/examples

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jun 13 09:31:12 EDT 2008


Author: miker
Date: 2008-06-13 09:31:10 -0400 (Fri, 13 Jun 2008)
New Revision: 9826

Modified:
   branches/rel_1_2_2/Open-ILS/examples/fm_IDL.xml
Log:
codification of a new namespace for customizations to the reporter schema, with an example

Modified: branches/rel_1_2_2/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/rel_1_2_2/Open-ILS/examples/fm_IDL.xml	2008-06-13 13:30:48 UTC (rev 9825)
+++ branches/rel_1_2_2/Open-ILS/examples/fm_IDL.xml	2008-06-13 13:31:10 UTC (rev 9826)
@@ -2515,6 +2515,18 @@
 			<link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
 		</links>
 	</class>
+    <class id="erfcc" controller="open-ils.reporter-store" oils_obj:fieldmapper="extend_reporter::full_circ_count" oils_persist:tablename="extend_reporter.full_circ_count" reporter:label="Total Circulation Count, Including Legacy">
+        <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="Copy ID" name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="int" />
+            <field reporter:label="Total Circulation Count" name="circ_count" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="int" />
+        </fields>
+        <links>
+            <link field="id" reltype="has_a" key="id" map="" class="acp"/>
+        </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