[open-ils-commits] r12626 - trunk/Open-ILS/examples (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 20 10:36:04 EDT 2009
Author: scottmk
Date: 2009-03-20 10:36:01 -0400 (Fri, 20 Mar 2009)
New Revision: 12626
Modified:
trunk/Open-ILS/examples/fm_IDL.xml
Log:
Add classes "acqdf" and "acqdfe".
Modified: trunk/Open-ILS/examples/fm_IDL.xml
===================================================================
--- trunk/Open-ILS/examples/fm_IDL.xml 2009-03-20 14:28:14 UTC (rev 12625)
+++ trunk/Open-ILS/examples/fm_IDL.xml 2009-03-20 14:36:01 UTC (rev 12626)
@@ -2342,7 +2342,7 @@
<link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
<link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
<link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
- <link field="copy_location" reltype="has_a" key="id" map="" class="acl"/>
+ <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
<link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
@@ -2409,7 +2409,7 @@
<link field="billing_total" reltype="might_have" key="xact" map="" class="rxbt"/>
<link field="payment_total" reltype="might_have" key="xact" map="" class="rxpt"/>
<link field="copy_call_number" reltype="has_a" key="id" map="" class="acn"/>
- <link field="copy_location" reltype="has_a" key="id" map="" class="acl"/>
+ <link field="copy_location" reltype="has_a" key="id" map="" class="acpl"/>
<link field="copy_owning_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="copy_circ_lib" reltype="has_a" key="id" map="" class="aou"/>
<link field="copy_bib_record" reltype="has_a" key="id" map="" class="bre"/>
@@ -2523,6 +2523,7 @@
</fields>
<links>
<link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="distribution_formula_entries" reltype="has_many" key="location" map="" class="acqdfe"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
@@ -2835,6 +2836,8 @@
<link field="addresses" reltype="has_many" key="org_unit" map="" class="aoa"/>
<link field="checkins" reltype="has_many" key="checkin_lib" map="" class="circ"/>
<link field="workstations" reltype="has_many" key="owning_lib" map="" class="aws"/>
+ <link field="distribution_formulas" reltype="has_many" key="owner" map="" class="acqdf"/>
+ <link field="distribution_formula_entries" reltype="has_many" key="owning_lib" map="" class="acqdfe"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
@@ -5426,6 +5429,40 @@
<link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
</links>
</class>
+ <class id="acqdf" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula" oils_persist:tablename="acq.distribution_formula">
+ <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="Formula ID" name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id"/>
+ <field reporter:label="Formula Owner" name="owner" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="org_unit"/>
+ <field reporter:label="Formula Name" name="name" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="text"/>
+ <field reporter:label="Skip Count" name="skip_count" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="int"/>
+ <field reporter:label="Entries" name="entries" oils_obj:array_position="7" oils_persist:virtual="true" reporter:datatype="link"/>
+ </fields>
+ <links>
+ <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="entries" reltype="has_many" key="formula" map="" class="acqdfe"/>
+ </links>
+ </class>
+ <class id="acqdfe" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="acq::distribution_formula_entry" oils_persist:tablename="acq.distribution_formula_entry">
+ <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="Entry ID" name="id" oils_obj:array_position="3" oils_persist:virtual="false" reporter:datatype="id"/>
+ <field reporter:label="Formula ID" name="formula" oils_obj:array_position="4" oils_persist:virtual="false" reporter:datatype="link"/>
+ <field reporter:label="Position" name="position" oils_obj:array_position="5" oils_persist:virtual="false" reporter:datatype="int"/>
+ <field reporter:label="Item Count" name="item_count" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="int"/>
+ <field reporter:label="Owning Library" name="owning_lib" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="org_unit"/>
+ <field reporter:label="Location" name="location" oils_obj:array_position="8" oils_persist:virtual="false" reporter:datatype="link"/>
+ </fields>
+ <links>
+ <link field="formula" reltype="has_a" key="id" map="" class="acqdf"/>
+ <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
+ </links>
+ </class>
<!-- ********************************************************************************************************************* -->
More information about the open-ils-commits
mailing list