[open-ils-commits] r8732 - branches/acq-experiment/Open-ILS/examples
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 12 12:57:09 EST 2008
Author: erickson
Date: 2008-02-12 12:27:50 -0500 (Tue, 12 Feb 2008)
New Revision: 8732
Modified:
branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
Log:
added virtual links for funding_source credit/allocation and fund allocation/debit
Modified: branches/acq-experiment/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-02-12 16:13:11 UTC (rev 8731)
+++ branches/acq-experiment/Open-ILS/examples/fm_IDL.xml 2008-02-12 17:27:50 UTC (rev 8732)
@@ -2382,10 +2382,14 @@
<field reporter:label="Currency" name="currency_type" oils_obj:array_position="6" oils_persist:virtual="false" oils_persist:primitive="string" reporter:datatype="link" />
<field name="summary" oils_obj:array_position="7" oils_persist:virtual="true"/>
+ <field reporter:label="Allocations" name="allocations" oils_obj:array_position="8" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Credits" name="credits" oils_obj:array_position="9" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
<link field="owner" reltype="has_a" key="id" map="" class="aou"/>
+ <link field="allocations" reltype="has_many" key="funding_source" class="acqfa"/>
+ <link field="credits" reltype="has_many" key="funding_source" class="acqfscred"/>
</links>
<permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
<actions>
@@ -2441,10 +2445,14 @@
<field reporter:label="Year" name="year" oils_obj:array_position="6" oils_persist:virtual="false" reporter:datatype="int" />
<field reporter:label="Currency Type" name="currency_type" oils_obj:array_position="7" oils_persist:virtual="false" reporter:datatype="text" />
<field name="summary" oils_obj:array_position="8" oils_persist:virtual="true"/>
+ <field reporter:label="Allocations" name="allocations" oils_obj:array_position="9" oils_persist:virtual="true" reporter:datatype="link"/>
+ <field reporter:label="Debits" name="debits" oils_obj:array_position="10" oils_persist:virtual="true" reporter:datatype="link"/>
</fields>
<links>
<link field="org" reltype="has_a" key="id" map="" class="aou"/>
<link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
+ <link field="allocations" reltype="has_many" key="fund" class="acqfa"/>
+ <link field="debits" reltype="has_many" key="fund" class="acqfdeb"/>
</links>
</class>
More information about the open-ils-commits
mailing list